Class CfnEndpointPropsMixin.AutoRollbackConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointPropsMixin.AutoRollbackConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin.AutoRollbackConfigProperty>
- Enclosing interface:
CfnEndpointPropsMixin.AutoRollbackConfigProperty
@Stability(Stable)
public static final class CfnEndpointPropsMixin.AutoRollbackConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointPropsMixin.AutoRollbackConfigProperty>
A builder for
CfnEndpointPropsMixin.AutoRollbackConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEndpointPropsMixin.AutoRollbackConfigProperty.getAlarms()alarms(IResolvable alarms) Sets the value ofCfnEndpointPropsMixin.AutoRollbackConfigProperty.getAlarms()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarms
@Stability(Stable) public CfnEndpointPropsMixin.AutoRollbackConfigProperty.Builder alarms(IResolvable alarms) Sets the value ofCfnEndpointPropsMixin.AutoRollbackConfigProperty.getAlarms()- Parameters:
alarms- List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.- Returns:
this
-
alarms
@Stability(Stable) public CfnEndpointPropsMixin.AutoRollbackConfigProperty.Builder alarms(List<? extends Object> alarms) Sets the value ofCfnEndpointPropsMixin.AutoRollbackConfigProperty.getAlarms()- Parameters:
alarms- List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. If any alarms are tripped during a deployment, SageMaker rolls back the deployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin.AutoRollbackConfigProperty>- Returns:
- a new instance of
CfnEndpointPropsMixin.AutoRollbackConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-