@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetKeyRotationStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetKeyRotationStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetKeyRotationStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getKeyId()
Identifies the specified symmetric encryption KMS key.
|
Boolean |
getKeyRotationEnabled()
A Boolean value that specifies whether key rotation is enabled.
|
Date |
getNextRotationDate()
The next date that KMS will automatically rotate the key material.
|
Date |
getOnDemandRotationStartDate()
Identifies the date and time that an in progress on-demand rotation was initiated.
|
Integer |
getRotationPeriodInDays()
The number of days between each automatic rotation.
|
int |
hashCode() |
Boolean |
isKeyRotationEnabled()
A Boolean value that specifies whether key rotation is enabled.
|
void |
setKeyId(String keyId)
Identifies the specified symmetric encryption KMS key.
|
void |
setKeyRotationEnabled(Boolean keyRotationEnabled)
A Boolean value that specifies whether key rotation is enabled.
|
void |
setNextRotationDate(Date nextRotationDate)
The next date that KMS will automatically rotate the key material.
|
void |
setOnDemandRotationStartDate(Date onDemandRotationStartDate)
Identifies the date and time that an in progress on-demand rotation was initiated.
|
void |
setRotationPeriodInDays(Integer rotationPeriodInDays)
The number of days between each automatic rotation.
|
String |
toString()
Returns a string representation of this object.
|
GetKeyRotationStatusResult |
withKeyId(String keyId)
Identifies the specified symmetric encryption KMS key.
|
GetKeyRotationStatusResult |
withKeyRotationEnabled(Boolean keyRotationEnabled)
A Boolean value that specifies whether key rotation is enabled.
|
GetKeyRotationStatusResult |
withNextRotationDate(Date nextRotationDate)
The next date that KMS will automatically rotate the key material.
|
GetKeyRotationStatusResult |
withOnDemandRotationStartDate(Date onDemandRotationStartDate)
Identifies the date and time that an in progress on-demand rotation was initiated.
|
GetKeyRotationStatusResult |
withRotationPeriodInDays(Integer rotationPeriodInDays)
The number of days between each automatic rotation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setKeyRotationEnabled(Boolean keyRotationEnabled)
A Boolean value that specifies whether key rotation is enabled.
keyRotationEnabled
- A Boolean value that specifies whether key rotation is enabled.public Boolean getKeyRotationEnabled()
A Boolean value that specifies whether key rotation is enabled.
public GetKeyRotationStatusResult withKeyRotationEnabled(Boolean keyRotationEnabled)
A Boolean value that specifies whether key rotation is enabled.
keyRotationEnabled
- A Boolean value that specifies whether key rotation is enabled.public Boolean isKeyRotationEnabled()
A Boolean value that specifies whether key rotation is enabled.
public void setKeyId(String keyId)
Identifies the specified symmetric encryption KMS key.
keyId
- Identifies the specified symmetric encryption KMS key.public String getKeyId()
Identifies the specified symmetric encryption KMS key.
public GetKeyRotationStatusResult withKeyId(String keyId)
Identifies the specified symmetric encryption KMS key.
keyId
- Identifies the specified symmetric encryption KMS key.public void setRotationPeriodInDays(Integer rotationPeriodInDays)
The number of days between each automatic rotation. The default value is 365 days.
rotationPeriodInDays
- The number of days between each automatic rotation. The default value is 365 days.public Integer getRotationPeriodInDays()
The number of days between each automatic rotation. The default value is 365 days.
public GetKeyRotationStatusResult withRotationPeriodInDays(Integer rotationPeriodInDays)
The number of days between each automatic rotation. The default value is 365 days.
rotationPeriodInDays
- The number of days between each automatic rotation. The default value is 365 days.public void setNextRotationDate(Date nextRotationDate)
The next date that KMS will automatically rotate the key material.
nextRotationDate
- The next date that KMS will automatically rotate the key material.public Date getNextRotationDate()
The next date that KMS will automatically rotate the key material.
public GetKeyRotationStatusResult withNextRotationDate(Date nextRotationDate)
The next date that KMS will automatically rotate the key material.
nextRotationDate
- The next date that KMS will automatically rotate the key material.public void setOnDemandRotationStartDate(Date onDemandRotationStartDate)
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
onDemandRotationStartDate
- Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
public Date getOnDemandRotationStartDate()
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
public GetKeyRotationStatusResult withOnDemandRotationStartDate(Date onDemandRotationStartDate)
Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
onDemandRotationStartDate
- Identifies the date and time that an in progress on-demand rotation was initiated.
The KMS API follows an eventual consistency model due to the distributed nature of the system. As a result, there might be a slight delay between initiating on-demand key rotation and the rotation's completion. Once the on-demand rotation is complete, use ListKeyRotations to view the details of the on-demand rotation.
public String toString()
toString
in class Object
Object.toString()
public GetKeyRotationStatusResult clone()
Copyright © 2024. All rights reserved.