Class APIErrorType
java.lang.Object
software.amazon.awssdk.services.secretsmanager.model.APIErrorType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<APIErrorType.Builder,APIErrorType>
@Generated("software.amazon.awssdk:codegen")
public final class APIErrorType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<APIErrorType.Builder,APIErrorType>
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic APIErrorType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for exampleResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()A message describing the error.final StringsecretId()The ARN or name of the secret.static Class<? extends APIErrorType.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
secretId
The ARN or name of the secret.
- Returns:
- The ARN or name of the secret.
-
errorCode
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example
ResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.- Returns:
- The error Secrets Manager encountered while retrieving an individual secret as part of
BatchGetSecretValue, for example
ResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.
-
message
A message describing the error.
- Returns:
- A message describing the error.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<APIErrorType.Builder,APIErrorType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-