Struct aws_sdk_greengrassv2::model::deployment_policies::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for DeploymentPolicies
Implementations
The failure handling policy for the configuration deployment. This policy defines what to do if the deployment fails.
Default: ROLLBACK
pub 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
The component update policy for the configuration deployment. This policy defines when it's safe to deploy the configuration to devices.
pub 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.
pub 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.
pub 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.
Consumes the builder and constructs a DeploymentPolicies
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more