@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:38.428Z") @Stability(value=Experimental) public enum ServiceIntegrationPattern extends Enum<ServiceIntegrationPattern>
Default: FIRE_AND_FORGET
Here, they are named as FIRE_AND_FORGET, SYNC and WAIT_FOR_TASK_TOKEN respectfully.| Enum Constant and Description |
|---|
FIRE_AND_FORGET
(experimental) Call a service and progress to the next state immediately after the API call completes.
|
SYNC
(experimental) Call a service and wait for a job to complete.
|
WAIT_FOR_TASK_TOKEN
(experimental) 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=Experimental) public static final ServiceIntegrationPattern FIRE_AND_FORGET
@Stability(value=Experimental) public static final ServiceIntegrationPattern SYNC
@Stability(value=Experimental) 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.