public static final class CfnEndpoint.AutoRollbackConfigProperty.Builder
extends java.lang.Object
CfnEndpoint.AutoRollbackConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEndpoint.AutoRollbackConfigProperty.Builder |
alarms(IResolvable alarms)
Sets the value of
CfnEndpoint.AutoRollbackConfigProperty.getAlarms() |
CfnEndpoint.AutoRollbackConfigProperty.Builder |
alarms(java.util.List<? extends java.lang.Object> alarms)
Sets the value of
CfnEndpoint.AutoRollbackConfigProperty.getAlarms() |
CfnEndpoint.AutoRollbackConfigProperty |
build()
Builds the configured instance.
|
public CfnEndpoint.AutoRollbackConfigProperty.Builder alarms(IResolvable alarms)
CfnEndpoint.AutoRollbackConfigProperty.getAlarms()
alarms
- List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. This parameter is required.
If any alarms are tripped during a deployment, SageMaker rolls back the deployment.this
public CfnEndpoint.AutoRollbackConfigProperty.Builder alarms(java.util.List<? extends java.lang.Object> alarms)
CfnEndpoint.AutoRollbackConfigProperty.getAlarms()
alarms
- List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint. This parameter is required.
If any alarms are tripped during a deployment, SageMaker rolls back the deployment.this
public CfnEndpoint.AutoRollbackConfigProperty build()
CfnEndpoint.AutoRollbackConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided