Interface ListPartsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>,GlacierResponse.Builder,SdkBuilder<ListPartsResponse.Builder,ListPartsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPartsResponse
public static interface ListPartsResponse.Builder extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<ListPartsResponse.Builder,ListPartsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPartsResponse.BuilderarchiveDescription(String archiveDescription)The description of the archive that was specified in the Initiate Multipart Upload request.ListPartsResponse.BuildercreationDate(String creationDate)The UTC time at which the multipart upload was initiated.ListPartsResponse.Buildermarker(String marker)An opaque string that represents where to continue pagination of the results.ListPartsResponse.BuildermultipartUploadId(String multipartUploadId)The ID of the upload to which the parts are associated.ListPartsResponse.Builderparts(Collection<PartListElement> parts)A list of the part sizes of the multipart upload.ListPartsResponse.Builderparts(Consumer<PartListElement.Builder>... parts)A list of the part sizes of the multipart upload.ListPartsResponse.Builderparts(PartListElement... parts)A list of the part sizes of the multipart upload.ListPartsResponse.BuilderpartSizeInBytes(Long partSizeInBytes)The part size in bytes.ListPartsResponse.BuildervaultARN(String vaultARN)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 Detail
-
multipartUploadId
ListPartsResponse.Builder multipartUploadId(String 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
ListPartsResponse.Builder vaultARN(String 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
ListPartsResponse.Builder archiveDescription(String 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
ListPartsResponse.Builder partSizeInBytes(Long 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
ListPartsResponse.Builder creationDate(String 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
ListPartsResponse.Builder parts(Collection<PartListElement> parts)
A list of the part sizes of the multipart upload. Each object in the array contains a
RangeBytesandsha256-tree-hashname/value pair.- Parameters:
parts- A list of the part sizes of the multipart upload. Each object in the array contains aRangeBytesandsha256-tree-hashname/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
ListPartsResponse.Builder parts(PartListElement... parts)
A list of the part sizes of the multipart upload. Each object in the array contains a
RangeBytesandsha256-tree-hashname/value pair.- Parameters:
parts- A list of the part sizes of the multipart upload. Each object in the array contains aRangeBytesandsha256-tree-hashname/value pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parts
ListPartsResponse.Builder parts(Consumer<PartListElement.Builder>... 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 theRangeBytesandsha256-tree-hashname/value pair.PartListElement.Builderavoiding the need to create one manually viaPartListElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parts(List.) - 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:
#parts(java.util.Collection)
-
marker
ListPartsResponse.Builder marker(String 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.
-
-