@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecretVersionIdsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecretVersionIdsResult() |
Modifier and Type | Method and Description |
---|---|
ListSecretVersionIdsResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The ARN of the secret.
|
String |
getName()
The name of the secret.
|
String |
getNextToken()
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
List<SecretVersionsListEntry> |
getVersions()
A list of the versions of the secret.
|
int |
hashCode() |
void |
setARN(String aRN)
The ARN of the secret.
|
void |
setName(String name)
The name of the secret.
|
void |
setNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
void |
setVersions(Collection<SecretVersionsListEntry> versions)
A list of the versions of the secret.
|
String |
toString()
Returns a string representation of this object.
|
ListSecretVersionIdsResult |
withARN(String aRN)
The ARN of the secret.
|
ListSecretVersionIdsResult |
withName(String name)
The name of the secret.
|
ListSecretVersionIdsResult |
withNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
ListSecretVersionIdsResult |
withVersions(Collection<SecretVersionsListEntry> versions)
A list of the versions of the secret.
|
ListSecretVersionIdsResult |
withVersions(SecretVersionsListEntry... versions)
A list of the versions of the secret.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecretVersionsListEntry> getVersions()
A list of the versions of the secret.
public void setVersions(Collection<SecretVersionsListEntry> versions)
A list of the versions of the secret.
versions
- A list of the versions of the secret.public ListSecretVersionIdsResult withVersions(SecretVersionsListEntry... versions)
A list of the versions of the secret.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
or withVersions(java.util.Collection)
if you want to override
the existing values.
versions
- A list of the versions of the secret.public ListSecretVersionIdsResult withVersions(Collection<SecretVersionsListEntry> versions)
A list of the versions of the secret.
versions
- A list of the versions of the secret.public void setNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response. This can occur even when the response includes no values at all, such as when you ask for a filtered
view of a long list. To get the next results, call ListSecretVersionIds
again with this value.
nextToken
- Secrets Manager includes this value if there's more output available than what is included in the current
response. This can occur even when the response includes no values at all, such as when you ask for a
filtered view of a long list. To get the next results, call ListSecretVersionIds
again with
this value.public String getNextToken()
Secrets Manager includes this value if there's more output available than what is included in the current
response. This can occur even when the response includes no values at all, such as when you ask for a filtered
view of a long list. To get the next results, call ListSecretVersionIds
again with this value.
ListSecretVersionIds
again with
this value.public ListSecretVersionIdsResult withNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response. This can occur even when the response includes no values at all, such as when you ask for a filtered
view of a long list. To get the next results, call ListSecretVersionIds
again with this value.
nextToken
- Secrets Manager includes this value if there's more output available than what is included in the current
response. This can occur even when the response includes no values at all, such as when you ask for a
filtered view of a long list. To get the next results, call ListSecretVersionIds
again with
this value.public void setARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public String getARN()
The ARN of the secret.
public ListSecretVersionIdsResult withARN(String aRN)
The ARN of the secret.
aRN
- The ARN of the secret.public void setName(String name)
The name of the secret.
name
- The name of the secret.public String getName()
The name of the secret.
public ListSecretVersionIdsResult withName(String name)
The name of the secret.
name
- The name of the secret.public String toString()
toString
in class Object
Object.toString()
public ListSecretVersionIdsResult clone()