public static interface ListPartsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>
Modifier and Type | Method and Description |
---|---|
ListPartsResponse.Builder |
abortDate(Instant abortDate)
Date when multipart upload will become eligible for abort operation by lifecycle.
|
ListPartsResponse.Builder |
abortRuleId(String abortRuleId)
Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
|
ListPartsResponse.Builder |
bucket(String bucket)
Name of the bucket to which the multipart upload was initiated.
|
default ListPartsResponse.Builder |
initiator(Consumer<Initiator.Builder> initiator)
Identifies who initiated the multipart upload.
|
ListPartsResponse.Builder |
initiator(Initiator initiator)
Identifies who initiated the multipart upload.
|
ListPartsResponse.Builder |
isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated.
|
ListPartsResponse.Builder |
key(String key)
Object key for which the multipart upload was initiated.
|
ListPartsResponse.Builder |
maxParts(Integer maxParts)
Maximum number of parts that were allowed in the response.
|
ListPartsResponse.Builder |
nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for
the part-number-marker request parameter in a subsequent request.
|
default ListPartsResponse.Builder |
owner(Consumer<Owner.Builder> owner)
This is a convenience that creates an instance of the
Owner.Builder avoiding the need to create one
manually via Owner.builder() . |
ListPartsResponse.Builder |
owner(Owner owner)
|
ListPartsResponse.Builder |
partNumberMarker(Integer partNumberMarker)
Part number after which listing begins.
|
ListPartsResponse.Builder |
parts(Collection<Part> parts)
|
ListPartsResponse.Builder |
parts(Consumer<Part.Builder>... parts)
This is a convenience that creates an instance of the
List avoiding the need to create
one manually via List . |
ListPartsResponse.Builder |
parts(Part... parts)
|
ListPartsResponse.Builder |
requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
ListPartsResponse.Builder |
requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
ListPartsResponse.Builder |
storageClass(StorageClass storageClass)
The class of storage used to store the object.
|
ListPartsResponse.Builder |
storageClass(String storageClass)
The class of storage used to store the object.
|
ListPartsResponse.Builder |
uploadId(String uploadId)
Upload ID identifying the multipart upload whose parts are being listed.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListPartsResponse.Builder abortDate(Instant abortDate)
Date when multipart upload will become eligible for abort operation by lifecycle.
abortDate
- Date when multipart upload will become eligible for abort operation by lifecycle.ListPartsResponse.Builder abortRuleId(String abortRuleId)
Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
abortRuleId
- Id of the lifecycle rule that makes a multipart upload eligible for abort operation.ListPartsResponse.Builder bucket(String bucket)
Name of the bucket to which the multipart upload was initiated.
bucket
- Name of the bucket to which the multipart upload was initiated.ListPartsResponse.Builder key(String key)
Object key for which the multipart upload was initiated.
key
- Object key for which the multipart upload was initiated.ListPartsResponse.Builder uploadId(String uploadId)
Upload ID identifying the multipart upload whose parts are being listed.
uploadId
- Upload ID identifying the multipart upload whose parts are being listed.ListPartsResponse.Builder partNumberMarker(Integer partNumberMarker)
Part number after which listing begins.
partNumberMarker
- Part number after which listing begins.ListPartsResponse.Builder nextPartNumberMarker(Integer nextPartNumberMarker)
When a list is truncated, this element specifies the last part in the list, as well as the value to use for the part-number-marker request parameter in a subsequent request.
nextPartNumberMarker
- When a list is truncated, this element specifies the last part in the list, as well as the value to
use for the part-number-marker request parameter in a subsequent request.ListPartsResponse.Builder maxParts(Integer maxParts)
Maximum number of parts that were allowed in the response.
maxParts
- Maximum number of parts that were allowed in the response.ListPartsResponse.Builder isTruncated(Boolean isTruncated)
Indicates whether the returned list of parts is truncated.
isTruncated
- Indicates whether the returned list of parts is truncated.ListPartsResponse.Builder parts(Collection<Part> parts)
parts
- ListPartsResponse.Builder parts(Part... parts)
parts
- ListPartsResponse.Builder parts(Consumer<Part.Builder>... parts)
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #parts(List)
.parts
- a consumer that will call methods on List.Builder
#parts(List)
ListPartsResponse.Builder initiator(Initiator initiator)
Identifies who initiated the multipart upload.
initiator
- Identifies who initiated the multipart upload.default ListPartsResponse.Builder initiator(Consumer<Initiator.Builder> initiator)
Identifies who initiated the multipart upload.
This is a convenience that creates an instance of theInitiator.Builder
avoiding the need to create
one manually via Initiator.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to initiator(Initiator)
.initiator
- a consumer that will call methods on Initiator.Builder
initiator(Initiator)
ListPartsResponse.Builder owner(Owner owner)
owner
- default ListPartsResponse.Builder owner(Consumer<Owner.Builder> owner)
Owner.Builder
avoiding the need to create one
manually via Owner.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to owner(Owner)
.owner
- a consumer that will call methods on Owner.Builder
owner(Owner)
ListPartsResponse.Builder storageClass(String storageClass)
The class of storage used to store the object.
storageClass
- The class of storage used to store the object.StorageClass
,
StorageClass
ListPartsResponse.Builder storageClass(StorageClass storageClass)
The class of storage used to store the object.
storageClass
- The class of storage used to store the object.StorageClass
,
StorageClass
ListPartsResponse.Builder requestCharged(String requestCharged)
requestCharged
- The new value for the RequestCharged property for this object.RequestCharged
,
RequestCharged
ListPartsResponse.Builder requestCharged(RequestCharged requestCharged)
requestCharged
- The new value for the RequestCharged property for this object.RequestCharged
,
RequestCharged
Copyright © 2019. All rights reserved.