Interface ListPartsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPartsResponse.Builder,
,ListPartsResponse> GlacierResponse.Builder
,SdkBuilder<ListPartsResponse.Builder,
,ListPartsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPartsResponse
-
Method Summary
Modifier and TypeMethodDescriptionarchiveDescription
(String archiveDescription) The description of the archive that was specified in the Initiate Multipart Upload request.creationDate
(String creationDate) The UTC time at which the multipart upload was initiated.An opaque string that represents where to continue pagination of the results.multipartUploadId
(String multipartUploadId) The ID of the upload to which the parts are associated.parts
(Collection<PartListElement> parts) A list of the part sizes of the multipart upload.parts
(Consumer<PartListElement.Builder>... parts) A list of the part sizes of the multipart upload.parts
(PartListElement... parts) A list of the part sizes of the multipart upload.partSizeInBytes
(Long partSizeInBytes) The part size in bytes.The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
multipartUploadId
The ID of the upload to which the parts are associated.
- Parameters:
multipartUploadId
- The ID of the upload to which the parts are associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultARN
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
- Parameters:
vaultARN
- The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveDescription
The description of the archive that was specified in the Initiate Multipart Upload request.
- Parameters:
archiveDescription
- The description of the archive that was specified in the Initiate Multipart Upload request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partSizeInBytes
The part size in bytes. This is the same value that you specified in the Initiate Multipart Upload request.
- Parameters:
partSizeInBytes
- The part size in bytes. This is the same value that you specified in the Initiate Multipart Upload request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The UTC time at which the multipart upload was initiated.
- Parameters:
creationDate
- The UTC time at which the multipart upload was initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A list of the part sizes of the multipart upload. Each object in the array contains a
RangeBytes
andsha256-tree-hash
name/value pair.- Parameters:
parts
- A list of the part sizes of the multipart upload. Each object in the array contains aRangeBytes
andsha256-tree-hash
name/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A list of the part sizes of the multipart upload. Each object in the array contains a
RangeBytes
andsha256-tree-hash
name/value pair.- Parameters:
parts
- A list of the part sizes of the multipart upload. Each object in the array contains aRangeBytes
andsha256-tree-hash
name/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
A list of the part sizes of the multipart upload. Each object in the array contains a
This is a convenience method that creates an instance of theRangeBytes
andsha256-tree-hash
name/value pair.PartListElement.Builder
avoiding the need to create one manually viaPartListElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparts(List<PartListElement>)
.- Parameters:
parts
- a consumer that will call methods onPartListElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is
null
.- Parameters:
marker
- An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value isnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-