Interface S3ObjectMetadata.Builder

  • Method Details

    • cacheControl

      S3ObjectMetadata.Builder cacheControl(String cacheControl)

      Parameters:
      cacheControl -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentDisposition

      S3ObjectMetadata.Builder contentDisposition(String contentDisposition)

      Parameters:
      contentDisposition -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentEncoding

      S3ObjectMetadata.Builder contentEncoding(String contentEncoding)

      Parameters:
      contentEncoding -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLanguage

      S3ObjectMetadata.Builder contentLanguage(String contentLanguage)

      Parameters:
      contentLanguage -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userMetadata

      S3ObjectMetadata.Builder userMetadata(Map<String,String> userMetadata)

      Parameters:
      userMetadata -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLength

      S3ObjectMetadata.Builder contentLength(Long contentLength)

      This member has been deprecated.

      Parameters:
      contentLength - This member has been deprecated.

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

      S3ObjectMetadata.Builder contentMD5(String contentMD5)

      This member has been deprecated.

      Parameters:
      contentMD5 - This member has been deprecated.

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

      S3ObjectMetadata.Builder contentType(String contentType)

      Parameters:
      contentType -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpExpiresDate

      S3ObjectMetadata.Builder httpExpiresDate(Instant httpExpiresDate)

      Parameters:
      httpExpiresDate -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requesterCharged

      S3ObjectMetadata.Builder requesterCharged(Boolean requesterCharged)

      This member has been deprecated.

      Parameters:
      requesterCharged - This member has been deprecated.

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

      S3ObjectMetadata.Builder sseAlgorithm(String sseAlgorithm)

      The server-side encryption algorithm used when storing objects in Amazon S3.

      Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (KMS). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.

      Parameters:
      sseAlgorithm - The server-side encryption algorithm used when storing objects in Amazon S3.

      Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) ( AES256) and server-side encryption with KMS keys (SSE-KMS) (KMS). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.

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

      S3ObjectMetadata.Builder sseAlgorithm(S3SSEAlgorithm sseAlgorithm)

      The server-side encryption algorithm used when storing objects in Amazon S3.

      Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (KMS). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.

      Parameters:
      sseAlgorithm - The server-side encryption algorithm used when storing objects in Amazon S3.

      Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) ( AES256) and server-side encryption with KMS keys (SSE-KMS) (KMS). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.

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