@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetSecretValueResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetSecretValueResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetSecretValueResult |
clone() |
boolean |
equals(Object obj) |
List<APIErrorType> |
getErrors()
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
|
String |
getNextToken()
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
List<SecretValueEntry> |
getSecretValues()
A list of secret values.
|
int |
hashCode() |
void |
setErrors(Collection<APIErrorType> errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
|
void |
setNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
void |
setSecretValues(Collection<SecretValueEntry> secretValues)
A list of secret values.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetSecretValueResult |
withErrors(APIErrorType... errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
|
BatchGetSecretValueResult |
withErrors(Collection<APIErrorType> errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
|
BatchGetSecretValueResult |
withNextToken(String nextToken)
Secrets Manager includes this value if there's more output available than what is included in the current
response.
|
BatchGetSecretValueResult |
withSecretValues(Collection<SecretValueEntry> secretValues)
A list of secret values.
|
BatchGetSecretValueResult |
withSecretValues(SecretValueEntry... secretValues)
A list of secret values.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SecretValueEntry> getSecretValues()
A list of secret values.
public void setSecretValues(Collection<SecretValueEntry> secretValues)
A list of secret values.
secretValues
- A list of secret values.public BatchGetSecretValueResult withSecretValues(SecretValueEntry... secretValues)
A list of secret values.
NOTE: This method appends the values to the existing list (if any). Use
setSecretValues(java.util.Collection)
or withSecretValues(java.util.Collection)
if you want to
override the existing values.
secretValues
- A list of secret values.public BatchGetSecretValueResult withSecretValues(Collection<SecretValueEntry> secretValues)
A list of secret values.
secretValues
- A list of secret values.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 BatchGetSecretValue
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 BatchGetSecretValue
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 BatchGetSecretValue
again with this value.
BatchGetSecretValue
again with
this value.public BatchGetSecretValueResult 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 BatchGetSecretValue
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 BatchGetSecretValue
again with
this value.public List<APIErrorType> getErrors()
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
public void setErrors(Collection<APIErrorType> errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
errors
- A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.public BatchGetSecretValueResult withErrors(APIErrorType... errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.public BatchGetSecretValueResult withErrors(Collection<APIErrorType> errors)
A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.
errors
- A list of errors Secrets Manager encountered while attempting to retrieve individual secrets.public String toString()
toString
in class Object
Object.toString()
public BatchGetSecretValueResult clone()