Struct aws_sdk_robomaker::types::builders::ProgressDetailBuilder
source · #[non_exhaustive]pub struct ProgressDetailBuilder { /* private fields */ }Expand description
A builder for ProgressDetail.
Implementations§
source§impl ProgressDetailBuilder
impl ProgressDetailBuilder
sourcepub fn current_progress(self, input: RobotDeploymentStep) -> Self
pub fn current_progress(self, input: RobotDeploymentStep) -> Self
The current progress status.
- Validating
-
Validating the deployment.
- DownloadingExtracting
-
Downloading and extracting the bundle on the robot.
- ExecutingPreLaunch
-
Executing pre-launch script(s) if provided.
- Launching
-
Launching the robot application.
- ExecutingPostLaunch
-
Executing post-launch script(s) if provided.
- Finished
-
Deployment is complete.
sourcepub fn set_current_progress(self, input: Option<RobotDeploymentStep>) -> Self
pub fn set_current_progress(self, input: Option<RobotDeploymentStep>) -> Self
The current progress status.
- Validating
-
Validating the deployment.
- DownloadingExtracting
-
Downloading and extracting the bundle on the robot.
- ExecutingPreLaunch
-
Executing pre-launch script(s) if provided.
- Launching
-
Launching the robot application.
- ExecutingPostLaunch
-
Executing post-launch script(s) if provided.
- Finished
-
Deployment is complete.
sourcepub fn get_current_progress(&self) -> &Option<RobotDeploymentStep>
pub fn get_current_progress(&self) -> &Option<RobotDeploymentStep>
The current progress status.
- Validating
-
Validating the deployment.
- DownloadingExtracting
-
Downloading and extracting the bundle on the robot.
- ExecutingPreLaunch
-
Executing pre-launch script(s) if provided.
- Launching
-
Launching the robot application.
- ExecutingPostLaunch
-
Executing post-launch script(s) if provided.
- Finished
-
Deployment is complete.
sourcepub fn percent_done(self, input: f32) -> Self
pub fn percent_done(self, input: f32) -> Self
Precentage of the step that is done. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn set_percent_done(self, input: Option<f32>) -> Self
pub fn set_percent_done(self, input: Option<f32>) -> Self
Precentage of the step that is done. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn get_percent_done(&self) -> &Option<f32>
pub fn get_percent_done(&self) -> &Option<f32>
Precentage of the step that is done. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn estimated_time_remaining_seconds(self, input: i32) -> Self
pub fn estimated_time_remaining_seconds(self, input: i32) -> Self
Estimated amount of time in seconds remaining in the step. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn set_estimated_time_remaining_seconds(self, input: Option<i32>) -> Self
pub fn set_estimated_time_remaining_seconds(self, input: Option<i32>) -> Self
Estimated amount of time in seconds remaining in the step. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn get_estimated_time_remaining_seconds(&self) -> &Option<i32>
pub fn get_estimated_time_remaining_seconds(&self) -> &Option<i32>
Estimated amount of time in seconds remaining in the step. This currently only applies to the Downloading/Extracting step of the deployment. It is empty for other steps.
sourcepub fn target_resource(self, input: impl Into<String>) -> Self
pub fn target_resource(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the deployment job.
sourcepub fn set_target_resource(self, input: Option<String>) -> Self
pub fn set_target_resource(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the deployment job.
sourcepub fn get_target_resource(&self) -> &Option<String>
pub fn get_target_resource(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the deployment job.
sourcepub fn build(self) -> ProgressDetail
pub fn build(self) -> ProgressDetail
Consumes the builder and constructs a ProgressDetail.
Trait Implementations§
source§impl Clone for ProgressDetailBuilder
impl Clone for ProgressDetailBuilder
source§fn clone(&self) -> ProgressDetailBuilder
fn clone(&self) -> ProgressDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ProgressDetailBuilder
impl Debug for ProgressDetailBuilder
source§impl Default for ProgressDetailBuilder
impl Default for ProgressDetailBuilder
source§fn default() -> ProgressDetailBuilder
fn default() -> ProgressDetailBuilder
source§impl PartialEq for ProgressDetailBuilder
impl PartialEq for ProgressDetailBuilder
source§fn eq(&self, other: &ProgressDetailBuilder) -> bool
fn eq(&self, other: &ProgressDetailBuilder) -> bool
self and other values to be equal, and is used
by ==.