public class EncryptionConfiguration
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes the encryption for a destination in Amazon S3.
Modifier and Type | Field and Description |
---|---|
private KMSEncryptionConfig |
kMSEncryptionConfig
The encryption key.
|
private java.lang.String |
noEncryptionConfig
Specifically override existing encryption information to ensure no
encryption is used.
|
Constructor and Description |
---|
EncryptionConfiguration() |
Modifier and Type | Method and Description |
---|---|
EncryptionConfiguration |
clone() |
boolean |
equals(java.lang.Object obj) |
KMSEncryptionConfig |
getKMSEncryptionConfig()
The encryption key.
|
java.lang.String |
getNoEncryptionConfig()
Specifically override existing encryption information to ensure no
encryption is used.
|
int |
hashCode() |
void |
setKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
|
void |
setNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure no
encryption is used.
|
void |
setNoEncryptionConfig(java.lang.String noEncryptionConfig)
Specifically override existing encryption information to ensure no
encryption is used.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EncryptionConfiguration |
withKMSEncryptionConfig(KMSEncryptionConfig kMSEncryptionConfig)
The encryption key.
|
EncryptionConfiguration |
withNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure no
encryption is used.
|
EncryptionConfiguration |
withNoEncryptionConfig(java.lang.String noEncryptionConfig)
Specifically override existing encryption information to ensure no
encryption is used.
|
private java.lang.String noEncryptionConfig
Specifically override existing encryption information to ensure no encryption is used.
private KMSEncryptionConfig kMSEncryptionConfig
The encryption key.
public void setNoEncryptionConfig(java.lang.String noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure no
encryption is used.NoEncryptionConfig
public java.lang.String getNoEncryptionConfig()
Specifically override existing encryption information to ensure no encryption is used.
NoEncryptionConfig
public EncryptionConfiguration withNoEncryptionConfig(java.lang.String noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure no
encryption is used.NoEncryptionConfig
public void setNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure no
encryption is used.NoEncryptionConfig
public EncryptionConfiguration withNoEncryptionConfig(NoEncryptionConfig noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
noEncryptionConfig
- Specifically override existing encryption information to ensure 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EncryptionConfiguration clone()
clone
in class java.lang.Object