@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSecretsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSecretsResult() |
Modifier and Type | Method and Description |
---|---|
ListSecretsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
List<SecretListEntry> |
getSecretList()
A list of the secrets in the account.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
void |
setSecretList(Collection<SecretListEntry> secretList)
A list of the secrets in the account.
|
String |
toString()
Returns a string representation of this object.
|
ListSecretsResult |
withNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
ListSecretsResult |
withSecretList(Collection<SecretListEntry> secretList)
A list of the secrets in the account.
|
ListSecretsResult |
withSecretList(SecretListEntry... secretList)
A list of the secrets in the account.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecretListEntry> getSecretList()
A list of the secrets in the account.
public void setSecretList(Collection<SecretListEntry> secretList)
A list of the secrets in the account.
secretList
- A list of the secrets in the account.public ListSecretsResult withSecretList(SecretListEntry... secretList)
A list of the secrets in the account.
NOTE: This method appends the values to the existing list (if any). Use
setSecretList(java.util.Collection)
or withSecretList(java.util.Collection)
if you want to
override the existing values.
secretList
- A list of the secrets in the account.public ListSecretsResult withSecretList(Collection<SecretListEntry> secretList)
A list of the secrets in the account.
secretList
- A list of the secrets in the account.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 ListSecrets
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 ListSecrets
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 ListSecrets
again with this value.
ListSecrets
again with this
value.public ListSecretsResult 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 ListSecrets
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 ListSecrets
again with this
value.public String toString()
toString
in class Object
Object.toString()
public ListSecretsResult clone()