@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLimitExceededException extends AWSBillingConductorException
The request would cause a service limit to exceed.
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 unique code identifier of the service limit that is being exceeded.
|
String |
getResourceId()
Identifier of the resource affected.
|
String |
getResourceType()
Type of the resource affected.
|
String |
getServiceCode()
The unique code for the service of the limit that is being exceeded.
|
void |
setLimitCode(String limitCode)
The unique code identifier of the service limit that is being exceeded.
|
void |
setResourceId(String resourceId)
Identifier of the resource affected.
|
void |
setResourceType(String resourceType)
Type of the resource affected.
|
void |
setServiceCode(String serviceCode)
The unique code for the service of the limit that is being exceeded.
|
ServiceLimitExceededException |
withLimitCode(String limitCode)
The unique code identifier of the service limit that is being exceeded.
|
ServiceLimitExceededException |
withResourceId(String resourceId)
Identifier of the resource affected.
|
ServiceLimitExceededException |
withResourceType(String resourceType)
Type of the resource affected.
|
ServiceLimitExceededException |
withServiceCode(String serviceCode)
The unique code for the service of the limit that is being 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)
Identifier of the resource affected.
resourceId
- Identifier of the resource affected.public String getResourceId()
Identifier of the resource affected.
public ServiceLimitExceededException withResourceId(String resourceId)
Identifier of the resource affected.
resourceId
- Identifier of the resource affected.public void setResourceType(String resourceType)
Type of the resource affected.
resourceType
- Type of the resource affected.public String getResourceType()
Type of the resource affected.
public ServiceLimitExceededException withResourceType(String resourceType)
Type of the resource affected.
resourceType
- Type of the resource affected.public void setLimitCode(String limitCode)
The unique code identifier of the service limit that is being exceeded.
limitCode
- The unique code identifier of the service limit that is being exceeded.public String getLimitCode()
The unique code identifier of the service limit that is being exceeded.
public ServiceLimitExceededException withLimitCode(String limitCode)
The unique code identifier of the service limit that is being exceeded.
limitCode
- The unique code identifier of the service limit that is being exceeded.public void setServiceCode(String serviceCode)
The unique code for the service of the limit that is being exceeded.
serviceCode
- The unique code for the service of the limit that is being exceeded.public String getServiceCode()
The unique code for the service of the limit that is being exceeded.
public ServiceLimitExceededException withServiceCode(String serviceCode)
The unique code for the service of the limit that is being exceeded.
serviceCode
- The unique code for the service of the limit that is being exceeded.