Interface GetWorkflowStepResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWorkflowStepResponse.Builder,GetWorkflowStepResponse>,MigrationHubOrchestratorResponse.Builder,SdkBuilder<GetWorkflowStepResponse.Builder,GetWorkflowStepResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWorkflowStepResponse
public static interface GetWorkflowStepResponse.Builder extends MigrationHubOrchestratorResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowStepResponse.Builder,GetWorkflowStepResponse>
-
-
Method Summary
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
GetWorkflowStepResponse.Builder name(String 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
GetWorkflowStepResponse.Builder stepGroupId(String 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
GetWorkflowStepResponse.Builder workflowId(String 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
GetWorkflowStepResponse.Builder stepId(String 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
GetWorkflowStepResponse.Builder description(String 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
GetWorkflowStepResponse.Builder stepActionType(String 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,StepActionType
-
stepActionType
GetWorkflowStepResponse.Builder stepActionType(StepActionType 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,StepActionType
-
owner
GetWorkflowStepResponse.Builder owner(String owner)
The owner of the step.
-
owner
GetWorkflowStepResponse.Builder owner(Owner owner)
The owner of the step.
-
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.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:
workflowStepAutomationConfiguration(WorkflowStepAutomationConfiguration)
-
stepTarget
GetWorkflowStepResponse.Builder stepTarget(Collection<String> 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
GetWorkflowStepResponse.Builder stepTarget(String... 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
GetWorkflowStepResponse.Builder outputs(Collection<WorkflowStepOutput> 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
GetWorkflowStepResponse.Builder outputs(WorkflowStepOutput... 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
GetWorkflowStepResponse.Builder outputs(Consumer<WorkflowStepOutput.Builder>... outputs)
The outputs of the step.
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 to#outputs(List.) - 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:
#outputs(java.util.Collection)
-
previous
GetWorkflowStepResponse.Builder previous(Collection<String> 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
GetWorkflowStepResponse.Builder previous(String... 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
GetWorkflowStepResponse.Builder next(Collection<String> 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
GetWorkflowStepResponse.Builder next(String... 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
GetWorkflowStepResponse.Builder status(String 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:
StepStatus,StepStatus
-
status
GetWorkflowStepResponse.Builder status(StepStatus 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:
StepStatus,StepStatus
-
statusMessage
GetWorkflowStepResponse.Builder statusMessage(String 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
GetWorkflowStepResponse.Builder scriptOutputLocation(String 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
GetWorkflowStepResponse.Builder creationTime(Instant 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
GetWorkflowStepResponse.Builder lastStartTime(Instant 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
GetWorkflowStepResponse.Builder endTime(Instant 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
GetWorkflowStepResponse.Builder noOfSrvCompleted(Integer 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
GetWorkflowStepResponse.Builder noOfSrvFailed(Integer 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
GetWorkflowStepResponse.Builder totalNoOfSrv(Integer 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.
-
-