@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotEventsAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends an AWS IoT Events input, passing in information about the detector model instance and the event that triggered the action.
Constructor and Description |
---|
IotEventsAction() |
Modifier and Type | Method and Description |
---|---|
IotEventsAction |
clone() |
boolean |
equals(Object obj) |
String |
getInputName()
The name of the AWS IoT Events input where the data is sent.
|
Payload |
getPayload()
You can configure the action payload when you send a message to an AWS IoT Events input.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInputName(String inputName)
The name of the AWS IoT Events input where the data is sent.
|
void |
setPayload(Payload payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
|
String |
toString()
Returns a string representation of this object.
|
IotEventsAction |
withInputName(String inputName)
The name of the AWS IoT Events input where the data is sent.
|
IotEventsAction |
withPayload(Payload payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
|
public void setInputName(String inputName)
The name of the AWS IoT Events input where the data is sent.
inputName
- The name of the AWS IoT Events input where the data is sent.public String getInputName()
The name of the AWS IoT Events input where the data is sent.
public IotEventsAction withInputName(String inputName)
The name of the AWS IoT Events input where the data is sent.
inputName
- The name of the AWS IoT Events input where the data is sent.public void setPayload(Payload payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.public Payload getPayload()
You can configure the action payload when you send a message to an AWS IoT Events input.
public IotEventsAction withPayload(Payload payload)
You can configure the action payload when you send a message to an AWS IoT Events input.
payload
- You can configure the action payload when you send a message to an AWS IoT Events input.public String toString()
toString
in class Object
Object.toString()
public IotEventsAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.