@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APIErrorType extends Object implements Serializable, Cloneable, StructuredPojo
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue.
| Constructor and Description |
|---|
APIErrorType() |
| Modifier and Type | Method and Description |
|---|---|
APIErrorType |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example
ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException. |
String |
getMessage()
A message describing the error.
|
String |
getSecretId()
The ARN or name of the secret.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setErrorCode(String errorCode)
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example
ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException. |
void |
setMessage(String message)
A message describing the error.
|
void |
setSecretId(String secretId)
The ARN or name of the secret.
|
String |
toString()
Returns a string representation of this object.
|
APIErrorType |
withErrorCode(String errorCode)
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example
ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException. |
APIErrorType |
withMessage(String message)
A message describing the error.
|
APIErrorType |
withSecretId(String secretId)
The ARN or name of the secret.
|
public void setSecretId(String secretId)
The ARN or name of the secret.
secretId - The ARN or name of the secret.public String getSecretId()
The ARN or name of the secret.
public APIErrorType withSecretId(String secretId)
The ARN or name of the secret.
secretId - The ARN or name of the secret.public void setErrorCode(String errorCode)
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException.
errorCode - The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example ResourceNotFoundException,
InvalidParameterException, InvalidRequestException,
DecryptionFailure, or AccessDeniedException.public String getErrorCode()
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException.
ResourceNotFoundException,
InvalidParameterException, InvalidRequestException,
DecryptionFailure, or AccessDeniedException.public APIErrorType withErrorCode(String errorCode)
The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example ResourceNotFoundException,
InvalidParameterException, InvalidRequestException, DecryptionFailure, or
AccessDeniedException.
errorCode - The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example ResourceNotFoundException,
InvalidParameterException, InvalidRequestException,
DecryptionFailure, or AccessDeniedException.public void setMessage(String message)
A message describing the error.
message - A message describing the error.public String getMessage()
A message describing the error.
public APIErrorType withMessage(String message)
A message describing the error.
message - A message describing the error.public String toString()
toString in class ObjectObject.toString()public APIErrorType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.