@Stability(value=Stable) public static final class CfnEndpoint.DeploymentConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.DeploymentConfigProperty>
CfnEndpoint.DeploymentConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEndpoint.DeploymentConfigProperty.Builder |
autoRollbackConfiguration(CfnEndpoint.AutoRollbackConfigProperty autoRollbackConfiguration)
Sets the value of
CfnEndpoint.DeploymentConfigProperty.getAutoRollbackConfiguration() |
CfnEndpoint.DeploymentConfigProperty.Builder |
autoRollbackConfiguration(IResolvable autoRollbackConfiguration)
Sets the value of
CfnEndpoint.DeploymentConfigProperty.getAutoRollbackConfiguration() |
CfnEndpoint.DeploymentConfigProperty.Builder |
blueGreenUpdatePolicy(CfnEndpoint.BlueGreenUpdatePolicyProperty blueGreenUpdatePolicy)
Sets the value of
CfnEndpoint.DeploymentConfigProperty.getBlueGreenUpdatePolicy() |
CfnEndpoint.DeploymentConfigProperty.Builder |
blueGreenUpdatePolicy(IResolvable blueGreenUpdatePolicy)
Sets the value of
CfnEndpoint.DeploymentConfigProperty.getBlueGreenUpdatePolicy() |
CfnEndpoint.DeploymentConfigProperty |
build()
Builds the configured instance.
|
@Stability(value=Stable) public CfnEndpoint.DeploymentConfigProperty.Builder blueGreenUpdatePolicy(CfnEndpoint.BlueGreenUpdatePolicyProperty blueGreenUpdatePolicy)
CfnEndpoint.DeploymentConfigProperty.getBlueGreenUpdatePolicy()blueGreenUpdatePolicy - Update policy for a blue/green deployment. This parameter is required.
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.this@Stability(value=Stable) public CfnEndpoint.DeploymentConfigProperty.Builder blueGreenUpdatePolicy(IResolvable blueGreenUpdatePolicy)
CfnEndpoint.DeploymentConfigProperty.getBlueGreenUpdatePolicy()blueGreenUpdatePolicy - Update policy for a blue/green deployment. This parameter is required.
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.this@Stability(value=Stable) public CfnEndpoint.DeploymentConfigProperty.Builder autoRollbackConfiguration(CfnEndpoint.AutoRollbackConfigProperty autoRollbackConfiguration)
CfnEndpoint.DeploymentConfigProperty.getAutoRollbackConfiguration()autoRollbackConfiguration - Automatic rollback configuration for handling endpoint deployment failures and recovery.this@Stability(value=Stable) public CfnEndpoint.DeploymentConfigProperty.Builder autoRollbackConfiguration(IResolvable autoRollbackConfiguration)
CfnEndpoint.DeploymentConfigProperty.getAutoRollbackConfiguration()autoRollbackConfiguration - Automatic rollback configuration for handling endpoint deployment failures and recovery.this@Stability(value=Stable) public CfnEndpoint.DeploymentConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.DeploymentConfigProperty>CfnEndpoint.DeploymentConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.