Package com.adobe.testing.s3mock.dto
Record Class CompleteMultipartUploadResult
java.lang.Object
java.lang.Record
com.adobe.testing.s3mock.dto.CompleteMultipartUploadResult
public record CompleteMultipartUploadResult(String location, String bucket, String key, String etag, String xmlns, MultipartUploadInfo multipartUploadInfo, String checksum)
extends Record
Result to be returned when completing a multipart request.
API Reference
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteMultipartUploadResult(String location, String bucket, String key, String etag, MultipartUploadInfo multipartUploadInfo, String checksum) CompleteMultipartUploadResult(String location, String bucket, String key, String etag, String xmlns, MultipartUploadInfo multipartUploadInfo, String checksum) Creates an instance of aCompleteMultipartUploadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the value of thebucketrecord component.checksum()Returns the value of thechecksumrecord component.final booleanIndicates whether some other object is "equal to" this one.etag()Returns the value of theetagrecord component.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.location()Returns the value of thelocationrecord component.Returns the value of themultipartUploadInforecord component.final StringtoString()Returns a string representation of this record class.xmlns()Returns the value of thexmlnsrecord component.
-
Constructor Details
-
CompleteMultipartUploadResult
public CompleteMultipartUploadResult(String location, String bucket, String key, String etag, String xmlns, MultipartUploadInfo multipartUploadInfo, String checksum) Creates an instance of aCompleteMultipartUploadResultrecord class.- Parameters:
location- the value for thelocationrecord componentbucket- the value for thebucketrecord componentkey- the value for thekeyrecord componentetag- the value for theetagrecord componentxmlns- the value for thexmlnsrecord componentmultipartUploadInfo- the value for themultipartUploadInforecord componentchecksum- the value for thechecksumrecord component
-
CompleteMultipartUploadResult
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
bucket
Returns the value of thebucketrecord component.- Returns:
- the value of the
bucketrecord component
-
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
etag
Returns the value of theetagrecord component.- Returns:
- the value of the
etagrecord component
-
xmlns
Returns the value of thexmlnsrecord component.- Returns:
- the value of the
xmlnsrecord component
-
multipartUploadInfo
Returns the value of themultipartUploadInforecord component.- Returns:
- the value of the
multipartUploadInforecord component
-
checksum
Returns the value of thechecksumrecord component.- Returns:
- the value of the
checksumrecord component
-