@Generated(value="software.amazon.awssdk:codegen") public final class SecretVersionsListEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>
A structure that contains information about one version of a secret.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SecretVersionsListEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SecretVersionsListEntry.Builder |
builder() |
Instant |
createdDate()
The date and time this version of the secret was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccessedDate()
The date that this version of the secret was last accessed.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SecretVersionsListEntry.Builder> |
serializableBuilderClass() |
SecretVersionsListEntry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionId()
The unique version identifier of this version of the secret.
|
List<String> |
versionStages()
An array of staging labels that are currently associated with this version of the secret.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String versionId()
The unique version identifier of this version of the secret.
public List<String> versionStages()
An array of staging labels that are currently associated with this version of the secret.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant lastAccessedDate()
The date that this version of the secret was last accessed. Note that the resolution of this field is at the date level and does not include the time.
public Instant createdDate()
The date and time this version of the secret was created.
public SecretVersionsListEntry.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>public static SecretVersionsListEntry.Builder builder()
public static Class<? extends SecretVersionsListEntry.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.