Interface RobotDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RobotDeployment.Builder,
,RobotDeployment> SdkBuilder<RobotDeployment.Builder,
,RobotDeployment> SdkPojo
- Enclosing class:
RobotDeployment
public static interface RobotDeployment.Builder
extends SdkPojo, CopyableBuilder<RobotDeployment.Builder,RobotDeployment>
-
Method Summary
Modifier and TypeMethodDescriptionThe robot deployment Amazon Resource Name (ARN).deploymentFinishTime
(Instant deploymentFinishTime) The time, in milliseconds since the epoch, when the deployment finished.deploymentStartTime
(Instant deploymentStartTime) The time, in milliseconds since the epoch, when the deployment was started.failureCode
(String failureCode) The robot deployment failure code.failureCode
(DeploymentJobErrorCode failureCode) The robot deployment failure code.failureReason
(String failureReason) A short description of the reason why the robot deployment failed.default RobotDeployment.Builder
progressDetail
(Consumer<ProgressDetail.Builder> progressDetail) Information about how the deployment is progressing.progressDetail
(ProgressDetail progressDetail) Information about how the deployment is progressing.The status of the robot deployment.status
(RobotStatus status) The status of the robot deployment.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, sdkFields
-
Method Details
-
arn
The robot deployment Amazon Resource Name (ARN).
- Parameters:
arn
- The robot deployment Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStartTime
The time, in milliseconds since the epoch, when the deployment was started.
- Parameters:
deploymentStartTime
- The time, in milliseconds since the epoch, when the deployment was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentFinishTime
The time, in milliseconds since the epoch, when the deployment finished.
- Parameters:
deploymentFinishTime
- The time, in milliseconds since the epoch, when the deployment finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the robot deployment.
- Parameters:
status
- The status of the robot deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the robot deployment.
- Parameters:
status
- The status of the robot deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
progressDetail
Information about how the deployment is progressing.
- Parameters:
progressDetail
- Information about how the deployment is progressing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressDetail
Information about how the deployment is progressing.
This is a convenience method that creates an instance of theProgressDetail.Builder
avoiding the need to create one manually viaProgressDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprogressDetail(ProgressDetail)
.- Parameters:
progressDetail
- a consumer that will call methods onProgressDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
A short description of the reason why the robot deployment failed.
- Parameters:
failureReason
- A short description of the reason why the robot deployment failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureCode
The robot deployment failure code.
- Parameters:
failureCode
- The robot deployment failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The robot deployment failure code.
- Parameters:
failureCode
- The robot deployment failure code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-