@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEncryptionConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutEncryptionConfigurationRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutEncryptionConfigurationRequest |
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.
|
String |
getKmsKeyId()
The ID of the KMS key that is used for encryption.
|
int |
hashCode() |
void |
setEncryptionType(String encryptionType)
The type of encryption.
|
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
|
String |
toString()
Returns a string representation of this object.
|
PutEncryptionConfigurationRequest |
withEncryptionType(EncryptionType encryptionType)
The type of encryption.
|
PutEncryptionConfigurationRequest |
withEncryptionType(String encryptionType)
The type of encryption.
|
PutEncryptionConfigurationRequest |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for 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, withSdkRequestTimeoutpublic void setKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
kmsKeyId - The ID of the KMS key that is used for encryption.public String getKmsKeyId()
The ID of the KMS key that is used for encryption.
public PutEncryptionConfigurationRequest withKmsKeyId(String kmsKeyId)
The ID of the KMS key that is used for encryption.
kmsKeyId - The ID of the KMS key that is used for encryption.public void setEncryptionType(String encryptionType)
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
encryptionType - The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.EncryptionTypepublic String getEncryptionType()
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.EncryptionTypepublic PutEncryptionConfigurationRequest withEncryptionType(String encryptionType)
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
encryptionType - The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.EncryptionTypepublic PutEncryptionConfigurationRequest withEncryptionType(EncryptionType encryptionType)
The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.
encryptionType - The type of encryption. Choose KMS_BASED_ENCRYPTION to use a KMS key or
FLEETWISE_DEFAULT_ENCRYPTION to use an Amazon Web Services managed key.EncryptionTypepublic String toString()
toString in class ObjectObject.toString()public PutEncryptionConfigurationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()