Interface MultipartUpload.Builder

All Superinterfaces:
Buildable, CopyableBuilder<MultipartUpload.Builder,MultipartUpload>, SdkBuilder<MultipartUpload.Builder,MultipartUpload>, SdkPojo
Enclosing class:
MultipartUpload

public static interface MultipartUpload.Builder extends SdkPojo, CopyableBuilder<MultipartUpload.Builder,MultipartUpload>
  • Method Details

    • uploadId

      MultipartUpload.Builder uploadId(String uploadId)

      Upload ID that identifies the multipart upload.

      Parameters:
      uploadId - Upload ID that identifies the multipart upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • key

      Key of the object for which the multipart upload was initiated.

      Parameters:
      key - Key of the object for which the multipart upload was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initiated

      MultipartUpload.Builder initiated(Instant initiated)

      Date and time at which the multipart upload was initiated.

      Parameters:
      initiated - Date and time at which the multipart upload was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClass

      MultipartUpload.Builder storageClass(String storageClass)

      The class of storage used to store the object.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      Parameters:
      storageClass - The class of storage used to store the object.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageClass

      MultipartUpload.Builder storageClass(StorageClass storageClass)

      The class of storage used to store the object.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      Parameters:
      storageClass - The class of storage used to store the object.

      Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • owner

      Specifies the owner of the object that is part of the multipart upload.

      Directory buckets - The bucket owner is returned as the object owner for all the objects.

      Parameters:
      owner - Specifies the owner of the object that is part of the multipart upload.

      Directory buckets - The bucket owner is returned as the object owner for all the objects.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owner

      Specifies the owner of the object that is part of the multipart upload.

      Directory buckets - The bucket owner is returned as the object owner for all the objects.

      This is a convenience method that creates an instance of the 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).

      Parameters:
      owner - a consumer that will call methods on Owner.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • initiator

      MultipartUpload.Builder initiator(Initiator initiator)

      Identifies who initiated the multipart upload.

      Parameters:
      initiator - Identifies who initiated the multipart upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • initiator

      default MultipartUpload.Builder initiator(Consumer<Initiator.Builder> initiator)

      Identifies who initiated the multipart upload.

      This is a convenience method that creates an instance of the Initiator.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).

      Parameters:
      initiator - a consumer that will call methods on Initiator.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      MultipartUpload.Builder checksumAlgorithm(String checksumAlgorithm)

      The algorithm that was used to create a checksum of the object.

      Parameters:
      checksumAlgorithm - The algorithm that was used to create a checksum of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumAlgorithm

      MultipartUpload.Builder checksumAlgorithm(ChecksumAlgorithm checksumAlgorithm)

      The algorithm that was used to create a checksum of the object.

      Parameters:
      checksumAlgorithm - The algorithm that was used to create a checksum of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: