Interface IoTJobAbortCriteria.Builder

All Superinterfaces:
Buildable, CopyableBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>, SdkBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>, SdkPojo
Enclosing class:
IoTJobAbortCriteria

public static interface IoTJobAbortCriteria.Builder extends SdkPojo, CopyableBuilder<IoTJobAbortCriteria.Builder,IoTJobAbortCriteria>
  • Method Details

    • failureType

      IoTJobAbortCriteria.Builder failureType(String failureType)

      The type of job deployment failure that can cancel a job.

      Parameters:
      failureType - The type of job deployment failure that can cancel a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureType

      The type of job deployment failure that can cancel a job.

      Parameters:
      failureType - The type of job deployment failure that can cancel a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action to perform when the criteria are met.

      Parameters:
      action - The action to perform when the criteria are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action to perform when the criteria are met.

      Parameters:
      action - The action to perform when the criteria are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.