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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorReason.BuildererrorCode(String errorCode)Service Quotas returns the following error values:ErrorReason.BuildererrorCode(ErrorCode errorCode)Service Quotas returns the following error values:ErrorReason.BuildererrorMessage(String errorMessage)The error message.-
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, sdkFields
-
-
-
-
Method Detail
-
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,ErrorCode
-
-
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:
ErrorCode,ErrorCode
-
-
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.
-
-