#[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 ==
.