Interface ImageCustomAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ImageCustomAction.Builder,ImageCustomAction>,SdkBuilder<ImageCustomAction.Builder,ImageCustomAction>,SdkPojo
- Enclosing class:
- ImageCustomAction
@Mutable @NotThreadSafe public static interface ImageCustomAction.Builder extends SdkPojo, CopyableBuilder<ImageCustomAction.Builder,ImageCustomAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImageCustomAction.BuilderactionOperations(Collection<ImageCustomActionOperation> actionOperations)A list ofImageCustomActionOperations.ImageCustomAction.BuilderactionOperations(Consumer<ImageCustomActionOperation.Builder>... actionOperations)A list ofImageCustomActionOperations.ImageCustomAction.BuilderactionOperations(ImageCustomActionOperation... actionOperations)A list ofImageCustomActionOperations.ImageCustomAction.BuildercustomActionId(String customActionId)The ID of the custom action.ImageCustomAction.Buildername(String name)The name of the custom action.ImageCustomAction.Builderstatus(String status)The status of the custom action.ImageCustomAction.Builderstatus(WidgetStatus status)The status of the custom action.ImageCustomAction.Buildertrigger(String trigger)The trigger of theVisualCustomAction.ImageCustomAction.Buildertrigger(ImageCustomActionTrigger 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
ImageCustomAction.Builder customActionId(String 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
ImageCustomAction.Builder name(String 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
ImageCustomAction.Builder status(String 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:
WidgetStatus,WidgetStatus
-
status
ImageCustomAction.Builder status(WidgetStatus 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:
WidgetStatus,WidgetStatus
-
trigger
ImageCustomAction.Builder trigger(String 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:
ImageCustomActionTrigger,ImageCustomActionTrigger
-
-
trigger
ImageCustomAction.Builder trigger(ImageCustomActionTrigger 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:
ImageCustomActionTrigger,ImageCustomActionTrigger
-
-
actionOperations
ImageCustomAction.Builder actionOperations(Collection<ImageCustomActionOperation> 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(ImageCustomActionOperation... 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 to#actionOperations(List.) - 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:
#actionOperations(java.util.Collection)
-
-