Interface CreateWorkflowStepRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkflowStepRequest.Builder,,CreateWorkflowStepRequest> MigrationHubOrchestratorRequest.Builder,SdkBuilder<CreateWorkflowStepRequest.Builder,,CreateWorkflowStepRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkflowStepRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the step.The name of the step.The next step.next(Collection<String> next) The next step.outputs(Collection<WorkflowStepOutput> outputs) The key value pairs added for the expected output.outputs(Consumer<WorkflowStepOutput.Builder>... outputs) The key value pairs added for the expected output.outputs(WorkflowStepOutput... outputs) The key value pairs added for the expected output.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The previous step.previous(Collection<String> previous) The previous step.stepActionType(String stepActionType) The action type of the step.stepActionType(StepActionType stepActionType) The action type of the step.stepGroupId(String stepGroupId) The ID of the step group.stepTarget(String... stepTarget) The servers on which a step will be run.stepTarget(Collection<String> stepTarget) The servers on which a step will be run.workflowId(String workflowId) The ID of the migration workflow.workflowStepAutomationConfiguration(Consumer<WorkflowStepAutomationConfiguration.Builder> workflowStepAutomationConfiguration) The custom script to run tests on source or target environments.workflowStepAutomationConfiguration(WorkflowStepAutomationConfiguration workflowStepAutomationConfiguration) The custom script to run tests on source or target environments.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.migrationhuborchestrator.model.MigrationHubOrchestratorRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the step.
- Parameters:
name- The name of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepGroupId
The ID of the step group.
- Parameters:
stepGroupId- The ID of the step group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowId
The ID of the migration workflow.
- Parameters:
workflowId- The ID of the migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepActionType
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
- Parameters:
stepActionType- The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepActionType
The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.
- Parameters:
stepActionType- The action type of the step. You must run and update the status of a manual step for the workflow to continue after the completion of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the step.
- Parameters:
description- The description of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowStepAutomationConfiguration
CreateWorkflowStepRequest.Builder workflowStepAutomationConfiguration(WorkflowStepAutomationConfiguration workflowStepAutomationConfiguration) The custom script to run tests on source or target environments.
- Parameters:
workflowStepAutomationConfiguration- The custom script to run tests on source or target environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowStepAutomationConfiguration
default CreateWorkflowStepRequest.Builder workflowStepAutomationConfiguration(Consumer<WorkflowStepAutomationConfiguration.Builder> workflowStepAutomationConfiguration) The custom script to run tests on source or target environments.
This is a convenience method that creates an instance of theWorkflowStepAutomationConfiguration.Builderavoiding the need to create one manually viaWorkflowStepAutomationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflowStepAutomationConfiguration(WorkflowStepAutomationConfiguration).- Parameters:
workflowStepAutomationConfiguration- a consumer that will call methods onWorkflowStepAutomationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepTarget
The servers on which a step will be run.
- Parameters:
stepTarget- The servers on which a step will be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stepTarget
The servers on which a step will be run.
- Parameters:
stepTarget- The servers on which a step will be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The key value pairs added for the expected output.
- Parameters:
outputs- The key value pairs added for the expected output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The key value pairs added for the expected output.
- Parameters:
outputs- The key value pairs added for the expected output.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The key value pairs added for the expected output.
This is a convenience method that creates an instance of theWorkflowStepOutput.Builderavoiding the need to create one manually viaWorkflowStepOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputs(List<WorkflowStepOutput>).- Parameters:
outputs- a consumer that will call methods onWorkflowStepOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previous
The previous step.
- Parameters:
previous- The previous step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previous
The previous step.
- Parameters:
previous- The previous step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
next
The next step.
- Parameters:
next- The next step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
next
The next step.
- Parameters:
next- The next step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateWorkflowStepRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateWorkflowStepRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-