Interface ServerSideEncryption.Builder

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

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

    • encryptionType

      ServerSideEncryption.Builder encryptionType(String encryptionType)

      The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

      Parameters:
      encryptionType - The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encryptionType

      ServerSideEncryption.Builder encryptionType(EncryptionType encryptionType)

      The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.

      Parameters:
      encryptionType - The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsMasterKeyId

      ServerSideEncryption.Builder kmsMasterKeyId(String kmsMasterKeyId)

      The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.

      Parameters:
      kmsMasterKeyId - The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.