@Generated(value="software.amazon.awssdk:codegen") public final class SimpleRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SimpleRule.Builder,SimpleRule>
A rule that compares an input property value to a threshold value with a comparison operator.
| Type | Property and Description |
|---|---|
String |
input
The value on the left side of the comparison operator.
|
| Modifier and Type | Class and Description |
|---|---|
static interface |
SimpleRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SimpleRule.Builder |
builder() |
ComparisonOperator |
comparisonOperator()
The comparison operator.
|
String |
comparisonOperatorAsString()
The comparison operator.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
inputProperty()
The value on the left side of the comparison operator.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SimpleRule.Builder> |
serializableBuilderClass() |
String |
threshold()
The value on the right side of the comparison operator.
|
SimpleRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String inputProperty
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
public final String inputProperty()
The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.
public final ComparisonOperator comparisonOperator()
The comparison operator.
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from comparisonOperatorAsString().
ComparisonOperatorpublic final String comparisonOperatorAsString()
The comparison operator.
If the service returns an enum value that is not available in the current SDK version,
comparisonOperator will return ComparisonOperator.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from comparisonOperatorAsString().
ComparisonOperatorpublic final String threshold()
The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.
public SimpleRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SimpleRule.Builder,SimpleRule>public static SimpleRule.Builder builder()
public static Class<? extends SimpleRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.