Interface AlarmRule.Builder

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

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

    • simpleRule

      AlarmRule.Builder simpleRule(SimpleRule simpleRule)

      A rule that compares an input property value to a threshold value with a comparison operator.

      Parameters:
      simpleRule - A rule that compares an input property value to a threshold value with a comparison operator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • simpleRule

      default AlarmRule.Builder simpleRule(Consumer<SimpleRule.Builder> simpleRule)

      A rule that compares an input property value to a threshold value with a comparison operator.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to simpleRule(SimpleRule).

      Parameters:
      simpleRule - a consumer that will call methods on SimpleRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: