Interface CompleteMultipartUploadResponse.Builder

    • Method Detail

      • location

        CompleteMultipartUploadResponse.Builder location​(String 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

        CompleteMultipartUploadResponse.Builder bucket​(String 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.

        Access points are not supported by directory buckets.

        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.

        Access points are not supported by directory buckets.

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

        CompleteMultipartUploadResponse.Builder key​(String 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

        CompleteMultipartUploadResponse.Builder expiration​(String 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.

        This functionality is not supported for directory buckets.

        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.

        This functionality is not supported for directory buckets.

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

        CompleteMultipartUploadResponse.Builder eTag​(String 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. 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).

        For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) is supported.

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

        For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) ( AES256) is supported.

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

        CompleteMultipartUploadResponse.Builder serverSideEncryption​(ServerSideEncryption serverSideEncryption)

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

        For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) is supported.

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

        For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) ( AES256) is supported.

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

        CompleteMultipartUploadResponse.Builder versionId​(String versionId)

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

        This functionality is not supported for directory buckets.

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

        This functionality is not supported for directory buckets.

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

        CompleteMultipartUploadResponse.Builder ssekmsKeyId​(String ssekmsKeyId)

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

        This functionality is not supported for directory buckets.

        Parameters:
        ssekmsKeyId - If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.

        This functionality is not supported for directory buckets.

        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).

        This functionality is not supported for directory buckets.

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

        This functionality is not supported for directory buckets.

        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, RequestCharged