Interface LayerCustomAction.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LayerCustomAction.Builder,,- LayerCustomAction> - SdkBuilder<LayerCustomAction.Builder,,- LayerCustomAction> - SdkPojo
- Enclosing class:
- LayerCustomAction
- 
Method SummaryModifier and TypeMethodDescriptionactionOperations(Collection<LayerCustomActionOperation> actionOperations) A list ofLayerCustomActionOperations.actionOperations(Consumer<LayerCustomActionOperation.Builder>... actionOperations) A list ofLayerCustomActionOperations.actionOperations(LayerCustomActionOperation... actionOperations) A list ofLayerCustomActionOperations.customActionId(String customActionId) The ID of the custom action.The name of the custom action.The status of theLayerCustomAction.status(WidgetStatus status) The status of theLayerCustomAction.The trigger of theLayerCustomAction.trigger(LayerCustomActionTrigger trigger) The trigger of theLayerCustomAction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
customActionIdThe 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.
 
- 
nameThe 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.
 
- 
statusThe status of the LayerCustomAction.- Parameters:
- status- The status of the- LayerCustomAction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of the LayerCustomAction.- Parameters:
- status- The status of the- LayerCustomAction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
triggerThe 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 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.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
triggerThe 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 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.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
actionOperationsA 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 of- LayerCustomActionOperations.- 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.
 
- 
actionOperationsA 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 of- LayerCustomActionOperations.- 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.
 
- 
actionOperationsLayerCustomAction.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 toactionOperations(List<LayerCustomActionOperation>).- Parameters:
- actionOperations- a consumer that will call methods on- LayerCustomActionOperation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-