@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
The encryption configuration.
Constructor and Description |
---|
EncryptionConfig() |
Modifier and Type | Method and Description |
---|---|
EncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionType()
The type of encryption.
|
String |
getKeyId()
The full ARN of the encryption key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionType(String encryptionType)
The type of encryption.
|
void |
setKeyId(String keyId)
The full ARN of the encryption key.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionConfig |
withEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
EncryptionConfig |
withEncryptionType(String encryptionType)
The type of encryption.
|
EncryptionConfig |
withKeyId(String keyId)
The full ARN of the encryption key.
|
public void setEncryptionType(String encryptionType)
The type of encryption.
encryptionType
- The type of encryption.EncryptionType
public String getEncryptionType()
The type of encryption.
EncryptionType
public EncryptionConfig withEncryptionType(String encryptionType)
The type of encryption.
encryptionType
- The type of encryption.EncryptionType
public EncryptionConfig withEncryptionType(EncryptionType encryptionType)
The type of encryption.
encryptionType
- The type of encryption.EncryptionType
public void setKeyId(String keyId)
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
keyId
- The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
public String getKeyId()
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
Be sure to provide the full ARN of the encryption key, not just the ID.
public EncryptionConfig withKeyId(String keyId)
The full ARN of the encryption key.
Be sure to provide the full ARN of the encryption key, not just the ID.
keyId
- The full ARN of the encryption key. Be sure to provide the full ARN of the encryption key, not just the ID.
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.