@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InputDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The definition of the input.
Constructor and Description |
---|
InputDefinition() |
Modifier and Type | Method and Description |
---|---|
InputDefinition |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
The attributes from the JSON payload that are made available by the input.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributes(Collection<Attribute> attributes)
The attributes from the JSON payload that are made available by the input.
|
String |
toString()
Returns a string representation of this object.
|
InputDefinition |
withAttributes(Attribute... attributes)
The attributes from the JSON payload that are made available by the input.
|
InputDefinition |
withAttributes(Collection<Attribute> attributes)
The attributes from the JSON payload that are made available by the input.
|
public List<Attribute> getAttributes()
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, and
those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
BatchPutMessage
. Each such message contains
a JSON payload, and those attributes (and their paired values) specified here are available for use in
the condition
expressions used by detectors that monitor this input.public void setAttributes(Collection<Attribute> attributes)
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, and
those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
attributes
- 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, and those attributes (and their paired values) specified here are available for use in the
condition
expressions used by detectors that monitor this input.public InputDefinition withAttributes(Attribute... attributes)
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, and
those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- 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, and those attributes (and their paired values) specified here are available for use in the
condition
expressions used by detectors that monitor this input.public InputDefinition withAttributes(Collection<Attribute> attributes)
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, and
those attributes (and their paired values) specified here are available for use in the condition
expressions used by detectors that monitor this input.
attributes
- 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, and those attributes (and their paired values) specified here are available for use in the
condition
expressions used by detectors that monitor this input.public String toString()
toString
in class Object
Object.toString()
public InputDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.