@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSPcaConnectorScepException
The request would cause a service quota to be exceeded.
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 identifier.
|
String |
getResourceType()
The resource type, which can be either
Connector or Challenge . |
String |
getServiceCode()
Identifies the originating service.
|
void |
setQuotaCode(String quotaCode)
The quota identifier.
|
void |
setResourceType(String resourceType)
The resource type, which can be either
Connector or Challenge . |
void |
setServiceCode(String serviceCode)
Identifies the originating service.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The quota identifier.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The resource type, which can be either
Connector or Challenge . |
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
Identifies the originating service.
|
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 setResourceType(String resourceType)
The resource type, which can be either Connector
or Challenge
.
resourceType
- The resource type, which can be either Connector
or Challenge
.public String getResourceType()
The resource type, which can be either Connector
or Challenge
.
Connector
or Challenge
.public ServiceQuotaExceededException withResourceType(String resourceType)
The resource type, which can be either Connector
or Challenge
.
resourceType
- The resource type, which can be either Connector
or Challenge
.public void setServiceCode(String serviceCode)
Identifies the originating service.
serviceCode
- Identifies the originating service.public String getServiceCode()
Identifies the originating service.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
Identifies the originating service.
serviceCode
- Identifies the originating service.public void setQuotaCode(String quotaCode)
The quota identifier.
quotaCode
- The quota identifier.public String getQuotaCode()
The quota identifier.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The quota identifier.
quotaCode
- The quota identifier.