@Stability(value=Stable) public static final class CfnEndpoint.AutoRollbackConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEndpoint.AutoRollbackConfigProperty>
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(List<? extends Object> alarms)
Sets the value of
CfnEndpoint.AutoRollbackConfigProperty.getAlarms() |
CfnEndpoint.AutoRollbackConfigProperty |
build()
Builds the configured instance.
|
@Stability(value=Stable) 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@Stability(value=Stable) public CfnEndpoint.AutoRollbackConfigProperty.Builder alarms(List<? extends 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@Stability(value=Stable) public CfnEndpoint.AutoRollbackConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnEndpoint.AutoRollbackConfigProperty>CfnEndpoint.AutoRollbackConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.