Interface AutoRollbackConfig.Builder

    • 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 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).

        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:
        #alarms(java.util.Collection)