public class EncryptionConfiguration extends Object implements Serializable, Cloneable
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 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(String noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
|
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(String noEncryptionConfig)
Specifically override existing encryption information to ensure no encryption is used.
|
public void setNoEncryptionConfig(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 String getNoEncryptionConfig()
Specifically override existing encryption information to ensure no encryption is used.
NoEncryptionConfig
public EncryptionConfiguration withNoEncryptionConfig(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 String toString()
toString
in class Object
Object.toString()
public EncryptionConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.