Interface GetWorkflowStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWorkflowStepResponse.Builder,
,GetWorkflowStepResponse> MigrationHubOrchestratorResponse.Builder
,SdkBuilder<GetWorkflowStepResponse.Builder,
,GetWorkflowStepResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkflowStepResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time at which the step was created.description
(String description) The description of the step.The time at which the step ended.lastStartTime
(Instant lastStartTime) The time at which the workflow was last started.The name of the step.The next step.next
(Collection<String> next) The next step.noOfSrvCompleted
(Integer noOfSrvCompleted) The number of servers that have been migrated.noOfSrvFailed
(Integer noOfSrvFailed) The number of servers that have failed to migrate.outputs
(Collection<WorkflowStepOutput> outputs) The outputs of the step.outputs
(Consumer<WorkflowStepOutput.Builder>... outputs) The outputs of the step.outputs
(WorkflowStepOutput... outputs) The outputs of the step.The owner of the step.The owner of the step.The previous step.previous
(Collection<String> previous) The previous step.scriptOutputLocation
(String scriptOutputLocation) The output location of the script.The status of the step.status
(StepStatus status) The status of the step.statusMessage
(String statusMessage) The status message of the migration workflow.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.The ID of the step.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.totalNoOfSrv
(Integer totalNoOfSrv) The total number of servers that have been migrated.workflowId
(String workflowId) The ID of the migration workflow.default GetWorkflowStepResponse.Builder
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.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhuborchestrator.model.MigrationHubOrchestratorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
stepId
The ID of the step.
- Parameters:
stepId
- The ID of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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:
-
owner
The owner of the step.
- Parameters:
owner
- The owner of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
owner
The owner of the step.
- Parameters:
owner
- The owner of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowStepAutomationConfiguration
GetWorkflowStepResponse.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 GetWorkflowStepResponse.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.Builder
avoiding the need to create one manually viaWorkflowStepAutomationConfiguration.builder()
.When the
Consumer
completes,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 outputs of the step.
- Parameters:
outputs
- The outputs of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs of the step.
- Parameters:
outputs
- The outputs of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
The outputs of the step.
This is a convenience method that creates an instance of theWorkflowStepOutput.Builder
avoiding the need to create one manually viaWorkflowStepOutput.builder()
.When the
Consumer
completes,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.
-
status
The status of the step.
- Parameters:
status
- The status of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the step.
- Parameters:
status
- The status of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
The status message of the migration workflow.
- Parameters:
statusMessage
- The status message of the migration workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptOutputLocation
The output location of the script.
- Parameters:
scriptOutputLocation
- The output location of the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time at which the step was created.
- Parameters:
creationTime
- The time at which the step was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastStartTime
The time at which the workflow was last started.
- Parameters:
lastStartTime
- The time at which the workflow was last started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The time at which the step ended.
- Parameters:
endTime
- The time at which the step ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noOfSrvCompleted
The number of servers that have been migrated.
- Parameters:
noOfSrvCompleted
- The number of servers that have been migrated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
noOfSrvFailed
The number of servers that have failed to migrate.
- Parameters:
noOfSrvFailed
- The number of servers that have failed to migrate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalNoOfSrv
The total number of servers that have been migrated.
- Parameters:
totalNoOfSrv
- The total number of servers that have been migrated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-