@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLimitExceededException extends AWSRoute53RecoveryClusterException
The request can't update that many routing control states at the same time. Try again with fewer routing control states.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceLimitExceededException(String message)
Constructs a new ServiceLimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getLimitCode()
The code of the limit that was exceeded.
|
String |
getResourceId()
The resource identifier of the limit that was exceeded.
|
String |
getResourceType()
The resource type of the limit that was exceeded.
|
String |
getServiceCode()
The service code of the limit that was exceeded.
|
void |
setLimitCode(String limitCode)
The code of the limit that was exceeded.
|
void |
setResourceId(String resourceId)
The resource identifier of the limit that was exceeded.
|
void |
setResourceType(String resourceType)
The resource type of the limit that was exceeded.
|
void |
setServiceCode(String serviceCode)
The service code of the limit that was exceeded.
|
ServiceLimitExceededException |
withLimitCode(String limitCode)
The code of the limit that was exceeded.
|
ServiceLimitExceededException |
withResourceId(String resourceId)
The resource identifier of the limit that was exceeded.
|
ServiceLimitExceededException |
withResourceType(String resourceType)
The resource type of the limit that was exceeded.
|
ServiceLimitExceededException |
withServiceCode(String serviceCode)
The service code of the limit that was exceeded.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ServiceLimitExceededException(String message)
message
- Describes the error encountered.public void setResourceId(String resourceId)
The resource identifier of the limit that was exceeded.
resourceId
- The resource identifier of the limit that was exceeded.public String getResourceId()
The resource identifier of the limit that was exceeded.
public ServiceLimitExceededException withResourceId(String resourceId)
The resource identifier of the limit that was exceeded.
resourceId
- The resource identifier of the limit that was exceeded.public void setResourceType(String resourceType)
The resource type of the limit that was exceeded.
resourceType
- The resource type of the limit that was exceeded.public String getResourceType()
The resource type of the limit that was exceeded.
public ServiceLimitExceededException withResourceType(String resourceType)
The resource type of the limit that was exceeded.
resourceType
- The resource type of the limit that was exceeded.public void setLimitCode(String limitCode)
The code of the limit that was exceeded.
limitCode
- The code of the limit that was exceeded.public String getLimitCode()
The code of the limit that was exceeded.
public ServiceLimitExceededException withLimitCode(String limitCode)
The code of the limit that was exceeded.
limitCode
- The code of the limit that was exceeded.public void setServiceCode(String serviceCode)
The service code of the limit that was exceeded.
serviceCode
- The service code of the limit that was exceeded.public String getServiceCode()
The service code of the limit that was exceeded.
public ServiceLimitExceededException withServiceCode(String serviceCode)
The service code of the limit that was exceeded.
serviceCode
- The service code of the limit that was exceeded.