@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotEventsAction extends Object implements Serializable, Cloneable, StructuredPojo
Sends an input to an AWS IoT Events detector.
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.
|
String |
getMessageId()
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS
IoT Events detector.
|
String |
getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
|
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.
|
void |
setMessageId(String messageId)
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS
IoT Events detector.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
|
String |
toString()
Returns a string representation of this object.
|
IotEventsAction |
withInputName(String inputName)
The name of the AWS IoT Events input.
|
IotEventsAction |
withMessageId(String messageId)
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS
IoT Events detector.
|
IotEventsAction |
withRoleArn(String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
|
public void setInputName(String inputName)
The name of the AWS IoT Events input.
inputName
- The name of the AWS IoT Events input.public String getInputName()
The name of the AWS IoT Events input.
public IotEventsAction withInputName(String inputName)
The name of the AWS IoT Events input.
inputName
- The name of the AWS IoT Events input.public void setMessageId(String messageId)
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.
messageId
- [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an
AWS IoT Events detector.public String getMessageId()
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.
public IotEventsAction withMessageId(String messageId)
[Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an AWS IoT Events detector.
messageId
- [Optional] Use this to ensure that only one input (message) with a given messageId will be processed by an
AWS IoT Events detector.public void setRoleArn(String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
roleArn
- The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
("Action":"iotevents:BatchPutMessage").public String getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
public IotEventsAction withRoleArn(String roleArn)
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
roleArn
- The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector.
("Action":"iotevents:BatchPutMessage").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.