Interface AutoRollbackConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoRollbackConfig.Builder,AutoRollbackConfig>
,SdkBuilder<AutoRollbackConfig.Builder,AutoRollbackConfig>
,SdkPojo
- Enclosing class:
- AutoRollbackConfig
public static interface AutoRollbackConfig.Builder extends SdkPojo, CopyableBuilder<AutoRollbackConfig.Builder,AutoRollbackConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoRollbackConfig.Builder
alarms(Collection<Alarm> alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.AutoRollbackConfig.Builder
alarms(Consumer<Alarm.Builder>... alarms)
List of CloudWatch alarms in your account that are configured to monitor metrics on an endpoint.AutoRollbackConfig.Builder
alarms(Alarm... alarms)
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 Detail
-
alarms
AutoRollbackConfig.Builder alarms(Collection<Alarm> 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
AutoRollbackConfig.Builder alarms(Alarm... 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
AutoRollbackConfig.Builder alarms(Consumer<Alarm.Builder>... 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 to#alarms(List
.) - 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:
#alarms(java.util.Collection
)
-
-