public static interface ExperimentAction.Builder extends SdkPojo, CopyableBuilder<ExperimentAction.Builder,ExperimentAction>
| Modifier and Type | Method and Description |
|---|---|
ExperimentAction.Builder |
actionId(String actionId)
The ID of the action.
|
ExperimentAction.Builder |
description(String description)
The description for the action.
|
ExperimentAction.Builder |
parameters(Map<String,String> parameters)
The parameters for the action.
|
ExperimentAction.Builder |
startAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
|
ExperimentAction.Builder |
startAfter(String... startAfter)
The name of the action that must be completed before this action starts.
|
default ExperimentAction.Builder |
state(Consumer<ExperimentActionState.Builder> state)
The state of the action.
|
ExperimentAction.Builder |
state(ExperimentActionState state)
The state of the action.
|
ExperimentAction.Builder |
targets(Map<String,String> targets)
The targets for the action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildExperimentAction.Builder actionId(String actionId)
The ID of the action.
actionId - The ID of the action.ExperimentAction.Builder description(String description)
The description for the action.
description - The description for the action.ExperimentAction.Builder parameters(Map<String,String> parameters)
The parameters for the action.
parameters - The parameters for the action.ExperimentAction.Builder targets(Map<String,String> targets)
The targets for the action.
targets - The targets for the action.ExperimentAction.Builder startAfter(Collection<String> startAfter)
The name of the action that must be completed before this action starts.
startAfter - The name of the action that must be completed before this action starts.ExperimentAction.Builder startAfter(String... startAfter)
The name of the action that must be completed before this action starts.
startAfter - The name of the action that must be completed before this action starts.ExperimentAction.Builder state(ExperimentActionState state)
The state of the action.
state - The state of the action.default ExperimentAction.Builder state(Consumer<ExperimentActionState.Builder> state)
The state of the action.
This is a convenience that creates an instance of theExperimentActionState.Builder avoiding the need
to create one manually via ExperimentActionState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to state(ExperimentActionState).state - a consumer that will call methods on ExperimentActionState.Builderstate(ExperimentActionState)Copyright © 2021. All rights reserved.