@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Attribute extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
Attribute |
clone() |
boolean |
equals(Object obj) |
String |
getJsonPath()
An expression that specifies an attribute-value pair in a JSON structure.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJsonPath(String jsonPath)
An expression that specifies an attribute-value pair in a JSON structure.
|
String |
toString()
Returns a string representation of this object.
|
Attribute |
withJsonPath(String jsonPath)
An expression that specifies an attribute-value pair in a JSON structure.
|
public void setJsonPath(String jsonPath)
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 the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...
jsonPath
- 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 the condition
expressions used by
detectors.
Syntax: <field-name>.<field-name>...
public String getJsonPath()
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 the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...
BatchPutMessage
). Each such message contains a JSON payload. The
attribute (and its paired value) specified here are available for use in the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...
public Attribute withJsonPath(String jsonPath)
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 the condition
expressions used by detectors.
Syntax: <field-name>.<field-name>...
jsonPath
- 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 the condition
expressions used by
detectors.
Syntax: <field-name>.<field-name>...
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.