Enum TriggerType
- java.lang.Object
-
- java.lang.Enum<TriggerType>
-
- software.amazon.awssdk.services.codepipeline.model.TriggerType
-
- All Implemented Interfaces:
Serializable,Comparable<TriggerType>
@Generated("software.amazon.awssdk:codegen") public enum TriggerType extends Enum<TriggerType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOMATED_ROLLBACKCLOUD_WATCH_EVENTCREATE_PIPELINEMANUAL_ROLLBACKPOLL_FOR_SOURCE_CHANGESPUT_ACTION_REVISIONSTART_PIPELINE_EXECUTIONUNKNOWN_TO_SDK_VERSIONWEBHOOKWEBHOOK_V2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TriggerTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<TriggerType>knownValues()StringtoString()static TriggerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TriggerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_PIPELINE
public static final TriggerType CREATE_PIPELINE
-
START_PIPELINE_EXECUTION
public static final TriggerType START_PIPELINE_EXECUTION
-
POLL_FOR_SOURCE_CHANGES
public static final TriggerType POLL_FOR_SOURCE_CHANGES
-
WEBHOOK
public static final TriggerType WEBHOOK
-
CLOUD_WATCH_EVENT
public static final TriggerType CLOUD_WATCH_EVENT
-
PUT_ACTION_REVISION
public static final TriggerType PUT_ACTION_REVISION
-
WEBHOOK_V2
public static final TriggerType WEBHOOK_V2
-
MANUAL_ROLLBACK
public static final TriggerType MANUAL_ROLLBACK
-
AUTOMATED_ROLLBACK
public static final TriggerType AUTOMATED_ROLLBACK
-
UNKNOWN_TO_SDK_VERSION
public static final TriggerType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static TriggerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TriggerType c : TriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerType valueOf(String name)
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
public String toString()
- Overrides:
toStringin classEnum<TriggerType>
-
fromValue
public static TriggerType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- TriggerType corresponding to the value
-
knownValues
public static Set<TriggerType> 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 knownTriggerTypes
-
-