@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 Amazon Resource Name (ARN) for the secret.
|
String |
getName()
The friendly name of the secret.
|
String |
getNextToken()
If present in the response, this value indicates that there's more output available than included in the current
response.
|
List<SecretVersionsListEntry> |
getVersions()
The list of the currently available versions of the specified secret.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) for the secret.
|
void |
setName(String name)
The friendly name of the secret.
|
void |
setNextToken(String nextToken)
If present in the response, this value indicates that there's more output available than included in the current
response.
|
void |
setVersions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
|
String |
toString()
Returns a string representation of this object.
|
ListSecretVersionIdsResult |
withARN(String aRN)
The Amazon Resource Name (ARN) for the secret.
|
ListSecretVersionIdsResult |
withName(String name)
The friendly name of the secret.
|
ListSecretVersionIdsResult |
withNextToken(String nextToken)
If present in the response, this value indicates that there's more output available than included in the current
response.
|
ListSecretVersionIdsResult |
withVersions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
|
ListSecretVersionIdsResult |
withVersions(SecretVersionsListEntry... versions)
The list of the currently available versions of the specified secret.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecretVersionsListEntry> getVersions()
The list of the currently available versions of the specified secret.
public void setVersions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
versions
- The list of the currently available versions of the specified secret.public ListSecretVersionIdsResult withVersions(SecretVersionsListEntry... versions)
The list of the currently available versions of the specified 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
- The list of the currently available versions of the specified secret.public ListSecretVersionIdsResult withVersions(Collection<SecretVersionsListEntry> versions)
The list of the currently available versions of the specified secret.
versions
- The list of the currently available versions of the specified secret.public void setNextToken(String nextToken)
If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in a subsequent call to
the operation to continue processing and get the next part of the output. You should repeat this until the
NextToken
response element comes back empty (as null
).
nextToken
- If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in
a subsequent call to the operation to continue processing and get the next part of the output. You should
repeat this until the NextToken
response element comes back empty (as null
).public String getNextToken()
If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in a subsequent call to
the operation to continue processing and get the next part of the output. You should repeat this until the
NextToken
response element comes back empty (as null
).
NextToken
request parameter
in a subsequent call to the operation to continue processing and get the next part of the output. You
should repeat this until the NextToken
response element comes back empty (as
null
).public ListSecretVersionIdsResult withNextToken(String nextToken)
If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in a subsequent call to
the operation to continue processing and get the next part of the output. You should repeat this until the
NextToken
response element comes back empty (as null
).
nextToken
- If present in the response, this value indicates that there's more output available than 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 very long list. Use this value in the NextToken
request parameter in
a subsequent call to the operation to continue processing and get the next part of the output. You should
repeat this until the NextToken
response element comes back empty (as null
).public void setARN(String aRN)
The Amazon Resource Name (ARN) for the secret.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The Amazon Resource Name (ARN) for the secret. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public String getARN()
The Amazon Resource Name (ARN) for the secret.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public ListSecretVersionIdsResult withARN(String aRN)
The Amazon Resource Name (ARN) for the secret.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The Amazon Resource Name (ARN) for the secret. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public void setName(String name)
The friendly name of the secret.
name
- The friendly name of the secret.public String getName()
The friendly name of the secret.
public ListSecretVersionIdsResult withName(String name)
The friendly name of the secret.
name
- The friendly name of the secret.public String toString()
toString
in class Object
Object.toString()
public ListSecretVersionIdsResult clone()
Copyright © 2021. All rights reserved.