Interface RollingUpdatePolicy.Builder

    • Method Detail

      • maximumBatchSize

        RollingUpdatePolicy.Builder maximumBatchSize​(CapacitySize maximumBatchSize)

        Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.

        Parameters:
        maximumBatchSize - Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance count.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • waitIntervalInSeconds

        RollingUpdatePolicy.Builder waitIntervalInSeconds​(Integer waitIntervalInSeconds)

        The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.

        Parameters:
        waitIntervalInSeconds - The length of the baking period, during which SageMaker monitors alarms for each batch on the new fleet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumExecutionTimeoutInSeconds

        RollingUpdatePolicy.Builder maximumExecutionTimeoutInSeconds​(Integer maximumExecutionTimeoutInSeconds)

        The time limit for the total deployment. Exceeding this limit causes a timeout.

        Parameters:
        maximumExecutionTimeoutInSeconds - The time limit for the total deployment. Exceeding this limit causes a timeout.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rollbackMaximumBatchSize

        RollingUpdatePolicy.Builder rollbackMaximumBatchSize​(CapacitySize rollbackMaximumBatchSize)

        Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.

        Parameters:
        rollbackMaximumBatchSize - Batch size for rollback to the old endpoint fleet. Each rolling step to provision capacity and turn on traffic on the old endpoint fleet, and terminate capacity on the new endpoint fleet. If this field is absent, the default value will be set to 100% of total capacity which means to bring up the whole capacity of the old fleet at once during rollback.
        Returns:
        Returns a reference to this object so that method calls can be chained together.