Interface APIErrorType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<APIErrorType.Builder,APIErrorType>,SdkBuilder<APIErrorType.Builder,APIErrorType>,SdkPojo
- Enclosing class:
- APIErrorType
public static interface APIErrorType.Builder extends SdkPojo, CopyableBuilder<APIErrorType.Builder,APIErrorType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description APIErrorType.BuildererrorCode(String errorCode)The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for exampleResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.APIErrorType.Buildermessage(String message)A message describing the error.APIErrorType.BuildersecretId(String secretId)The ARN or name of the secret.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
secretId
APIErrorType.Builder secretId(String secretId)
The ARN or name of the secret.
- Parameters:
secretId- The ARN or name of the secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
APIErrorType.Builder errorCode(String errorCode)
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example
ResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.- Parameters:
errorCode- The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for exampleResourceNotFoundException,InvalidParameterException,InvalidRequestException,DecryptionFailure, orAccessDeniedException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
APIErrorType.Builder message(String message)
A message describing the error.
- Parameters:
message- A message describing the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-