Interface SessionActionDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SessionActionDefinition.Builder,,SessionActionDefinition> SdkBuilder<SessionActionDefinition.Builder,,SessionActionDefinition> SdkPojo
- Enclosing class:
SessionActionDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefault SessionActionDefinition.BuilderThe environment to enter into.The environment to enter into.default SessionActionDefinition.BuilderThe environment to exit from.The environment to exit from.default SessionActionDefinition.BuildersyncInputJobAttachments(Consumer<SyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments) The job attachments to sync with a session action.syncInputJobAttachments(SyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments) The job attachments to sync with a session action.default SessionActionDefinition.BuilderThe task run in the session.taskRun(TaskRunSessionActionDefinition taskRun) The task run in the 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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:
-
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:
-