Enum ServiceIntegrationPattern
java.lang.Object
java.lang.Enum<ServiceIntegrationPattern>
software.amazon.awscdk.services.stepfunctions.ServiceIntegrationPattern
- All Implemented Interfaces:
Serializable
,Comparable<ServiceIntegrationPattern>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-27T16:51:05.951Z")
@Stability(Stable)
public enum ServiceIntegrationPattern
extends Enum<ServiceIntegrationPattern>
Three ways to call an integrated service: Request Response, Run a Job and Wait for a Callback with Task Token.
Default: FIRE_AND_FORGET
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCall a service and progress to the next state immediately after the API call completes.Call a service and wait for a job to complete.Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceIntegrationPattern
Returns the enum constant of this type with the specified name.static ServiceIntegrationPattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FIRE_AND_FORGET
Call a service and progress to the next state immediately after the API call completes. -
SYNC
Call a service and wait for a job to complete. -
WAIT_FOR_TASK_TOKEN
Call a service with a task token and wait until that token is returned by SendTaskSuccess/SendTaskFailure with payload.
-
-
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
-