@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSBCMDataExportsException
You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceQuotaExceededException(String message)
Constructs a new ServiceQuotaExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getQuotaCode()
The quota code that was exceeded.
|
String |
getResourceId()
The identifier of the resource that exceeded quota.
|
String |
getResourceType()
The type of the resource that exceeded quota.
|
String |
getServiceCode()
The service code that exceeded quota.
|
void |
setQuotaCode(String quotaCode)
The quota code that was exceeded.
|
void |
setResourceId(String resourceId)
The identifier of the resource that exceeded quota.
|
void |
setResourceType(String resourceType)
The type of the resource that exceeded quota.
|
void |
setServiceCode(String serviceCode)
The service code that exceeded quota.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The quota code that was exceeded.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The identifier of the resource that exceeded quota.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of the resource that exceeded quota.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The service code that exceeded quota.
|
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 ServiceQuotaExceededException(String message)
message
- Describes the error encountered.public void setQuotaCode(String quotaCode)
The quota code that was exceeded.
quotaCode
- The quota code that was exceeded.public String getQuotaCode()
The quota code that was exceeded.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The quota code that was exceeded.
quotaCode
- The quota code that was exceeded.public void setResourceId(String resourceId)
The identifier of the resource that exceeded quota.
resourceId
- The identifier of the resource that exceeded quota.public String getResourceId()
The identifier of the resource that exceeded quota.
public ServiceQuotaExceededException withResourceId(String resourceId)
The identifier of the resource that exceeded quota.
resourceId
- The identifier of the resource that exceeded quota.public void setResourceType(String resourceType)
The type of the resource that exceeded quota.
resourceType
- The type of the resource that exceeded quota.public String getResourceType()
The type of the resource that exceeded quota.
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of the resource that exceeded quota.
resourceType
- The type of the resource that exceeded quota.public void setServiceCode(String serviceCode)
The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.
serviceCode
- The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.public String getServiceCode()
The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.
serviceCode
- The service code that exceeded quota. It will always be “AWSBillingAndCostManagementDataExports”.