@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecretVersionsListEntry extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about one version of a secret.
| Constructor and Description |
|---|
SecretVersionsListEntry() |
| Modifier and Type | Method and Description |
|---|---|
SecretVersionsListEntry |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date and time this version of the secret was created.
|
Date |
getLastAccessedDate()
The date that this version of the secret was last accessed.
|
String |
getVersionId()
The unique version identifier of this version of the secret.
|
List<String> |
getVersionStages()
An array of staging labels that are currently associated with this version of the secret.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCreatedDate(Date createdDate)
The date and time this version of the secret was created.
|
void |
setLastAccessedDate(Date lastAccessedDate)
The date that this version of the secret was last accessed.
|
void |
setVersionId(String versionId)
The unique version identifier of this version of the secret.
|
void |
setVersionStages(Collection<String> versionStages)
An array of staging labels that are currently associated with this version of the secret.
|
String |
toString()
Returns a string representation of this object.
|
SecretVersionsListEntry |
withCreatedDate(Date createdDate)
The date and time this version of the secret was created.
|
SecretVersionsListEntry |
withLastAccessedDate(Date lastAccessedDate)
The date that this version of the secret was last accessed.
|
SecretVersionsListEntry |
withVersionId(String versionId)
The unique version identifier of this version of the secret.
|
SecretVersionsListEntry |
withVersionStages(Collection<String> versionStages)
An array of staging labels that are currently associated with this version of the secret.
|
SecretVersionsListEntry |
withVersionStages(String... versionStages)
An array of staging labels that are currently associated with this version of the secret.
|
public void setVersionId(String versionId)
The unique version identifier of this version of the secret.
versionId - The unique version identifier of this version of the secret.public String getVersionId()
The unique version identifier of this version of the secret.
public SecretVersionsListEntry withVersionId(String versionId)
The unique version identifier of this version of the secret.
versionId - The unique version identifier of this version of the secret.public List<String> getVersionStages()
An array of staging labels that are currently associated with this version of the secret.
public void setVersionStages(Collection<String> versionStages)
An array of staging labels that are currently associated with this version of the secret.
versionStages - An array of staging labels that are currently associated with this version of the secret.public SecretVersionsListEntry withVersionStages(String... versionStages)
An array of staging labels that are currently associated with this version of the secret.
NOTE: This method appends the values to the existing list (if any). Use
setVersionStages(java.util.Collection) or withVersionStages(java.util.Collection) if you want
to override the existing values.
versionStages - An array of staging labels that are currently associated with this version of the secret.public SecretVersionsListEntry withVersionStages(Collection<String> versionStages)
An array of staging labels that are currently associated with this version of the secret.
versionStages - An array of staging labels that are currently associated with this version of the secret.public void setLastAccessedDate(Date 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.
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 Date getLastAccessedDate()
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 SecretVersionsListEntry withLastAccessedDate(Date 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.
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 void setCreatedDate(Date createdDate)
The date and time this version of the secret was created.
createdDate - The date and time this version of the secret was created.public Date getCreatedDate()
The date and time this version of the secret was created.
public SecretVersionsListEntry withCreatedDate(Date createdDate)
The date and time this version of the secret was created.
createdDate - The date and time this version of the secret was created.public String toString()
toString in class ObjectObject.toString()public SecretVersionsListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.