@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
Encryption config for Connect Instance. Note that sensitive data will always be encrypted. If disabled, service will perform encryption with its own key. If enabled, a KMS key id needs to be provided and KMS charges will apply. KMS is only type supported
Constructor and Description |
---|
EncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
EncryptionConfig |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled() |
String |
getEncryptionType() |
String |
getKeyArn() |
int |
hashCode() |
Boolean |
isEnabled() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled) |
void |
setEncryptionType(String encryptionType) |
void |
setKeyArn(String keyArn) |
String |
toString()
Returns a string representation of this object.
|
EncryptionConfig |
withEnabled(Boolean enabled) |
EncryptionConfig |
withEncryptionType(EncryptionType encryptionType) |
EncryptionConfig |
withEncryptionType(String encryptionType) |
EncryptionConfig |
withKeyArn(String keyArn) |
public void setEnabled(Boolean enabled)
enabled
- public Boolean getEnabled()
public EncryptionConfig withEnabled(Boolean enabled)
enabled
- public Boolean isEnabled()
public void setEncryptionType(String encryptionType)
encryptionType
- EncryptionType
public String getEncryptionType()
EncryptionType
public EncryptionConfig withEncryptionType(String encryptionType)
encryptionType
- EncryptionType
public EncryptionConfig withEncryptionType(EncryptionType encryptionType)
encryptionType
- EncryptionType
public void setKeyArn(String keyArn)
keyArn
- public String getKeyArn()
public EncryptionConfig withKeyArn(String keyArn)
keyArn
- public String toString()
toString
in class Object
Object.toString()
public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.