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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RobotDeployment.Builderarn(String arn)The robot deployment Amazon Resource Name (ARN).RobotDeployment.BuilderdeploymentFinishTime(Instant deploymentFinishTime)The time, in milliseconds since the epoch, when the deployment finished.RobotDeployment.BuilderdeploymentStartTime(Instant deploymentStartTime)The time, in milliseconds since the epoch, when the deployment was started.RobotDeployment.BuilderfailureCode(String failureCode)The robot deployment failure code.RobotDeployment.BuilderfailureCode(DeploymentJobErrorCode failureCode)The robot deployment failure code.RobotDeployment.BuilderfailureReason(String failureReason)A short description of the reason why the robot deployment failed.default RobotDeployment.BuilderprogressDetail(Consumer<ProgressDetail.Builder> progressDetail)Information about how the deployment is progressing.RobotDeployment.BuilderprogressDetail(ProgressDetail progressDetail)Information about how the deployment is progressing.RobotDeployment.Builderstatus(String status)The status of the robot deployment.RobotDeployment.Builderstatus(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 Detail
-
arn
RobotDeployment.Builder arn(String 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
RobotDeployment.Builder deploymentStartTime(Instant 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
RobotDeployment.Builder deploymentFinishTime(Instant 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
RobotDeployment.Builder status(String 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:
RobotStatus,RobotStatus
-
status
RobotDeployment.Builder status(RobotStatus 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:
RobotStatus,RobotStatus
-
progressDetail
RobotDeployment.Builder progressDetail(ProgressDetail 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
default RobotDeployment.Builder progressDetail(Consumer<ProgressDetail.Builder> progressDetail)
Information about how the deployment is progressing.
This is a convenience method that creates an instance of theProgressDetail.Builderavoiding the need to create one manually viaProgressDetail.builder().When the
Consumercompletes,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:
progressDetail(ProgressDetail)
-
failureReason
RobotDeployment.Builder failureReason(String 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
RobotDeployment.Builder failureCode(String 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
failureCode
RobotDeployment.Builder failureCode(DeploymentJobErrorCode 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:
DeploymentJobErrorCode,DeploymentJobErrorCode
-
-