@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2021-01-06T15:17:33.906Z") @Stability(value=Stable) public enum ServiceIntegrationPattern extends Enum<ServiceIntegrationPattern>
Default: FIRE_AND_FORGET
Here, they are named as FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN respectly.| 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 paylaod.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceIntegrationPattern |
valueOf(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.
|
@Stability(value=Stable) public static final ServiceIntegrationPattern FIRE_AND_FORGET
@Stability(value=Stable) public static final ServiceIntegrationPattern SYNC
@Stability(value=Stable) 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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.