Interface IoTJobAbortCriteria.Builder

    • Method Detail

      • thresholdPercentage

        IoTJobAbortCriteria.Builder thresholdPercentage​(Double thresholdPercentage)

        The minimum percentage of failureType failures that occur before the job can cancel.

        This parameter supports up to two digits after the decimal (for example, you can specify 10.9 or 10.99, but not 10.999).

        Parameters:
        thresholdPercentage - The minimum percentage of failureType failures that occur before the job can cancel.

        This parameter supports up to two digits after the decimal (for example, you can specify 10.9 or 10.99, but not 10.999).

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minNumberOfExecutedThings

        IoTJobAbortCriteria.Builder minNumberOfExecutedThings​(Integer minNumberOfExecutedThings)

        The minimum number of things that receive the configuration before the job can cancel.

        Parameters:
        minNumberOfExecutedThings - The minimum number of things that receive the configuration before the job can cancel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.