Interface AssignedSessionAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssignedSessionAction.Builder,,AssignedSessionAction> SdkBuilder<AssignedSessionAction.Builder,,AssignedSessionAction> SdkPojo
- Enclosing class:
AssignedSessionAction
public static interface AssignedSessionAction.Builder
extends SdkPojo, CopyableBuilder<AssignedSessionAction.Builder,AssignedSessionAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssignedSessionAction.Builderdefinition(Consumer<AssignedSessionActionDefinition.Builder> definition) The definition of the assigned session action.definition(AssignedSessionActionDefinition definition) The definition of the assigned session action.sessionActionId(String sessionActionId) The session action ID for the assigned session.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
-
sessionActionId
The session action ID for the assigned session.
- Parameters:
sessionActionId- The session action ID for the assigned session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The definition of the assigned session action.
- Parameters:
definition- The definition of the assigned session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default AssignedSessionAction.Builder definition(Consumer<AssignedSessionActionDefinition.Builder> definition) The definition of the assigned session action.
This is a convenience method that creates an instance of theAssignedSessionActionDefinition.Builderavoiding the need to create one manually viaAssignedSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(AssignedSessionActionDefinition).- Parameters:
definition- a consumer that will call methods onAssignedSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-