pub struct ServiceUpdateConfigBuilder<___State = __ServiceUpdateConfigBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Delay, __FailureAction, __MaxFailureRatio, __Monitor, __Order, __Parallelism> ServiceUpdateConfigBuilder<(__Delay, __FailureAction, __MaxFailureRatio, __Monitor, __Order, __Parallelism)>
impl<__Delay, __FailureAction, __MaxFailureRatio, __Monitor, __Order, __Parallelism> ServiceUpdateConfigBuilder<(__Delay, __FailureAction, __MaxFailureRatio, __Monitor, __Order, __Parallelism)>
sourcepub fn build_struct(self) -> ServiceUpdateConfigwhere
__Delay: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__delay>,
__FailureAction: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__failure_action>,
__MaxFailureRatio: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__max_failure_ratio>,
__Monitor: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__monitor>,
__Order: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__order>,
__Parallelism: IntoSet<Option<Box<Option<i32>>>, ServiceUpdateConfigBuilder__parallelism>,
pub fn build_struct(self) -> ServiceUpdateConfigwhere
__Delay: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__delay>,
__FailureAction: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__failure_action>,
__MaxFailureRatio: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__max_failure_ratio>,
__Monitor: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__monitor>,
__Order: IntoSet<Option<Box<Option<String>>>, ServiceUpdateConfigBuilder__order>,
__Parallelism: IntoSet<Option<Box<Option<i32>>>, ServiceUpdateConfigBuilder__parallelism>,
Finishes building and returns the requested object.
sourcepub fn maybe_delay(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Delaywhere
__Delay: IsUnset,
pub fn maybe_delay(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Delaywhere
__Delay: IsUnset,
Same as [Self::r#delay
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn delay(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Delaywhere
__Delay: IsUnset,
pub fn delay(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Delaywhere
__Delay: IsUnset,
Delay between task updates (ns|us|ms|s|m|h)
. Defaults to 0s
.
sourcepub fn maybe_failure_action(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::FailureActionwhere
__FailureAction: IsUnset,
pub fn maybe_failure_action(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::FailureActionwhere
__FailureAction: IsUnset,
Same as [Self::r#failure_action
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn failure_action(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::FailureActionwhere
__FailureAction: IsUnset,
pub fn failure_action(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::FailureActionwhere
__FailureAction: IsUnset,
Action on update failure: pause
, continue
or rollback
. Defaults to pause
.
sourcepub fn maybe_max_failure_ratio(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::MaxFailureRatiowhere
__MaxFailureRatio: IsUnset,
pub fn maybe_max_failure_ratio(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::MaxFailureRatiowhere
__MaxFailureRatio: IsUnset,
Same as [Self::r#max_failure_ratio
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn max_failure_ratio(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::MaxFailureRatiowhere
__MaxFailureRatio: IsUnset,
pub fn max_failure_ratio(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::MaxFailureRatiowhere
__MaxFailureRatio: IsUnset,
Failure rate to tolerate during an update. Defaults to 0.0
.
sourcepub fn maybe_monitor(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Monitorwhere
__Monitor: IsUnset,
pub fn maybe_monitor(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Monitorwhere
__Monitor: IsUnset,
Same as [Self::r#monitor
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn monitor(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Monitorwhere
__Monitor: IsUnset,
pub fn monitor(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Monitorwhere
__Monitor: IsUnset,
Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to 5s
.
sourcepub fn maybe_order(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Orderwhere
__Order: IsUnset,
pub fn maybe_order(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Orderwhere
__Order: IsUnset,
Same as [Self::r#order
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn order(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Orderwhere
__Order: IsUnset,
pub fn order(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ServiceUpdateConfigBuilderSetMember>::Orderwhere
__Order: IsUnset,
Update order: either ‘stop-first’ or ‘start-first’. Defaults to stop-first
.