Class RobotDeployment
- java.lang.Object
-
- software.amazon.awssdk.services.robomaker.model.RobotDeployment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RobotDeployment.Builder,RobotDeployment>
@Generated("software.amazon.awssdk:codegen") public final class RobotDeployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RobotDeployment.Builder,RobotDeployment>
Information about a robot deployment.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRobotDeployment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The robot deployment Amazon Resource Name (ARN).static RobotDeployment.Builderbuilder()InstantdeploymentFinishTime()The time, in milliseconds since the epoch, when the deployment finished.InstantdeploymentStartTime()The time, in milliseconds since the epoch, when the deployment was started.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DeploymentJobErrorCodefailureCode()The robot deployment failure code.StringfailureCodeAsString()The robot deployment failure code.StringfailureReason()A short description of the reason why the robot deployment failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ProgressDetailprogressDetail()Information about how the deployment is progressing.List<SdkField<?>>sdkFields()static Class<? extends RobotDeployment.Builder>serializableBuilderClass()RobotStatusstatus()The status of the robot deployment.StringstatusAsString()The status of the robot deployment.RobotDeployment.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The robot deployment Amazon Resource Name (ARN).
- Returns:
- The robot deployment Amazon Resource Name (ARN).
-
deploymentStartTime
public final Instant deploymentStartTime()
The time, in milliseconds since the epoch, when the deployment was started.
- Returns:
- The time, in milliseconds since the epoch, when the deployment was started.
-
deploymentFinishTime
public final Instant deploymentFinishTime()
The time, in milliseconds since the epoch, when the deployment finished.
- Returns:
- The time, in milliseconds since the epoch, when the deployment finished.
-
status
public final RobotStatus status()
The status of the robot deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRobotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the robot deployment.
- See Also:
RobotStatus
-
statusAsString
public final String statusAsString()
The status of the robot deployment.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRobotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the robot deployment.
- See Also:
RobotStatus
-
progressDetail
public final ProgressDetail progressDetail()
Information about how the deployment is progressing.
- Returns:
- Information about how the deployment is progressing.
-
failureReason
public final String failureReason()
A short description of the reason why the robot deployment failed.
- Returns:
- A short description of the reason why the robot deployment failed.
-
failureCode
public final DeploymentJobErrorCode failureCode()
The robot deployment failure code.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnDeploymentJobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The robot deployment failure code.
- See Also:
DeploymentJobErrorCode
-
failureCodeAsString
public final String failureCodeAsString()
The robot deployment failure code.
If the service returns an enum value that is not available in the current SDK version,
failureCodewill returnDeploymentJobErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureCodeAsString().- Returns:
- The robot deployment failure code.
- See Also:
DeploymentJobErrorCode
-
toBuilder
public RobotDeployment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RobotDeployment.Builder,RobotDeployment>
-
builder
public static RobotDeployment.Builder builder()
-
serializableBuilderClass
public static Class<? extends RobotDeployment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-