public static interface CustomAction.Builder extends SdkPojo, CopyableBuilder<CustomAction.Builder,CustomAction>
| Modifier and Type | Method and Description |
|---|---|
CustomAction.Builder |
actionDefinition(ActionDefinition actionDefinition)
The custom action associated with the action name.
|
default CustomAction.Builder |
actionDefinition(Consumer<ActionDefinition.Builder> actionDefinition)
The custom action associated with the action name.
|
CustomAction.Builder |
actionName(String actionName)
The descriptive name of the custom action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomAction.Builder actionName(String actionName)
The descriptive name of the custom action. You can't change the name of a custom action after you create it.
actionName - The descriptive name of the custom action. You can't change the name of a custom action after you
create it.CustomAction.Builder actionDefinition(ActionDefinition actionDefinition)
The custom action associated with the action name.
actionDefinition - The custom action associated with the action name.default CustomAction.Builder actionDefinition(Consumer<ActionDefinition.Builder> actionDefinition)
The custom action associated with the action name.
This is a convenience method that creates an instance of theActionDefinition.Builder avoiding the
need to create one manually via ActionDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to actionDefinition(ActionDefinition).
actionDefinition - a consumer that will call methods on ActionDefinition.BuilderactionDefinition(ActionDefinition)Copyright © 2023. All rights reserved.