public static interface AlarmRule.Builder extends SdkPojo, CopyableBuilder<AlarmRule.Builder,AlarmRule>
| Modifier and Type | Method and Description |
|---|---|
default AlarmRule.Builder |
simpleRule(Consumer<SimpleRule.Builder> simpleRule)
A rule that compares an input property value to a threshold value with a comparison operator.
|
AlarmRule.Builder |
simpleRule(SimpleRule simpleRule)
A rule that compares an input property value to a threshold value with a comparison operator.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAlarmRule.Builder simpleRule(SimpleRule simpleRule)
A rule that compares an input property value to a threshold value with a comparison operator.
simpleRule - A rule that compares an input property value to a threshold value with a comparison operator.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 that creates an instance of theSimpleRule.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).simpleRule - a consumer that will call methods on SimpleRule.BuildersimpleRule(SimpleRule)Copyright © 2022. All rights reserved.