Interface VisualCustomAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VisualCustomAction.Builder,VisualCustomAction>,SdkBuilder<VisualCustomAction.Builder,VisualCustomAction>,SdkPojo
- Enclosing class:
- VisualCustomAction
@Mutable @NotThreadSafe public static interface VisualCustomAction.Builder extends SdkPojo, CopyableBuilder<VisualCustomAction.Builder,VisualCustomAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VisualCustomAction.BuilderactionOperations(Collection<VisualCustomActionOperation> actionOperations)A list ofVisualCustomActionOperations.VisualCustomAction.BuilderactionOperations(Consumer<VisualCustomActionOperation.Builder>... actionOperations)A list ofVisualCustomActionOperations.VisualCustomAction.BuilderactionOperations(VisualCustomActionOperation... actionOperations)A list ofVisualCustomActionOperations.VisualCustomAction.BuildercustomActionId(String customActionId)The ID of theVisualCustomAction.VisualCustomAction.Buildername(String name)The name of theVisualCustomAction.VisualCustomAction.Builderstatus(String status)The status of theVisualCustomAction.VisualCustomAction.Builderstatus(WidgetStatus status)The status of theVisualCustomAction.VisualCustomAction.Buildertrigger(String trigger)The trigger of theVisualCustomAction.VisualCustomAction.Buildertrigger(VisualCustomActionTrigger trigger)The trigger of theVisualCustomAction.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
customActionId
VisualCustomAction.Builder customActionId(String customActionId)
The ID of the
VisualCustomAction.- Parameters:
customActionId- The ID of theVisualCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
VisualCustomAction.Builder name(String name)
The name of the
VisualCustomAction.- Parameters:
name- The name of theVisualCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
VisualCustomAction.Builder status(String status)
The status of the
VisualCustomAction.- Parameters:
status- The status of theVisualCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
status
VisualCustomAction.Builder status(WidgetStatus status)
The status of the
VisualCustomAction.- Parameters:
status- The status of theVisualCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
trigger
VisualCustomAction.Builder trigger(String trigger)
The trigger of the
VisualCustomAction.Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
- Parameters:
trigger- The trigger of theVisualCustomAction.Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VisualCustomActionTrigger,VisualCustomActionTrigger
-
-
trigger
VisualCustomAction.Builder trigger(VisualCustomActionTrigger trigger)
The trigger of the
VisualCustomAction.Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
- Parameters:
trigger- The trigger of theVisualCustomAction.Valid values are defined as follows:
-
DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. -
DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VisualCustomActionTrigger,VisualCustomActionTrigger
-
-
actionOperations
VisualCustomAction.Builder actionOperations(Collection<VisualCustomActionOperation> actionOperations)
A list of
VisualCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofVisualCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionOperations
VisualCustomAction.Builder actionOperations(VisualCustomActionOperation... actionOperations)
A list of
VisualCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofVisualCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionOperations
VisualCustomAction.Builder actionOperations(Consumer<VisualCustomActionOperation.Builder>... actionOperations)
A list of
VisualCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
This is a convenience method that creates an instance of theVisualCustomActionOperation.Builderavoiding the need to create one manually viaVisualCustomActionOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionOperations(List.) - Parameters:
actionOperations- a consumer that will call methods onVisualCustomActionOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionOperations(java.util.Collection)
-
-