Interface CompleteMultipartUploadResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>, S3Response.Builder, SdkBuilder<CompleteMultipartUploadResponse.Builder,CompleteMultipartUploadResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CompleteMultipartUploadResponse

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

    • location

      The URI that identifies the newly created object.

      Parameters:
      location - The URI that identifies the newly created object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucket

      The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.

      When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

      When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.

      Parameters:
      bucket - The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.

      When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.

      When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com . When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see What is S3 on Outposts? in the Amazon S3 User Guide.

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

      The object key of the newly created object.

      Parameters:
      key - The object key of the newly created object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL-encoded.

      Parameters:
      expiration - If the object expiration is configured, this will contain the expiration date ( expiry-date) and rule ID (rule-id). The value of rule-id is URL-encoded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eTag

      Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      eTag - Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumCRC32

      CompleteMultipartUploadResponse.Builder checksumCRC32(String checksumCRC32)

      The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumCRC32C

      CompleteMultipartUploadResponse.Builder checksumCRC32C(String checksumCRC32C)

      The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumSHA1

      CompleteMultipartUploadResponse.Builder checksumSHA1(String checksumSHA1)

      The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumSHA256

      CompleteMultipartUploadResponse.Builder checksumSHA256(String checksumSHA256)

      The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverSideEncryption

      CompleteMultipartUploadResponse.Builder serverSideEncryption(String serverSideEncryption)

      The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).

      Parameters:
      serverSideEncryption - The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverSideEncryption

      CompleteMultipartUploadResponse.Builder serverSideEncryption(ServerSideEncryption serverSideEncryption)

      The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).

      Parameters:
      serverSideEncryption - The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256, aws:kms).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • versionId

      Version ID of the newly created object, in case the bucket has versioning turned on.

      Parameters:
      versionId - Version ID of the newly created object, in case the bucket has versioning turned on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ssekmsKeyId

      If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.

      Parameters:
      ssekmsKeyId - If present, specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketKeyEnabled

      CompleteMultipartUploadResponse.Builder bucketKeyEnabled(Boolean bucketKeyEnabled)

      Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

      Parameters:
      bucketKeyEnabled - Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestCharged

      CompleteMultipartUploadResponse.Builder requestCharged(String requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: