#[non_exhaustive]pub struct EdgeDeploymentStatusBuilder { /* private fields */ }
Expand description
A builder for EdgeDeploymentStatus
.
Implementations§
source§impl EdgeDeploymentStatusBuilder
impl EdgeDeploymentStatusBuilder
sourcepub fn stage_status(self, input: StageStatus) -> Self
pub fn stage_status(self, input: StageStatus) -> Self
The general status of the current stage.
This field is required.sourcepub fn set_stage_status(self, input: Option<StageStatus>) -> Self
pub fn set_stage_status(self, input: Option<StageStatus>) -> Self
The general status of the current stage.
sourcepub fn get_stage_status(&self) -> &Option<StageStatus>
pub fn get_stage_status(&self) -> &Option<StageStatus>
The general status of the current stage.
sourcepub fn edge_deployment_success_in_stage(self, input: i32) -> Self
pub fn edge_deployment_success_in_stage(self, input: i32) -> Self
The number of edge devices with the successful deployment in the current stage.
This field is required.sourcepub fn set_edge_deployment_success_in_stage(self, input: Option<i32>) -> Self
pub fn set_edge_deployment_success_in_stage(self, input: Option<i32>) -> Self
The number of edge devices with the successful deployment in the current stage.
sourcepub fn get_edge_deployment_success_in_stage(&self) -> &Option<i32>
pub fn get_edge_deployment_success_in_stage(&self) -> &Option<i32>
The number of edge devices with the successful deployment in the current stage.
sourcepub fn edge_deployment_pending_in_stage(self, input: i32) -> Self
pub fn edge_deployment_pending_in_stage(self, input: i32) -> Self
The number of edge devices yet to pick up the deployment in current stage, or in progress.
This field is required.sourcepub fn set_edge_deployment_pending_in_stage(self, input: Option<i32>) -> Self
pub fn set_edge_deployment_pending_in_stage(self, input: Option<i32>) -> Self
The number of edge devices yet to pick up the deployment in current stage, or in progress.
sourcepub fn get_edge_deployment_pending_in_stage(&self) -> &Option<i32>
pub fn get_edge_deployment_pending_in_stage(&self) -> &Option<i32>
The number of edge devices yet to pick up the deployment in current stage, or in progress.
sourcepub fn edge_deployment_failed_in_stage(self, input: i32) -> Self
pub fn edge_deployment_failed_in_stage(self, input: i32) -> Self
The number of edge devices that failed the deployment in current stage.
This field is required.sourcepub fn set_edge_deployment_failed_in_stage(self, input: Option<i32>) -> Self
pub fn set_edge_deployment_failed_in_stage(self, input: Option<i32>) -> Self
The number of edge devices that failed the deployment in current stage.
sourcepub fn get_edge_deployment_failed_in_stage(&self) -> &Option<i32>
pub fn get_edge_deployment_failed_in_stage(&self) -> &Option<i32>
The number of edge devices that failed the deployment in current stage.
sourcepub fn edge_deployment_status_message(self, input: impl Into<String>) -> Self
pub fn edge_deployment_status_message(self, input: impl Into<String>) -> Self
A detailed message about deployment status in current stage.
sourcepub fn set_edge_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_edge_deployment_status_message(self, input: Option<String>) -> Self
A detailed message about deployment status in current stage.
sourcepub fn get_edge_deployment_status_message(&self) -> &Option<String>
pub fn get_edge_deployment_status_message(&self) -> &Option<String>
A detailed message about deployment status in current stage.
sourcepub fn edge_deployment_stage_start_time(self, input: DateTime) -> Self
pub fn edge_deployment_stage_start_time(self, input: DateTime) -> Self
The time when the deployment API started.
sourcepub fn set_edge_deployment_stage_start_time(
self,
input: Option<DateTime>,
) -> Self
pub fn set_edge_deployment_stage_start_time( self, input: Option<DateTime>, ) -> Self
The time when the deployment API started.
sourcepub fn get_edge_deployment_stage_start_time(&self) -> &Option<DateTime>
pub fn get_edge_deployment_stage_start_time(&self) -> &Option<DateTime>
The time when the deployment API started.
sourcepub fn build(self) -> EdgeDeploymentStatus
pub fn build(self) -> EdgeDeploymentStatus
Consumes the builder and constructs a EdgeDeploymentStatus
.
Trait Implementations§
source§impl Clone for EdgeDeploymentStatusBuilder
impl Clone for EdgeDeploymentStatusBuilder
source§fn clone(&self) -> EdgeDeploymentStatusBuilder
fn clone(&self) -> EdgeDeploymentStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EdgeDeploymentStatusBuilder
impl Debug for EdgeDeploymentStatusBuilder
source§impl Default for EdgeDeploymentStatusBuilder
impl Default for EdgeDeploymentStatusBuilder
source§fn default() -> EdgeDeploymentStatusBuilder
fn default() -> EdgeDeploymentStatusBuilder
impl StructuralPartialEq for EdgeDeploymentStatusBuilder
Auto Trait Implementations§
impl Freeze for EdgeDeploymentStatusBuilder
impl RefUnwindSafe for EdgeDeploymentStatusBuilder
impl Send for EdgeDeploymentStatusBuilder
impl Sync for EdgeDeploymentStatusBuilder
impl Unpin for EdgeDeploymentStatusBuilder
impl UnwindSafe for EdgeDeploymentStatusBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more