Interface SessionActionDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SessionActionDefinition.Builder,SessionActionDefinition>,SdkBuilder<SessionActionDefinition.Builder,SessionActionDefinition>,SdkPojo
- Enclosing class:
- SessionActionDefinition
public static interface SessionActionDefinition.Builder extends SdkPojo, CopyableBuilder<SessionActionDefinition.Builder,SessionActionDefinition>
-
-
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
SessionActionDefinition.Builder envEnter(EnvironmentEnterSessionActionDefinition envEnter)
The environment to enter into.
- Parameters:
envEnter- The environment to enter into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envEnter
default SessionActionDefinition.Builder envEnter(Consumer<EnvironmentEnterSessionActionDefinition.Builder> envEnter)
The environment to enter into.
This is a convenience method that creates an instance of theEnvironmentEnterSessionActionDefinition.Builderavoiding the need to create one manually viaEnvironmentEnterSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvEnter(EnvironmentEnterSessionActionDefinition).- Parameters:
envEnter- a consumer that will call methods onEnvironmentEnterSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
envEnter(EnvironmentEnterSessionActionDefinition)
-
envExit
SessionActionDefinition.Builder envExit(EnvironmentExitSessionActionDefinition envExit)
The environment to exit from.
- Parameters:
envExit- The environment to exit from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envExit
default SessionActionDefinition.Builder envExit(Consumer<EnvironmentExitSessionActionDefinition.Builder> envExit)
The environment to exit from.
This is a convenience method that creates an instance of theEnvironmentExitSessionActionDefinition.Builderavoiding the need to create one manually viaEnvironmentExitSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvExit(EnvironmentExitSessionActionDefinition).- Parameters:
envExit- a consumer that will call methods onEnvironmentExitSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
envExit(EnvironmentExitSessionActionDefinition)
-
syncInputJobAttachments
SessionActionDefinition.Builder syncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments)
The job attachments to sync with a session action.
- Parameters:
syncInputJobAttachments- The job attachments to sync with a session action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncInputJobAttachments
default SessionActionDefinition.Builder syncInputJobAttachments(Consumer<SyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments)
The job attachments to sync with a session action.
This is a convenience method that creates an instance of theSyncInputJobAttachmentsSessionActionDefinition.Builderavoiding the need to create one manually viaSyncInputJobAttachmentsSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosyncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition).- Parameters:
syncInputJobAttachments- a consumer that will call methods onSyncInputJobAttachmentsSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
syncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition)
-
taskRun
SessionActionDefinition.Builder taskRun(TaskRunSessionActionDefinition taskRun)
The task run in the session.
- Parameters:
taskRun- The task run in the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRun
default SessionActionDefinition.Builder taskRun(Consumer<TaskRunSessionActionDefinition.Builder> taskRun)
The task run in the session.
This is a convenience method that creates an instance of theTaskRunSessionActionDefinition.Builderavoiding the need to create one manually viaTaskRunSessionActionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaskRun(TaskRunSessionActionDefinition).- Parameters:
taskRun- a consumer that will call methods onTaskRunSessionActionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taskRun(TaskRunSessionActionDefinition)
-
-