@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the encryption for a destination in Amazon S3.
Constructor and Description |
---|
EncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
EncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
KMSEncryptionConfig |
getKMSEncryptionConfig()
The encryption key.
|
String |
getNoEncryptionConfig()
Specifically override existing encryption information to ensure that no encryption is used.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
|
void |
setNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
|
void |
setNoEncryptionConfig(String noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
|
String |
toString()
Returns a string representation of this object.
|
EncryptionConfiguration |
withKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
|
EncryptionConfiguration |
withNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
|
EncryptionConfiguration |
withNoEncryptionConfig(String noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
|
public void setNoEncryptionConfig(String noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.NoEncryptionConfig
public String getNoEncryptionConfig()
Specifically override existing encryption information to ensure that no encryption is used.
NoEncryptionConfig
public EncryptionConfiguration withNoEncryptionConfig(String noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.NoEncryptionConfig
public void setNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.NoEncryptionConfig
public EncryptionConfiguration withNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure that no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure that no encryption is used.NoEncryptionConfig
public void setKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
kMSEncryptionConfig
- The encryption key.public KMSEncryptionConfig getKMSEncryptionConfig()
The encryption key.
public EncryptionConfiguration withKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
kMSEncryptionConfig
- The encryption key.public String toString()
toString
in class Object
Object.toString()
public EncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.