@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDefaultEncryptionConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PutDefaultEncryptionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
PutDefaultEncryptionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
ConfigurationStatus |
getConfigurationStatus()
The status of the account configuration.
|
String |
getEncryptionType()
The type of encryption used for the encryption configuration.
|
String |
getKmsKeyArn()
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use
KMS_BASED_ENCRYPTION . |
int |
hashCode() |
void |
setConfigurationStatus(ConfigurationStatus configurationStatus)
The status of the account configuration.
|
void |
setEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use
KMS_BASED_ENCRYPTION . |
String |
toString()
Returns a string representation of this object.
|
PutDefaultEncryptionConfigurationResult |
withConfigurationStatus(ConfigurationStatus configurationStatus)
The status of the account configuration.
|
PutDefaultEncryptionConfigurationResult |
withEncryptionType(EncryptionType encryptionType)
The type of encryption used for the encryption configuration.
|
PutDefaultEncryptionConfigurationResult |
withEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
|
PutDefaultEncryptionConfigurationResult |
withKmsKeyArn(String kmsKeyArn)
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use
KMS_BASED_ENCRYPTION . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public PutDefaultEncryptionConfigurationResult()
public void setEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
encryptionType
- The type of encryption used for the encryption configuration.EncryptionType
public String getEncryptionType()
The type of encryption used for the encryption configuration.
EncryptionType
public PutDefaultEncryptionConfigurationResult withEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
encryptionType
- The type of encryption used for the encryption configuration.EncryptionType
public PutDefaultEncryptionConfigurationResult withEncryptionType(EncryptionType encryptionType)
The type of encryption used for the encryption configuration.
encryptionType
- The type of encryption used for the encryption configuration.EncryptionType
public void setKmsKeyArn(String kmsKeyArn)
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION
.
kmsKeyArn
- The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION
.public String getKmsKeyArn()
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION
.
KMS_BASED_ENCRYPTION
.public PutDefaultEncryptionConfigurationResult withKmsKeyArn(String kmsKeyArn)
The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION
.
kmsKeyArn
- The Key ARN of the AWS KMS CMK used for AWS KMS encryption if you use KMS_BASED_ENCRYPTION
.public void setConfigurationStatus(ConfigurationStatus configurationStatus)
The status of the account configuration. This contains the ConfigurationState
. If there is an error,
it also contains the ErrorDetails
.
configurationStatus
- The status of the account configuration. This contains the ConfigurationState
. If there is an
error, it also contains the ErrorDetails
.public ConfigurationStatus getConfigurationStatus()
The status of the account configuration. This contains the ConfigurationState
. If there is an error,
it also contains the ErrorDetails
.
ConfigurationState
. If there is
an error, it also contains the ErrorDetails
.public PutDefaultEncryptionConfigurationResult withConfigurationStatus(ConfigurationStatus configurationStatus)
The status of the account configuration. This contains the ConfigurationState
. If there is an error,
it also contains the ErrorDetails
.
configurationStatus
- The status of the account configuration. This contains the ConfigurationState
. If there is an
error, it also contains the ErrorDetails
.public String toString()
toString
in class Object
Object.toString()
public PutDefaultEncryptionConfigurationResult clone()