Interface AssignedSessionAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssignedSessionAction.Builder,
,AssignedSessionAction> SdkBuilder<AssignedSessionAction.Builder,
,AssignedSessionAction> SdkPojo
- Enclosing class:
AssignedSessionAction
@Mutable
@NotThreadSafe
public static interface AssignedSessionAction.Builder
extends SdkPojo, CopyableBuilder<AssignedSessionAction.Builder,AssignedSessionAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssignedSessionAction.Builder
definition
(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
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 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.Builder
avoiding the need to create one manually viaAssignedSessionActionDefinition.builder()
.When the
Consumer
completes,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:
-