Interface AutoRollbackConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoRollbackConfig.Builder,
,AutoRollbackConfig> SdkBuilder<AutoRollbackConfig.Builder,
,AutoRollbackConfig> SdkPojo
- Enclosing class:
AutoRollbackConfig
@Mutable
@NotThreadSafe
public static interface AutoRollbackConfig.Builder
extends SdkPojo, CopyableBuilder<AutoRollbackConfig.Builder,AutoRollbackConfig>
-
Method Summary
Modifier and TypeMethodDescriptionalarms
(Collection<Alarm> alarms) List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.alarms
(Consumer<Alarm.Builder>... alarms) List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theAlarm.Builder
avoiding the need to create one manually viaAlarm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalarms(List<Alarm>)
.- Parameters:
alarms
- a consumer that will call methods onAlarm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-