Interface DeploymentConfiguration.Builder

    • Method Detail

      • rollingUpdatePolicy

        DeploymentConfiguration.Builder rollingUpdatePolicy​(RollingDeploymentPolicy rollingUpdatePolicy)

        The policy that SageMaker uses when updating the AMI versions of the cluster.

        Parameters:
        rollingUpdatePolicy - The policy that SageMaker uses when updating the AMI versions of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • waitIntervalInSeconds

        DeploymentConfiguration.Builder waitIntervalInSeconds​(Integer waitIntervalInSeconds)

        The duration in seconds that SageMaker waits before updating more instances in the cluster.

        Parameters:
        waitIntervalInSeconds - The duration in seconds that SageMaker waits before updating more instances in the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoRollbackConfiguration

        DeploymentConfiguration.Builder autoRollbackConfiguration​(Collection<AlarmDetails> autoRollbackConfiguration)

        An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

        Parameters:
        autoRollbackConfiguration - An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoRollbackConfiguration

        DeploymentConfiguration.Builder autoRollbackConfiguration​(AlarmDetails... autoRollbackConfiguration)

        An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

        Parameters:
        autoRollbackConfiguration - An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • autoRollbackConfiguration

        DeploymentConfiguration.Builder autoRollbackConfiguration​(Consumer<AlarmDetails.Builder>... autoRollbackConfiguration)

        An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

        This is a convenience method that creates an instance of the AlarmDetails.Builder avoiding the need to create one manually via AlarmDetails.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #autoRollbackConfiguration(List).

        Parameters:
        autoRollbackConfiguration - a consumer that will call methods on AlarmDetails.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #autoRollbackConfiguration(java.util.Collection)