Interface DefaultServerSideEncryption.Builder

  • Method Details

    • encryptionType

      DefaultServerSideEncryption.Builder encryptionType(String encryptionType)

      The type of encryption used for objects within the S3 bucket.

      Parameters:
      encryptionType - The type of encryption used for objects within the S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsMasterKeyArn

      DefaultServerSideEncryption.Builder kmsMasterKeyArn(String kmsMasterKeyArn)

      The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.

      Parameters:
      kmsMasterKeyArn - The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket EncryptionType is aws:kms.
      Returns:
      Returns a reference to this object so that method calls can be chained together.