Struct aws_sdk_sagemaker::types::builders::DeploymentConfigBuilder
source · #[non_exhaustive]pub struct DeploymentConfigBuilder { /* private fields */ }
Expand description
A builder for DeploymentConfig
.
Implementations§
source§impl DeploymentConfigBuilder
impl DeploymentConfigBuilder
sourcepub fn blue_green_update_policy(self, input: BlueGreenUpdatePolicy) -> Self
pub fn blue_green_update_policy(self, input: BlueGreenUpdatePolicy) -> Self
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
sourcepub fn set_blue_green_update_policy(
self,
input: Option<BlueGreenUpdatePolicy>
) -> Self
pub fn set_blue_green_update_policy( self, input: Option<BlueGreenUpdatePolicy> ) -> Self
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
sourcepub fn get_blue_green_update_policy(&self) -> &Option<BlueGreenUpdatePolicy>
pub fn get_blue_green_update_policy(&self) -> &Option<BlueGreenUpdatePolicy>
Update policy for a blue/green deployment. If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
sourcepub fn auto_rollback_configuration(self, input: AutoRollbackConfig) -> Self
pub fn auto_rollback_configuration(self, input: AutoRollbackConfig) -> Self
Automatic rollback configuration for handling endpoint deployment failures and recovery.
sourcepub fn set_auto_rollback_configuration(
self,
input: Option<AutoRollbackConfig>
) -> Self
pub fn set_auto_rollback_configuration( self, input: Option<AutoRollbackConfig> ) -> Self
Automatic rollback configuration for handling endpoint deployment failures and recovery.
sourcepub fn get_auto_rollback_configuration(&self) -> &Option<AutoRollbackConfig>
pub fn get_auto_rollback_configuration(&self) -> &Option<AutoRollbackConfig>
Automatic rollback configuration for handling endpoint deployment failures and recovery.
sourcepub fn rolling_update_policy(self, input: RollingUpdatePolicy) -> Self
pub fn rolling_update_policy(self, input: RollingUpdatePolicy) -> Self
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
sourcepub fn set_rolling_update_policy(
self,
input: Option<RollingUpdatePolicy>
) -> Self
pub fn set_rolling_update_policy( self, input: Option<RollingUpdatePolicy> ) -> Self
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
sourcepub fn get_rolling_update_policy(&self) -> &Option<RollingUpdatePolicy>
pub fn get_rolling_update_policy(&self) -> &Option<RollingUpdatePolicy>
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
sourcepub fn build(self) -> DeploymentConfig
pub fn build(self) -> DeploymentConfig
Consumes the builder and constructs a DeploymentConfig
.
Trait Implementations§
source§impl Clone for DeploymentConfigBuilder
impl Clone for DeploymentConfigBuilder
source§fn clone(&self) -> DeploymentConfigBuilder
fn clone(&self) -> DeploymentConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentConfigBuilder
impl Debug for DeploymentConfigBuilder
source§impl Default for DeploymentConfigBuilder
impl Default for DeploymentConfigBuilder
source§fn default() -> DeploymentConfigBuilder
fn default() -> DeploymentConfigBuilder
source§impl PartialEq<DeploymentConfigBuilder> for DeploymentConfigBuilder
impl PartialEq<DeploymentConfigBuilder> for DeploymentConfigBuilder
source§fn eq(&self, other: &DeploymentConfigBuilder) -> bool
fn eq(&self, other: &DeploymentConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.