@Generated(value="software.amazon.awssdk:codegen") public final class InvalidCampaignStateException extends ConnectCampaignsException implements ToCopyableBuilder<InvalidCampaignStateException.Builder,InvalidCampaignStateException>
The request could not be processed because of conflict in the current state of the campaign.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InvalidCampaignStateException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InvalidCampaignStateException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends InvalidCampaignStateException.Builder> |
serializableBuilderClass() |
CampaignState |
state()
Returns the value of the State property for this object.
|
String |
stateAsString()
Returns the value of the State property for this object.
|
InvalidCampaignStateException.Builder |
toBuilder() |
String |
xAmzErrorType()
Returns the value of the XAmzErrorType property for this object.
|
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic InvalidCampaignStateException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InvalidCampaignStateException.Builder,InvalidCampaignStateException>toBuilder in class ConnectCampaignsExceptionpublic static InvalidCampaignStateException.Builder builder()
public static Class<? extends InvalidCampaignStateException.Builder> serializableBuilderClass()
public CampaignState state()
If the service returns an enum value that is not available in the current SDK version, state will return
CampaignState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CampaignStatepublic String stateAsString()
If the service returns an enum value that is not available in the current SDK version, state will return
CampaignState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CampaignStatepublic String xAmzErrorType()
Copyright © 2023. All rights reserved.