Struct aws_sdk_robomaker::types::builders::RobotDeploymentBuilder
source · #[non_exhaustive]pub struct RobotDeploymentBuilder { /* private fields */ }Expand description
A builder for RobotDeployment.
Implementations§
source§impl RobotDeploymentBuilder
impl RobotDeploymentBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The robot deployment Amazon Resource Name (ARN).
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The robot deployment Amazon Resource Name (ARN).
sourcepub fn deployment_start_time(self, input: DateTime) -> Self
pub fn deployment_start_time(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the deployment was started.
sourcepub fn set_deployment_start_time(self, input: Option<DateTime>) -> Self
pub fn set_deployment_start_time(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the deployment was started.
sourcepub fn get_deployment_start_time(&self) -> &Option<DateTime>
pub fn get_deployment_start_time(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the deployment was started.
sourcepub fn deployment_finish_time(self, input: DateTime) -> Self
pub fn deployment_finish_time(self, input: DateTime) -> Self
The time, in milliseconds since the epoch, when the deployment finished.
sourcepub fn set_deployment_finish_time(self, input: Option<DateTime>) -> Self
pub fn set_deployment_finish_time(self, input: Option<DateTime>) -> Self
The time, in milliseconds since the epoch, when the deployment finished.
sourcepub fn get_deployment_finish_time(&self) -> &Option<DateTime>
pub fn get_deployment_finish_time(&self) -> &Option<DateTime>
The time, in milliseconds since the epoch, when the deployment finished.
sourcepub fn status(self, input: RobotStatus) -> Self
pub fn status(self, input: RobotStatus) -> Self
The status of the robot deployment.
sourcepub fn set_status(self, input: Option<RobotStatus>) -> Self
pub fn set_status(self, input: Option<RobotStatus>) -> Self
The status of the robot deployment.
sourcepub fn get_status(&self) -> &Option<RobotStatus>
pub fn get_status(&self) -> &Option<RobotStatus>
The status of the robot deployment.
sourcepub fn progress_detail(self, input: ProgressDetail) -> Self
pub fn progress_detail(self, input: ProgressDetail) -> Self
Information about how the deployment is progressing.
sourcepub fn set_progress_detail(self, input: Option<ProgressDetail>) -> Self
pub fn set_progress_detail(self, input: Option<ProgressDetail>) -> Self
Information about how the deployment is progressing.
sourcepub fn get_progress_detail(&self) -> &Option<ProgressDetail>
pub fn get_progress_detail(&self) -> &Option<ProgressDetail>
Information about how the deployment is progressing.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
A short description of the reason why the robot deployment failed.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
A short description of the reason why the robot deployment failed.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
A short description of the reason why the robot deployment failed.
sourcepub fn failure_code(self, input: DeploymentJobErrorCode) -> Self
pub fn failure_code(self, input: DeploymentJobErrorCode) -> Self
The robot deployment failure code.
sourcepub fn set_failure_code(self, input: Option<DeploymentJobErrorCode>) -> Self
pub fn set_failure_code(self, input: Option<DeploymentJobErrorCode>) -> Self
The robot deployment failure code.
sourcepub fn get_failure_code(&self) -> &Option<DeploymentJobErrorCode>
pub fn get_failure_code(&self) -> &Option<DeploymentJobErrorCode>
The robot deployment failure code.
sourcepub fn build(self) -> RobotDeployment
pub fn build(self) -> RobotDeployment
Consumes the builder and constructs a RobotDeployment.
Trait Implementations§
source§impl Clone for RobotDeploymentBuilder
impl Clone for RobotDeploymentBuilder
source§fn clone(&self) -> RobotDeploymentBuilder
fn clone(&self) -> RobotDeploymentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RobotDeploymentBuilder
impl Debug for RobotDeploymentBuilder
source§impl Default for RobotDeploymentBuilder
impl Default for RobotDeploymentBuilder
source§fn default() -> RobotDeploymentBuilder
fn default() -> RobotDeploymentBuilder
source§impl PartialEq for RobotDeploymentBuilder
impl PartialEq for RobotDeploymentBuilder
source§fn eq(&self, other: &RobotDeploymentBuilder) -> bool
fn eq(&self, other: &RobotDeploymentBuilder) -> bool
self and other values to be equal, and is used
by ==.