#[non_exhaustive]pub struct BlueGreenUpdatePolicyBuilder { /* private fields */ }
Expand description
A builder for BlueGreenUpdatePolicy
.
Implementations§
source§impl BlueGreenUpdatePolicyBuilder
impl BlueGreenUpdatePolicyBuilder
sourcepub fn traffic_routing_configuration(self, input: TrafficRoutingConfig) -> Self
pub fn traffic_routing_configuration(self, input: TrafficRoutingConfig) -> Self
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
This field is required.sourcepub fn set_traffic_routing_configuration(
self,
input: Option<TrafficRoutingConfig>,
) -> Self
pub fn set_traffic_routing_configuration( self, input: Option<TrafficRoutingConfig>, ) -> Self
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
sourcepub fn get_traffic_routing_configuration(&self) -> &Option<TrafficRoutingConfig>
pub fn get_traffic_routing_configuration(&self) -> &Option<TrafficRoutingConfig>
Defines the traffic routing strategy to shift traffic from the old fleet to the new fleet during an endpoint deployment.
sourcepub fn termination_wait_in_seconds(self, input: i32) -> Self
pub fn termination_wait_in_seconds(self, input: i32) -> Self
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
sourcepub fn set_termination_wait_in_seconds(self, input: Option<i32>) -> Self
pub fn set_termination_wait_in_seconds(self, input: Option<i32>) -> Self
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
sourcepub fn get_termination_wait_in_seconds(&self) -> &Option<i32>
pub fn get_termination_wait_in_seconds(&self) -> &Option<i32>
Additional waiting time in seconds after the completion of an endpoint deployment before terminating the old endpoint fleet. Default is 0.
sourcepub fn maximum_execution_timeout_in_seconds(self, input: i32) -> Self
pub fn maximum_execution_timeout_in_seconds(self, input: i32) -> Self
Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds
and WaitIntervalInSeconds
.
sourcepub fn set_maximum_execution_timeout_in_seconds(
self,
input: Option<i32>,
) -> Self
pub fn set_maximum_execution_timeout_in_seconds( self, input: Option<i32>, ) -> Self
Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds
and WaitIntervalInSeconds
.
sourcepub fn get_maximum_execution_timeout_in_seconds(&self) -> &Option<i32>
pub fn get_maximum_execution_timeout_in_seconds(&self) -> &Option<i32>
Maximum execution timeout for the deployment. Note that the timeout value should be larger than the total waiting time specified in TerminationWaitInSeconds
and WaitIntervalInSeconds
.
sourcepub fn build(self) -> BlueGreenUpdatePolicy
pub fn build(self) -> BlueGreenUpdatePolicy
Consumes the builder and constructs a BlueGreenUpdatePolicy
.
Trait Implementations§
source§impl Clone for BlueGreenUpdatePolicyBuilder
impl Clone for BlueGreenUpdatePolicyBuilder
source§fn clone(&self) -> BlueGreenUpdatePolicyBuilder
fn clone(&self) -> BlueGreenUpdatePolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlueGreenUpdatePolicyBuilder
impl Debug for BlueGreenUpdatePolicyBuilder
source§impl Default for BlueGreenUpdatePolicyBuilder
impl Default for BlueGreenUpdatePolicyBuilder
source§fn default() -> BlueGreenUpdatePolicyBuilder
fn default() -> BlueGreenUpdatePolicyBuilder
source§impl PartialEq for BlueGreenUpdatePolicyBuilder
impl PartialEq for BlueGreenUpdatePolicyBuilder
source§fn eq(&self, other: &BlueGreenUpdatePolicyBuilder) -> bool
fn eq(&self, other: &BlueGreenUpdatePolicyBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BlueGreenUpdatePolicyBuilder
Auto Trait Implementations§
impl Freeze for BlueGreenUpdatePolicyBuilder
impl RefUnwindSafe for BlueGreenUpdatePolicyBuilder
impl Send for BlueGreenUpdatePolicyBuilder
impl Sync for BlueGreenUpdatePolicyBuilder
impl Unpin for BlueGreenUpdatePolicyBuilder
impl UnwindSafe for BlueGreenUpdatePolicyBuilder
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