Class CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoRollbackConfiguration(CfnInferenceComponentPropsMixin.AutoRollbackConfigurationProperty autoRollbackConfiguration) autoRollbackConfiguration(IResolvable autoRollbackConfiguration) build()Builds the configured instance.rollingUpdatePolicy(CfnInferenceComponentPropsMixin.InferenceComponentRollingUpdatePolicyProperty rollingUpdatePolicy) rollingUpdatePolicy(IResolvable rollingUpdatePolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
autoRollbackConfiguration
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder autoRollbackConfiguration(IResolvable autoRollbackConfiguration) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.getAutoRollbackConfiguration()- Parameters:
autoRollbackConfiguration- the value to be set.- Returns:
this
-
autoRollbackConfiguration
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder autoRollbackConfiguration(CfnInferenceComponentPropsMixin.AutoRollbackConfigurationProperty autoRollbackConfiguration) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.getAutoRollbackConfiguration()- Parameters:
autoRollbackConfiguration- the value to be set.- Returns:
this
-
rollingUpdatePolicy
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder rollingUpdatePolicy(IResolvable rollingUpdatePolicy) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.getRollingUpdatePolicy()- Parameters:
rollingUpdatePolicy- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.- Returns:
this
-
rollingUpdatePolicy
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder rollingUpdatePolicy(CfnInferenceComponentPropsMixin.InferenceComponentRollingUpdatePolicyProperty rollingUpdatePolicy) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.getRollingUpdatePolicy()- Parameters:
rollingUpdatePolicy- Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.- Returns:
this
-
build
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-