Record Class CompleteMultipartUploadRequest
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.multipart.CompleteMultipartUploadRequest
- Record Components:
upload- the multipart upload handleparts- the ordered part manifest to complete
public record CompleteMultipartUploadRequest(@NonNull MultipartUploadHandle upload, @NonNull List<MultipartPart> parts)
extends Record
Multipart upload completion request.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteMultipartUploadRequest(@NonNull MultipartUploadHandle upload, @NonNull List<MultipartPart> parts) Compact constructor. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@NonNull List<MultipartPart> getParts()@NonNull MultipartUploadHandlefinal inthashCode()Returns a hash code value for this object.@NonNull List<MultipartPart> parts()Returns the value of thepartsrecord component.final StringtoString()Returns a string representation of this record class.@NonNull MultipartUploadHandleupload()Returns the value of theuploadrecord component.
-
Constructor Details
-
CompleteMultipartUploadRequest
public CompleteMultipartUploadRequest(@NonNull MultipartUploadHandle upload, @NonNull List<MultipartPart> parts) Compact constructor.
-
-
Method Details
-
getUpload
- Returns:
- the multipart upload handle
-
getParts
- Returns:
- the ordered part manifest
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
upload
-
parts
-