Struct aws_sdk_sagemaker::model::blue_green_update_policy::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BlueGreenUpdatePolicy
.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 build(self) -> BlueGreenUpdatePolicy
pub fn build(self) -> BlueGreenUpdatePolicy
Consumes the builder and constructs a BlueGreenUpdatePolicy
.