@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDefaultEncryptionConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDefaultEncryptionConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutDefaultEncryptionConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEncryptionType()
The type of encryption used for the encryption configuration.
|
String |
getKmsKeyId()
The Key ID of the customer managed key used for KMS encryption.
|
int |
hashCode() |
void |
setEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
|
void |
setKmsKeyId(String kmsKeyId)
The Key ID of the customer managed key used for KMS encryption.
|
String |
toString()
Returns a string representation of this object.
|
PutDefaultEncryptionConfigurationRequest |
withEncryptionType(EncryptionType encryptionType)
The type of encryption used for the encryption configuration.
|
PutDefaultEncryptionConfigurationRequest |
withEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
|
PutDefaultEncryptionConfigurationRequest |
withKmsKeyId(String kmsKeyId)
The Key ID of the customer managed key used for KMS encryption.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutDefaultEncryptionConfigurationRequest()
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 PutDefaultEncryptionConfigurationRequest withEncryptionType(String encryptionType)
The type of encryption used for the encryption configuration.
encryptionType
- The type of encryption used for the encryption configuration.EncryptionType
public PutDefaultEncryptionConfigurationRequest 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 setKmsKeyId(String kmsKeyId)
The Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.
kmsKeyId
- The Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.public String getKmsKeyId()
The Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.
KMS_BASED_ENCRYPTION
.public PutDefaultEncryptionConfigurationRequest withKmsKeyId(String kmsKeyId)
The Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.
kmsKeyId
- The Key ID of the customer managed key used for KMS encryption. This is required if you use
KMS_BASED_ENCRYPTION
.public String toString()
toString
in class Object
Object.toString()
public PutDefaultEncryptionConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()