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 full ARN 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 full ARN 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 full ARN 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 full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT .
Constraints:
Length: 1 - 128
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec
of SYMMETRIC_DEFAULT .
public void setKeyId(java.lang.String keyId)
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT .
Constraints:
Length: 1 - 128
keyId - The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key
spec of SYMMETRIC_DEFAULT .
public EncryptionConfig withKeyId(java.lang.String keyId)
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key spec of SYMMETRIC_DEFAULT .
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
keyId - The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Amazon Connect supports only KMS keys with the default key
spec of SYMMETRIC_DEFAULT .
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.Object