#[non_exhaustive]pub struct DeploymentPoliciesBuilder { /* private fields */ }
Expand description
A builder for DeploymentPolicies
.
Implementations§
source§impl DeploymentPoliciesBuilder
impl DeploymentPoliciesBuilder
sourcepub fn failure_handling_policy(
self,
input: DeploymentFailureHandlingPolicy
) -> Self
pub fn failure_handling_policy( self, input: DeploymentFailureHandlingPolicy ) -> Self
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
sourcepub fn set_failure_handling_policy(
self,
input: Option<DeploymentFailureHandlingPolicy>
) -> Self
pub fn set_failure_handling_policy( self, input: Option<DeploymentFailureHandlingPolicy> ) -> Self
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
sourcepub fn get_failure_handling_policy(
&self
) -> &Option<DeploymentFailureHandlingPolicy>
pub fn get_failure_handling_policy( &self ) -> &Option<DeploymentFailureHandlingPolicy>
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
sourcepub fn component_update_policy(
self,
input: DeploymentComponentUpdatePolicy
) -> Self
pub fn component_update_policy( self, input: DeploymentComponentUpdatePolicy ) -> Self
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
sourcepub fn set_component_update_policy(
self,
input: Option<DeploymentComponentUpdatePolicy>
) -> Self
pub fn set_component_update_policy( self, input: Option<DeploymentComponentUpdatePolicy> ) -> Self
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
sourcepub fn get_component_update_policy(
&self
) -> &Option<DeploymentComponentUpdatePolicy>
pub fn get_component_update_policy( &self ) -> &Option<DeploymentComponentUpdatePolicy>
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
sourcepub fn configuration_validation_policy(
self,
input: DeploymentConfigurationValidationPolicy
) -> Self
pub fn configuration_validation_policy( self, input: DeploymentConfigurationValidationPolicy ) -> Self
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
sourcepub fn set_configuration_validation_policy(
self,
input: Option<DeploymentConfigurationValidationPolicy>
) -> Self
pub fn set_configuration_validation_policy( self, input: Option<DeploymentConfigurationValidationPolicy> ) -> Self
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
sourcepub fn get_configuration_validation_policy(
&self
) -> &Option<DeploymentConfigurationValidationPolicy>
pub fn get_configuration_validation_policy( &self ) -> &Option<DeploymentConfigurationValidationPolicy>
The configuration validation policy for the configuration deployment. This policy defines how long each component has to validate its configure updates.
sourcepub fn build(self) -> DeploymentPolicies
pub fn build(self) -> DeploymentPolicies
Consumes the builder and constructs a DeploymentPolicies
.
Trait Implementations§
source§impl Clone for DeploymentPoliciesBuilder
impl Clone for DeploymentPoliciesBuilder
source§fn clone(&self) -> DeploymentPoliciesBuilder
fn clone(&self) -> DeploymentPoliciesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentPoliciesBuilder
impl Debug for DeploymentPoliciesBuilder
source§impl Default for DeploymentPoliciesBuilder
impl Default for DeploymentPoliciesBuilder
source§fn default() -> DeploymentPoliciesBuilder
fn default() -> DeploymentPoliciesBuilder
source§impl PartialEq for DeploymentPoliciesBuilder
impl PartialEq for DeploymentPoliciesBuilder
source§fn eq(&self, other: &DeploymentPoliciesBuilder) -> bool
fn eq(&self, other: &DeploymentPoliciesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentPoliciesBuilder
Auto Trait Implementations§
impl Freeze for DeploymentPoliciesBuilder
impl RefUnwindSafe for DeploymentPoliciesBuilder
impl Send for DeploymentPoliciesBuilder
impl Sync for DeploymentPoliciesBuilder
impl Unpin for DeploymentPoliciesBuilder
impl UnwindSafe for DeploymentPoliciesBuilder
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> 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