public class ServerSideEncryptionByDefault extends Object
构造器和说明 |
---|
ServerSideEncryptionByDefault()
Creates a default instance.
|
ServerSideEncryptionByDefault(SSEAlgorithm sseAlgorithm)
Creates an instance.
|
ServerSideEncryptionByDefault(String sseAlgorithm)
Creates an instance.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getKMSMasterKeyID() |
String |
getSSEAlgorithm() |
void |
setKMSMasterKeyID(String kmsMasterKeyID)
Sets the KMS master key ID to use for the default encryption.
|
void |
setSSEAlgorithm(SSEAlgorithm sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
void |
setSSEAlgorithm(String sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
ServerSideEncryptionByDefault |
withKMSMasterKeyID(String kmsMasterKeyID)
Sets the KMS master key ID to use for the default encryption.
|
ServerSideEncryptionByDefault |
withSSEAlgorithm(SSEAlgorithm sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
ServerSideEncryptionByDefault |
withSSEAlgorithm(String sseAlgorithm)
Sets the server-side encryption algorithm to use for the default encryption.
|
public ServerSideEncryptionByDefault()
public ServerSideEncryptionByDefault(String sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public ServerSideEncryptionByDefault(SSEAlgorithm sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public String getSSEAlgorithm()
public void setSSEAlgorithm(String sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public void setSSEAlgorithm(SSEAlgorithm sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public ServerSideEncryptionByDefault withSSEAlgorithm(String sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public ServerSideEncryptionByDefault withSSEAlgorithm(SSEAlgorithm sseAlgorithm)
sseAlgorithm
- SSE algorithm to use.public String getKMSMasterKeyID()
public void setKMSMasterKeyID(String kmsMasterKeyID)
kmsMasterKeyID
- KMS key to use.public ServerSideEncryptionByDefault withKMSMasterKeyID(String kmsMasterKeyID)
kmsMasterKeyID
- KMS key to use.Copyright © 2019. All Rights Reserved.