Interface AssignedSessionActionDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssignedSessionActionDefinition.Builder,
,AssignedSessionActionDefinition> SdkBuilder<AssignedSessionActionDefinition.Builder,
,AssignedSessionActionDefinition> SdkPojo
- Enclosing class:
AssignedSessionActionDefinition
-
Method Summary
Modifier and TypeMethodDescriptionThe environment a session starts on.The environment a session starts on.The environment a session exits from.The environment a session exits from.syncInputJobAttachments
(Consumer<AssignedSyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments) The job attachment to sync with an assigned session action.syncInputJobAttachments
(AssignedSyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments) The job attachment to sync with an assigned session action.The task run.The task run.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
-
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.Builder
avoiding the need to create one manually viaAssignedEnvironmentEnterSessionActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaAssignedEnvironmentExitSessionActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaAssignedTaskRunSessionActionDefinition.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaAssignedSyncInputJobAttachmentsSessionActionDefinition.builder()
.When the
Consumer
completes,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:
-