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 Details

    • 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

      A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes and sha256-tree-hash name/value pair.

      Parameters:
      parts - A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes and sha256-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 and sha256-tree-hash name/value pair.

      Parameters:
      parts - A list of the part sizes of the multipart upload. Each object in the array contains a RangeBytes and sha256-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 and sha256-tree-hash name/value pair.

      This is a convenience method that creates an instance of the PartListElement.Builder avoiding the need to create one manually via PartListElement.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to parts(List<PartListElement>).

      Parameters:
      parts - a consumer that will call methods on PartListElement.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 is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.