Interface ErrorReason.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ErrorReason.Builder,ErrorReason>, SdkBuilder<ErrorReason.Builder,ErrorReason>, SdkPojo
Enclosing class:
ErrorReason

public static interface ErrorReason.Builder extends SdkPojo, CopyableBuilder<ErrorReason.Builder,ErrorReason>
  • Method Details

    • errorCode

      ErrorReason.Builder errorCode(String errorCode)

      Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Parameters:
      errorCode - Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      ErrorReason.Builder errorCode(ErrorCode errorCode)

      Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Parameters:
      errorCode - Service Quotas returns the following error values:

      • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

      • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

      • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

      • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      ErrorReason.Builder errorMessage(String errorMessage)

      The error message.

      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.