@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidCampaignStateException extends AmazonConnectCampaignException
The request could not be processed because of conflict in the current state of the campaign.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidCampaignStateException(String message)
Constructs a new InvalidCampaignStateException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getState() |
String |
getXAmzErrorType() |
void |
setState(String state) |
void |
setXAmzErrorType(String xAmzErrorType) |
InvalidCampaignStateException |
withState(CampaignState state) |
InvalidCampaignStateException |
withState(String state) |
InvalidCampaignStateException |
withXAmzErrorType(String xAmzErrorType) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidCampaignStateException(String message)
message - Describes the error encountered.public void setState(String state)
state - CampaignStatepublic String getState()
CampaignStatepublic InvalidCampaignStateException withState(String state)
state - CampaignStatepublic InvalidCampaignStateException withState(CampaignState state)
state - CampaignStatepublic void setXAmzErrorType(String xAmzErrorType)
xAmzErrorType - public String getXAmzErrorType()
public InvalidCampaignStateException withXAmzErrorType(String xAmzErrorType)
xAmzErrorType -