Class RotationsListEntry
- java.lang.Object
-
- software.amazon.awssdk.services.kms.model.RotationsListEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RotationsListEntry.Builder,RotationsListEntry>
@Generated("software.amazon.awssdk:codegen") public final class RotationsListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RotationsListEntry.Builder,RotationsListEntry>
Contains information about completed key material rotations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRotationsListEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RotationsListEntry.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyId()Unique identifier of the key.InstantrotationDate()Date and time that the key material rotation completed.RotationTyperotationType()Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.StringrotationTypeAsString()Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.List<SdkField<?>>sdkFields()static Class<? extends RotationsListEntry.Builder>serializableBuilderClass()RotationsListEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
keyId
public final String keyId()
Unique identifier of the key.
- Returns:
- Unique identifier of the key.
-
rotationDate
public final Instant rotationDate()
Date and time that the key material rotation completed. Formatted as Unix time.
- Returns:
- Date and time that the key material rotation completed. Formatted as Unix time.
-
rotationType
public final RotationType rotationType()
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
If the service returns an enum value that is not available in the current SDK version,
rotationTypewill returnRotationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrotationTypeAsString().- Returns:
- Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
- See Also:
RotationType
-
rotationTypeAsString
public final String rotationTypeAsString()
Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
If the service returns an enum value that is not available in the current SDK version,
rotationTypewill returnRotationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrotationTypeAsString().- Returns:
- Identifies whether the key material rotation was a scheduled automatic rotation or an on-demand rotation.
- See Also:
RotationType
-
toBuilder
public RotationsListEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RotationsListEntry.Builder,RotationsListEntry>
-
builder
public static RotationsListEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends RotationsListEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-