@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.403Z") @Stability(value=Stable) public enum ServiceIntegrationPattern extends 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(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 © 2022. All rights reserved.