@Generated(value="software.amazon.awssdk:codegen") public class SecretVersionsListEntry extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccessedDate()
The date that this version of the secret was last accessed.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends SecretVersionsListEntry.Builder> |
serializableBuilderClass() |
SecretVersionsListEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SecretVersionsListEntry.Builder,SecretVersionsListEntry>
public static SecretVersionsListEntry.Builder builder()
public static Class<? extends SecretVersionsListEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.