@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEncryptionKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEncryptionKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEncryptionKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKmsKeyId()
A KMS key ID for the encryption key.
|
String |
getResourceType()
The resource type for the encryption key.
|
String |
getScanType()
The scan type for the encryption key.
|
int |
hashCode() |
void |
setKmsKeyId(String kmsKeyId)
A KMS key ID for the encryption key.
|
void |
setResourceType(String resourceType)
The resource type for the encryption key.
|
void |
setScanType(String scanType)
The scan type for the encryption key.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEncryptionKeyRequest |
withKmsKeyId(String kmsKeyId)
A KMS key ID for the encryption key.
|
UpdateEncryptionKeyRequest |
withResourceType(ResourceType resourceType)
The resource type for the encryption key.
|
UpdateEncryptionKeyRequest |
withResourceType(String resourceType)
The resource type for the encryption key.
|
UpdateEncryptionKeyRequest |
withScanType(ScanType scanType)
The scan type for the encryption key.
|
UpdateEncryptionKeyRequest |
withScanType(String scanType)
The scan type for the encryption key.
|
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 void setKmsKeyId(String kmsKeyId)
A KMS key ID for the encryption key.
kmsKeyId
- A KMS key ID for the encryption key.public String getKmsKeyId()
A KMS key ID for the encryption key.
public UpdateEncryptionKeyRequest withKmsKeyId(String kmsKeyId)
A KMS key ID for the encryption key.
kmsKeyId
- A KMS key ID for the encryption key.public void setResourceType(String resourceType)
The resource type for the encryption key.
resourceType
- The resource type for the encryption key.ResourceType
public String getResourceType()
The resource type for the encryption key.
ResourceType
public UpdateEncryptionKeyRequest withResourceType(String resourceType)
The resource type for the encryption key.
resourceType
- The resource type for the encryption key.ResourceType
public UpdateEncryptionKeyRequest withResourceType(ResourceType resourceType)
The resource type for the encryption key.
resourceType
- The resource type for the encryption key.ResourceType
public void setScanType(String scanType)
The scan type for the encryption key.
scanType
- The scan type for the encryption key.ScanType
public String getScanType()
The scan type for the encryption key.
ScanType
public UpdateEncryptionKeyRequest withScanType(String scanType)
The scan type for the encryption key.
scanType
- The scan type for the encryption key.ScanType
public UpdateEncryptionKeyRequest withScanType(ScanType scanType)
The scan type for the encryption key.
scanType
- The scan type for the encryption key.ScanType
public String toString()
toString
in class Object
Object.toString()
public UpdateEncryptionKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()