Record Class ListMultipartPartsResponse
java.lang.Object
java.lang.Record
io.micronaut.objectstorage.multipart.ListMultipartPartsResponse
- Record Components:
parts- the ordered multipart parts in the current pagecontinuationToken- the opaque continuation token for the next page
public record ListMultipartPartsResponse(@NonNull List<MultipartPart> parts, @Nullable String continuationToken)
extends Record
Paginated multipart part listing response.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionListMultipartPartsResponse(@NonNull List<MultipartPart> parts) ListMultipartPartsResponse(@NonNull List<MultipartPart> parts, @Nullable String continuationToken) Creates an instance of aListMultipartPartsResponserecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of thecontinuationTokenrecord component.final booleanIndicates whether some other object is "equal to" this one.@NonNull List<MultipartPart> getParts()final 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.
-
Constructor Details
-
ListMultipartPartsResponse
- Parameters:
parts- the ordered multipart parts in the current page
-
ListMultipartPartsResponse
public ListMultipartPartsResponse(@NonNull List<MultipartPart> parts, @Nullable String continuationToken) Creates an instance of aListMultipartPartsResponserecord class.- Parameters:
parts- the value for thepartsrecord componentcontinuationToken- the value for thecontinuationTokenrecord component
-
-
Method Details
-
getParts
- Returns:
- the ordered multipart parts in the current page
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
parts
-
continuationToken
Returns the value of thecontinuationTokenrecord component.- Returns:
- the value of the
continuationTokenrecord component
-