@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:53.847Z") public enum ServiceIntegrationPattern extends java.lang.Enum<ServiceIntegrationPattern>
Default: FIRE_AND_FORGET
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
static ServiceIntegrationPattern |
valueOf(java.lang.String name)
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.
|
public static final ServiceIntegrationPattern FIRE_AND_FORGET
public static final ServiceIntegrationPattern SYNC
public static final ServiceIntegrationPattern WAIT_FOR_TASK_TOKEN
public static ServiceIntegrationPattern[] values()
for (ServiceIntegrationPattern c : ServiceIntegrationPattern.values()) System.out.println(c);
public static ServiceIntegrationPattern valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null