Interface AssignedSessionActionDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition>,SdkBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition>,SdkPojo
- Enclosing class:
- AssignedSessionActionDefinition
public static interface AssignedSessionActionDefinition.Builder extends SdkPojo, CopyableBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
envEnter
AssignedSessionActionDefinition.Builder envEnter(AssignedEnvironmentEnterSessionActionDefinition envEnter)
The environment a session starts on.
- Parameters:
envEnter- The environment a session starts on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envEnter
default AssignedSessionActionDefinition.Builder envEnter(Consumer<AssignedEnvironmentEnterSessionActionDefinition.Builder> envEnter)
The environment a session starts on.
This is a convenience method that creates an instance of theAssignedEnvironmentEnterSessionActionDefinition.Builderavoiding the need to create one manually viaAssignedEnvironmentEnterSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvEnter(AssignedEnvironmentEnterSessionActionDefinition).- Parameters:
envEnter- a consumer that will call methods onAssignedEnvironmentEnterSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
envEnter(AssignedEnvironmentEnterSessionActionDefinition)
-
envExit
AssignedSessionActionDefinition.Builder envExit(AssignedEnvironmentExitSessionActionDefinition envExit)
The environment a session exits from.
- Parameters:
envExit- The environment a session exits from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envExit
default AssignedSessionActionDefinition.Builder envExit(Consumer<AssignedEnvironmentExitSessionActionDefinition.Builder> envExit)
The environment a session exits from.
This is a convenience method that creates an instance of theAssignedEnvironmentExitSessionActionDefinition.Builderavoiding the need to create one manually viaAssignedEnvironmentExitSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvExit(AssignedEnvironmentExitSessionActionDefinition).- Parameters:
envExit- a consumer that will call methods onAssignedEnvironmentExitSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
envExit(AssignedEnvironmentExitSessionActionDefinition)
-
syncInputJobAttachments
AssignedSessionActionDefinition.Builder syncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments)
The job attachment to sync with an assigned session action.
- Parameters:
syncInputJobAttachments- The job attachment to sync with an assigned session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncInputJobAttachments
default AssignedSessionActionDefinition.Builder syncInputJobAttachments(Consumer<AssignedSyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments)
The job attachment to sync with an assigned session action.
This is a convenience method that creates an instance of theAssignedSyncInputJobAttachmentsSessionActionDefinition.Builderavoiding the need to create one manually viaAssignedSyncInputJobAttachmentsSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition).- Parameters:
syncInputJobAttachments- a consumer that will call methods onAssignedSyncInputJobAttachmentsSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
syncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition)
-
taskRun
AssignedSessionActionDefinition.Builder taskRun(AssignedTaskRunSessionActionDefinition taskRun)
The task run.
- Parameters:
taskRun- The task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRun
default AssignedSessionActionDefinition.Builder taskRun(Consumer<AssignedTaskRunSessionActionDefinition.Builder> taskRun)
The task run.
This is a convenience method that creates an instance of theAssignedTaskRunSessionActionDefinition.Builderavoiding the need to create one manually viaAssignedTaskRunSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskRun(AssignedTaskRunSessionActionDefinition).- Parameters:
taskRun- a consumer that will call methods onAssignedTaskRunSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskRun(AssignedTaskRunSessionActionDefinition)
-
-