Attribute class
The attributes from the JSON payload that are made available by the input.
Inputs are derived from messages sent to the AWS IoT Events system using
BatchPutMessage
. Each such message contains a JSON payload.
Those attributes (and their paired values) specified here are available for
use in the condition
expressions used by detectors.
Constructors
- Attribute({required String jsonPath})
-
Attribute.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonPath → String
-
An expression that specifies an attribute-value pair in a JSON structure.
Use this to specify an attribute from the JSON payload that is made
available by the input. Inputs are derived from messages sent to AWS IoT
Events (
BatchPutMessage
). Each such message contains a JSON payload. The attribute (and its paired value) specified here are available for use in thecondition
expressions used by detectors.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited