Interface LayerCustomAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LayerCustomAction.Builder,LayerCustomAction>,SdkBuilder<LayerCustomAction.Builder,LayerCustomAction>,SdkPojo
- Enclosing class:
- LayerCustomAction
@Mutable @NotThreadSafe public static interface LayerCustomAction.Builder extends SdkPojo, CopyableBuilder<LayerCustomAction.Builder,LayerCustomAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LayerCustomAction.BuilderactionOperations(Collection<LayerCustomActionOperation> actionOperations)A list ofLayerCustomActionOperations.LayerCustomAction.BuilderactionOperations(Consumer<LayerCustomActionOperation.Builder>... actionOperations)A list ofLayerCustomActionOperations.LayerCustomAction.BuilderactionOperations(LayerCustomActionOperation... actionOperations)A list ofLayerCustomActionOperations.LayerCustomAction.BuildercustomActionId(String customActionId)The ID of the custom action.LayerCustomAction.Buildername(String name)The name of the custom action.LayerCustomAction.Builderstatus(String status)The status of theLayerCustomAction.LayerCustomAction.Builderstatus(WidgetStatus status)The status of theLayerCustomAction.LayerCustomAction.Buildertrigger(String trigger)The trigger of theLayerCustomAction.LayerCustomAction.Buildertrigger(LayerCustomActionTrigger trigger)The trigger of theLayerCustomAction.-
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
LayerCustomAction.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
LayerCustomAction.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
LayerCustomAction.Builder status(String status)
The status of the
LayerCustomAction.- Parameters:
status- The status of theLayerCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
status
LayerCustomAction.Builder status(WidgetStatus status)
The status of the
LayerCustomAction.- Parameters:
status- The status of theLayerCustomAction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
WidgetStatus,WidgetStatus
-
trigger
LayerCustomAction.Builder trigger(String trigger)
The trigger of the
LayerCustomAction.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 theLayerCustomAction.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:
LayerCustomActionTrigger,LayerCustomActionTrigger
-
-
trigger
LayerCustomAction.Builder trigger(LayerCustomActionTrigger trigger)
The trigger of the
LayerCustomAction.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 theLayerCustomAction.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:
LayerCustomActionTrigger,LayerCustomActionTrigger
-
-
actionOperations
LayerCustomAction.Builder actionOperations(Collection<LayerCustomActionOperation> actionOperations)
A list of
LayerCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofLayerCustomActionOperations.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
LayerCustomAction.Builder actionOperations(LayerCustomActionOperation... actionOperations)
A list of
LayerCustomActionOperations.This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
- Parameters:
actionOperations- A list ofLayerCustomActionOperations.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
LayerCustomAction.Builder actionOperations(Consumer<LayerCustomActionOperation.Builder>... actionOperations)
A list of
LayerCustomActionOperations.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 theLayerCustomActionOperation.Builderavoiding the need to create one manually viaLayerCustomActionOperation.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 onLayerCustomActionOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionOperations(java.util.Collection)
-
-