Enum CampaignAssetStateReason
java.lang.Object
java.lang.Enum<CampaignAssetStateReason>
software.amazon.awssdk.services.partnercentralmarketing.model.CampaignAssetStateReason
- All Implemented Interfaces:
Serializable,Comparable<CampaignAssetStateReason>
@Generated("software.amazon.awssdk:codegen")
public enum CampaignAssetStateReason
extends Enum<CampaignAssetStateReason>
Why an asset could not be, or was not, activated or delivered — the one per-asset reason vocabulary: a task outcome's
Reason (refused up front or failed during the run), an ActivationIssue's Code,
DeactivateCampaignAsset's StateReason, and an asset's DeliveryStatusReason.
Some of these require a change before another attempt can succeed; others are transient and a retry is enough. Treat an unrecognised value as transient and retryable.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic CampaignAssetStateReasonUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<CampaignAssetStateReason> toString()static CampaignAssetStateReasonReturns the enum constant of this type with the specified name.static CampaignAssetStateReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASSET_NOT_FOUND
-
ASSET_NOT_STARTABLE
-
ASSET_START_IN_PROGRESS
-
ASSET_ALREADY_ACTIVE
-
SEND_WINDOW_TOO_SOON
-
REQUIRED_FIELD_MISSING
-
RECIPIENT_LIST_MISSING
-
ENGAGEMENT_GROUPS_UNAVAILABLE
-
SENDER_EMAIL_MISSING
-
END_ON_MISSING
-
ASSET_CONTENT_MISSING
-
ASSET_NOT_ACTIVATABLE
-
TEMPLATE_CHANGED
-
PARTNER_IMAGE_REJECTED
-
PREREQUISITE_ASSET_NOT_ACTIVE
-
PARTNER_NOT_PROVISIONED
-
RECIPIENT_LIST_EMPTY
-
RECIPIENT_LIMIT_EXCEEDED
-
CONTACT_OPT_IN_REQUIRED
-
MAILING_CREDITS_EXHAUSTED
-
SENDER_EMAIL_INVALID
-
SOCIAL_CONNECTION_MISSING
-
SOCIAL_CONNECTION_EXPIRED
-
SOCIAL_CONNECTION_PAGE_REQUIRED
-
DELIVERY_FAILED
-
INTERNAL_ERROR
-
MAILING_CREDITS_INSUFFICIENT
-
PARTNER_PROFILE_FIELD_MISSING
-
PARTNER_PROFILE_FIELD_DOES_NOT_FIT
-
SOCIAL_CONNECTION_NOT_CHOSEN
-
PRIVACY_POLICY_URL_MISSING
-
PARTNER_ADDRESS_MISSING
-
SEND_MODE_MISSING
-
CONTENT_REJECTED
-
URL_NOT_ALLOWED
-
SENDER_NOT_APPROVED
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<CampaignAssetStateReason>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- CampaignAssetStateReason corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownCampaignAssetStateReasons
-