@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
The encryption configuration for the cluster.
| Constructor and Description | 
|---|
| EncryptionConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| EncryptionConfig | clone() | 
| boolean | equals(Object obj) | 
| Provider | getProvider()
 AWS Key Management Service (AWS KMS) customer master key (CMK). | 
| List<String> | getResources()
 Specifies the resources to be encrypted. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setProvider(Provider provider)
 AWS Key Management Service (AWS KMS) customer master key (CMK). | 
| void | setResources(Collection<String> resources)
 Specifies the resources to be encrypted. | 
| String | toString()Returns a string representation of this object. | 
| EncryptionConfig | withProvider(Provider provider)
 AWS Key Management Service (AWS KMS) customer master key (CMK). | 
| EncryptionConfig | withResources(Collection<String> resources)
 Specifies the resources to be encrypted. | 
| EncryptionConfig | withResources(String... resources)
 Specifies the resources to be encrypted. | 
public List<String> getResources()
Specifies the resources to be encrypted. The only supported value is "secrets".
public void setResources(Collection<String> resources)
Specifies the resources to be encrypted. The only supported value is "secrets".
resources - Specifies the resources to be encrypted. The only supported value is "secrets".public EncryptionConfig withResources(String... resources)
Specifies the resources to be encrypted. The only supported value is "secrets".
 NOTE: This method appends the values to the existing list (if any). Use
 setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
 override the existing values.
 
resources - Specifies the resources to be encrypted. The only supported value is "secrets".public EncryptionConfig withResources(Collection<String> resources)
Specifies the resources to be encrypted. The only supported value is "secrets".
resources - Specifies the resources to be encrypted. The only supported value is "secrets".public void setProvider(Provider provider)
AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN or the alias can be used.
provider - AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN or the alias can be used.public Provider getProvider()
AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN or the alias can be used.
public EncryptionConfig withProvider(Provider provider)
AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN or the alias can be used.
provider - AWS Key Management Service (AWS KMS) customer master key (CMK). Either the ARN or the alias can be used.public String toString()
toString in class ObjectObject.toString()public EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.