@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSIdentityStoreException
Indicates that the principal has crossed the throttling limits of the API operations.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ThrottlingException(String message)
Constructs a new ThrottlingException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRequestId()
The identifier for each request.
|
Integer |
getRetryAfterSeconds()
The number of seconds to wait before retrying the next request.
|
void |
setRequestId(String requestId)
The identifier for each request.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
|
ThrottlingException |
withRequestId(String requestId)
The identifier for each request.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ThrottlingException(String message)
message
- Describes the error encountered.public void setRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
setRequestId
in class AmazonServiceException
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.public String getRequestId()
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
getRequestId
in class AmazonServiceException
public ThrottlingException withRequestId(String requestId)
The identifier for each request. This value is a globally unique ID that is generated by the identity store service for each sent request, and is then returned inside the exception if the request fails.
requestId
- The identifier for each request. This value is a globally unique ID that is generated by the identity
store service for each sent request, and is then returned inside the exception if the request fails.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
retryAfterSeconds
- The number of seconds to wait before retrying the next request.public Integer getRetryAfterSeconds()
The number of seconds to wait before retrying the next request.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the next request.
retryAfterSeconds
- The number of seconds to wait before retrying the next request.Copyright © 2024. All rights reserved.