@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, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidCampaignStateException(String message)
message
- Describes the error encountered.public void setState(String state)
state
- CampaignState
public String getState()
CampaignState
public InvalidCampaignStateException withState(String state)
state
- CampaignState
public InvalidCampaignStateException withState(CampaignState state)
state
- CampaignState
public void setXAmzErrorType(String xAmzErrorType)
xAmzErrorType
- public String getXAmzErrorType()
public InvalidCampaignStateException withXAmzErrorType(String xAmzErrorType)
xAmzErrorType
-