@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduleKeyDeletionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ScheduleKeyDeletionRequest() |
Modifier and Type | Method and Description |
---|---|
ScheduleKeyDeletionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyId()
The unique identifier of the KMS key to delete.
|
Integer |
getPendingWindowInDays()
The waiting period, specified in number of days.
|
int |
hashCode() |
void |
setKeyId(String keyId)
The unique identifier of the KMS key to delete.
|
void |
setPendingWindowInDays(Integer pendingWindowInDays)
The waiting period, specified in number of days.
|
String |
toString()
Returns a string representation of this object.
|
ScheduleKeyDeletionRequest |
withKeyId(String keyId)
The unique identifier of the KMS key to delete.
|
ScheduleKeyDeletionRequest |
withPendingWindowInDays(Integer pendingWindowInDays)
The waiting period, specified in number of days.
|
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 setKeyId(String keyId)
The unique identifier of the KMS key to delete.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
keyId
- The unique identifier of the KMS key to delete.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public String getKeyId()
The unique identifier of the KMS key to delete.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public ScheduleKeyDeletionRequest withKeyId(String keyId)
The unique identifier of the KMS key to delete.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
keyId
- The unique identifier of the KMS key to delete.
Specify the key ID or key ARN of the KMS key.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public void setPendingWindowInDays(Integer pendingWindowInDays)
The waiting period, specified in number of days. After the waiting period ends, KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a
value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the values that
principals can specify in the PendingWindowInDays
parameter.
pendingWindowInDays
- The waiting period, specified in number of days. After the waiting period ends, KMS deletes the KMS
key.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not
include a value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the
values that principals can specify in the PendingWindowInDays
parameter.
public Integer getPendingWindowInDays()
The waiting period, specified in number of days. After the waiting period ends, KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a
value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the values that
principals can specify in the PendingWindowInDays
parameter.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not
include a value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the
values that principals can specify in the PendingWindowInDays
parameter.
public ScheduleKeyDeletionRequest withPendingWindowInDays(Integer pendingWindowInDays)
The waiting period, specified in number of days. After the waiting period ends, KMS deletes the KMS key.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not include a
value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the values that
principals can specify in the PendingWindowInDays
parameter.
pendingWindowInDays
- The waiting period, specified in number of days. After the waiting period ends, KMS deletes the KMS
key.
If the KMS key is a multi-Region primary key with replica keys, the waiting period begins when the last of its replica keys is deleted. Otherwise, the waiting period begins immediately.
This value is optional. If you include a value, it must be between 7 and 30, inclusive. If you do not
include a value, it defaults to 30. You can use the kms:ScheduleKeyDeletionPendingWindowInDays
condition key to further constrain the
values that principals can specify in the PendingWindowInDays
parameter.
public String toString()
toString
in class Object
Object.toString()
public ScheduleKeyDeletionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()