@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:26.822Z") @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 © 2023. All rights reserved.