Package com.adobe.testing.s3mock.dto
Record Class ListMultipartUploadsResult
java.lang.Object
java.lang.Record
com.adobe.testing.s3mock.dto.ListMultipartUploadsResult
public record ListMultipartUploadsResult(String bucket, String keyMarker, String delimiter, String prefix, String uploadIdMarker, int maxUploads, boolean isTruncated, String nextKeyMarker, String nextUploadIdMarker, List<MultipartUpload> multipartUploads, List<Prefix> commonPrefixes)
extends Record
List Multipart Uploads result.
API Reference
-
Constructor Summary
ConstructorsConstructorDescriptionListMultipartUploadsResult(String bucket, String keyMarker, String delimiter, String prefix, String uploadIdMarker, int maxUploads, boolean isTruncated, String nextKeyMarker, String nextUploadIdMarker, List<MultipartUpload> multipartUploads, List<Prefix> commonPrefixes) Creates an instance of aListMultipartUploadsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbucket()Returns the value of thebucketrecord component.Returns the value of thecommonPrefixesrecord component.Returns the value of thedelimiterrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisTruncatedrecord component.Returns the value of thekeyMarkerrecord component.intReturns the value of themaxUploadsrecord component.Returns the value of themultipartUploadsrecord component.Returns the value of thenextKeyMarkerrecord component.Returns the value of thenextUploadIdMarkerrecord component.prefix()Returns the value of theprefixrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuploadIdMarkerrecord component.
-
Constructor Details
-
ListMultipartUploadsResult
public ListMultipartUploadsResult(String bucket, String keyMarker, String delimiter, String prefix, String uploadIdMarker, int maxUploads, boolean isTruncated, String nextKeyMarker, String nextUploadIdMarker, List<MultipartUpload> multipartUploads, List<Prefix> commonPrefixes) Creates an instance of aListMultipartUploadsResultrecord class.- Parameters:
bucket- the value for thebucketrecord componentkeyMarker- the value for thekeyMarkerrecord componentdelimiter- the value for thedelimiterrecord componentprefix- the value for theprefixrecord componentuploadIdMarker- the value for theuploadIdMarkerrecord componentmaxUploads- the value for themaxUploadsrecord componentisTruncated- the value for theisTruncatedrecord componentnextKeyMarker- the value for thenextKeyMarkerrecord componentnextUploadIdMarker- the value for thenextUploadIdMarkerrecord componentmultipartUploads- the value for themultipartUploadsrecord componentcommonPrefixes- the value for thecommonPrefixesrecord component
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
bucket
Returns the value of thebucketrecord component.- Returns:
- the value of the
bucketrecord component
-
keyMarker
Returns the value of thekeyMarkerrecord component.- Returns:
- the value of the
keyMarkerrecord component
-
delimiter
Returns the value of thedelimiterrecord component.- Returns:
- the value of the
delimiterrecord component
-
prefix
Returns the value of theprefixrecord component.- Returns:
- the value of the
prefixrecord component
-
uploadIdMarker
Returns the value of theuploadIdMarkerrecord component.- Returns:
- the value of the
uploadIdMarkerrecord component
-
maxUploads
public int maxUploads()Returns the value of themaxUploadsrecord component.- Returns:
- the value of the
maxUploadsrecord component
-
isTruncated
public boolean isTruncated()Returns the value of theisTruncatedrecord component.- Returns:
- the value of the
isTruncatedrecord component
-
nextKeyMarker
Returns the value of thenextKeyMarkerrecord component.- Returns:
- the value of the
nextKeyMarkerrecord component
-
nextUploadIdMarker
Returns the value of thenextUploadIdMarkerrecord component.- Returns:
- the value of the
nextUploadIdMarkerrecord component
-
multipartUploads
Returns the value of themultipartUploadsrecord component.- Returns:
- the value of the
multipartUploadsrecord component
-
commonPrefixes
Returns the value of thecommonPrefixesrecord component.- Returns:
- the value of the
commonPrefixesrecord component
-