Interface APIErrorType.Builder

    • 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, or AccessDeniedException.

        Parameters:
        errorCode - The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example ResourceNotFoundException, InvalidParameterException, InvalidRequestException, DecryptionFailure, or AccessDeniedException.
        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.