Record Class ListMultipartPartsRequest
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.multipart.ListMultipartPartsRequest
- Record Components:
upload- the multipart upload handlepageSize- the maximum number of parts to returncontinuationToken- the opaque continuation token for the next page
public record ListMultipartPartsRequest(@NonNull MultipartUploadHandle upload, int pageSize, @Nullable String continuationToken)
extends Record
Multipart part listing request.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionListMultipartPartsRequest(@NonNull MultipartUploadHandle upload, int pageSize) ListMultipartPartsRequest(@NonNull MultipartUploadHandle upload, int pageSize, @Nullable String continuationToken) Creates an instance of aListMultipartPartsRequestrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thecontinuationTokenrecord component.final booleanIndicates whether some other object is "equal to" this one.int@NonNull MultipartUploadHandlefinal inthashCode()Returns a hash code value for this object.intpageSize()Returns the value of thepageSizerecord component.final StringtoString()Returns a string representation of this record class.@NonNull MultipartUploadHandleupload()Returns the value of theuploadrecord component.
-
Constructor Details
-
ListMultipartPartsRequest
- Parameters:
upload- the multipart upload handlepageSize- the maximum number of parts to return
-
ListMultipartPartsRequest
public ListMultipartPartsRequest(@NonNull MultipartUploadHandle upload, int pageSize, @Nullable String continuationToken) Creates an instance of aListMultipartPartsRequestrecord class.- Parameters:
upload- the value for theuploadrecord componentpageSize- the value for thepageSizerecord componentcontinuationToken- the value for thecontinuationTokenrecord component
-
-
Method Details
-
getUpload
- Returns:
- the multipart upload handle
-
getPageSize
public int getPageSize()- Returns:
- the maximum number of parts to return
-
getContinuationToken
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
upload
-
pageSize
-
continuationToken
Returns the value of thecontinuationTokenrecord component.- Returns:
- the value of the
continuationTokenrecord component
-