Interface ImageCustomAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImageCustomAction.Builder,,ImageCustomAction> SdkBuilder<ImageCustomAction.Builder,,ImageCustomAction> SdkPojo
- Enclosing class:
ImageCustomAction
-
Method Summary
Modifier and TypeMethodDescriptionactionOperations(Collection<ImageCustomActionOperation> actionOperations) A list ofImageCustomActionOperations.actionOperations(Consumer<ImageCustomActionOperation.Builder>... actionOperations) A list ofImageCustomActionOperations.actionOperations(ImageCustomActionOperation... actionOperations) A list ofImageCustomActionOperations.customActionId(String customActionId) The ID of the custom action.The name of the custom action.The status of the custom action.status(WidgetStatus status) The status of the custom action.The trigger of theVisualCustomAction.trigger(ImageCustomActionTrigger trigger) The trigger of theVisualCustomAction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
customActionId
The ID of the custom action.
- Parameters:
customActionId- The ID of the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the custom action.
- Parameters:
name- The name of the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the custom action.
- Parameters:
status- The status of the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the custom action.
- Parameters:
status- The status of the custom action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trigger
The trigger of the
VisualCustomAction.Valid values are defined as follows:
-
CLICK: Initiates a custom action by a left pointer click on a 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:
-
CLICK: Initiates a custom action by a left pointer click on a 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:
-
-
trigger
The trigger of the
VisualCustomAction.Valid values are defined as follows:
-
CLICK: Initiates a custom action by a left pointer click on a 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:
-
CLICK: Initiates a custom action by a left pointer click on a 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:
-
-
actionOperations
A list of
ImageCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofImageCustomActionOperations.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
A list of
ImageCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofImageCustomActionOperations.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
ImageCustomAction.Builder actionOperations(Consumer<ImageCustomActionOperation.Builder>... actionOperations) A list of
ImageCustomActionOperations.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 theImageCustomActionOperation.Builderavoiding the need to create one manually viaImageCustomActionOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionOperations(List<ImageCustomActionOperation>).- Parameters:
actionOperations- a consumer that will call methods onImageCustomActionOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-