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 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

      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

      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 the Alarm.Builder avoiding the need to create one manually via Alarm.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alarms(List<Alarm>).

      Parameters:
      alarms - a consumer that will call methods on Alarm.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: