Class GetKeyRotationStatusResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetKeyRotationStatusResponse.Builder,GetKeyRotationStatusResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkeyId()Identifies the specified symmetric encryption KMS key.final BooleanA Boolean value that specifies whether key rotation is enabled.final InstantThe next date that KMS will automatically rotate the key material.final InstantIdentifies the date and time that an in progress on-demand rotation was initiated.final IntegerThe number of days between each automatic rotation.static Class<? extends GetKeyRotationStatusResponse.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.kms.model.KmsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
keyRotationEnabled
A Boolean value that specifies whether key rotation is enabled.
- Returns:
- A Boolean value that specifies whether key rotation is enabled.
-
keyId
Identifies the specified symmetric encryption KMS key.
- Returns:
- Identifies the specified symmetric encryption KMS key.
-
rotationPeriodInDays
The number of days between each automatic rotation. The default value is 365 days.
- Returns:
- The number of days between each automatic rotation. The default value is 365 days.
-
nextRotationDate
The next date that KMS will automatically rotate the key material.
- Returns:
- The next date that KMS will automatically rotate the key material.
-
onDemandRotationStartDate
Identifies the date and time that an in progress on-demand rotation was initiated.
KMS uses a background process to perform rotations. 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, KMS removes this field from the response. You can use ListKeyRotations to view the details of the completed on-demand rotation.
- Returns:
- Identifies the date and time that an in progress on-demand rotation was initiated.
KMS uses a background process to perform rotations. 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, KMS removes this field from the response. You can use ListKeyRotations to view the details of the completed on-demand rotation.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetKeyRotationStatusResponse.Builder,GetKeyRotationStatusResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-