Class AliasListEntry
- java.lang.Object
-
- software.amazon.awssdk.services.kms.model.AliasListEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AliasListEntry.Builder,AliasListEntry>
@Generated("software.amazon.awssdk:codegen") public final class AliasListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AliasListEntry.Builder,AliasListEntry>
Contains information about an alias.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAliasListEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaliasArn()String that contains the key ARN.StringaliasName()String that contains the alias.static AliasListEntry.Builderbuilder()InstantcreationDate()Date and time that the alias was most recently created in the account and Region.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDate()Date and time that the alias was most recently associated with a KMS key in the account and Region.List<SdkField<?>>sdkFields()static Class<? extends AliasListEntry.Builder>serializableBuilderClass()StringtargetKeyId()String that contains the key identifier of the KMS key associated with the alias.AliasListEntry.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
-
aliasName
public final String aliasName()
String that contains the alias. This value begins with
alias/.- Returns:
- String that contains the alias. This value begins with
alias/.
-
aliasArn
public final String aliasArn()
String that contains the key ARN.
- Returns:
- String that contains the key ARN.
-
targetKeyId
public final String targetKeyId()
String that contains the key identifier of the KMS key associated with the alias.
- Returns:
- String that contains the key identifier of the KMS key associated with the alias.
-
creationDate
public final Instant creationDate()
Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.
- Returns:
- Date and time that the alias was most recently created in the account and Region. Formatted as Unix time.
-
lastUpdatedDate
public final Instant lastUpdatedDate()
Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.
- Returns:
- Date and time that the alias was most recently associated with a KMS key in the account and Region. Formatted as Unix time.
-
toBuilder
public AliasListEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AliasListEntry.Builder,AliasListEntry>
-
builder
public static AliasListEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends AliasListEntry.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.
-
-