public class EncryptionConfig
extends java.lang.Object
implements java.io.Serializable
The encryption configuration.
| Constructor and Description |
|---|
EncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEncryptionType()
The type of encryption.
|
java.lang.String |
getKeyId()
The identifier of the encryption key.
|
int |
hashCode() |
void |
setEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
void |
setEncryptionType(java.lang.String encryptionType)
The type of encryption.
|
void |
setKeyId(java.lang.String keyId)
The identifier of the encryption key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EncryptionConfig |
withEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
EncryptionConfig |
withEncryptionType(java.lang.String encryptionType)
The type of encryption.
|
EncryptionConfig |
withKeyId(java.lang.String keyId)
The identifier of the encryption key.
|
public java.lang.String getEncryptionType()
The type of encryption.
Constraints:
Allowed Values: KMS
The type of encryption.
EncryptionTypepublic void setEncryptionType(java.lang.String encryptionType)
The type of encryption.
Constraints:
Allowed Values: KMS
encryptionType - The type of encryption.
EncryptionTypepublic EncryptionConfig withEncryptionType(java.lang.String encryptionType)
The type of encryption.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KMS
encryptionType - The type of encryption.
EncryptionTypepublic void setEncryptionType(EncryptionType encryptionType)
The type of encryption.
Constraints:
Allowed Values: KMS
encryptionType - The type of encryption.
EncryptionTypepublic EncryptionConfig withEncryptionType(EncryptionType encryptionType)
The type of encryption.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: KMS
encryptionType - The type of encryption.
EncryptionTypepublic java.lang.String getKeyId()
The identifier of the encryption key.
Constraints:
Length: 1 - 128
The identifier of the encryption key.
public void setKeyId(java.lang.String keyId)
The identifier of the encryption key.
Constraints:
Length: 1 - 128
keyId - The identifier of the encryption key.
public EncryptionConfig withKeyId(java.lang.String keyId)
The identifier of the encryption key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
keyId - The identifier of the encryption key.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.