Interface CustomAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CustomAction.Builder,,CustomAction> SdkBuilder<CustomAction.Builder,,CustomAction> SdkPojo
- Enclosing class:
CustomAction
public static interface CustomAction.Builder
extends SdkPojo, CopyableBuilder<CustomAction.Builder,CustomAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomAction.BuilderactionDefinition(Consumer<ActionDefinition.Builder> actionDefinition) The custom action associated with the action name.actionDefinition(ActionDefinition actionDefinition) The custom action associated with the action name.actionName(String actionName) The descriptive name of the custom action.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, sdkFields
-
Method Details
-
actionName
The descriptive name of the custom action. You can't change the name of a custom action after you create it.
- Parameters:
actionName- The descriptive name of the custom action. You can't change the name of a custom action after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinition
The custom action associated with the action name.
- Parameters:
actionDefinition- The custom action associated with the action name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionDefinition
The custom action associated with the action name.
This is a convenience method that creates an instance of theActionDefinition.Builderavoiding the need to create one manually viaActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionDefinition(ActionDefinition).- Parameters:
actionDefinition- a consumer that will call methods onActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-