public class IotEventsAction extends Object implements Serializable
Sends an input to an AWS IoT Events detector.
| Constructor and Description |
|---|
IotEventsAction() |
| Modifier and Type | Method and Description |
|---|---|
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 |
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; useful for testing and
debugging.
|
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 String getInputName()
The name of the AWS IoT Events input.
Constraints:
Length: 1 - 128
The name of the AWS IoT Events input.
public void setInputName(String inputName)
The name of the AWS IoT Events input.
Constraints:
Length: 1 - 128
inputName - The name of the AWS IoT Events input.
public IotEventsAction withInputName(String inputName)
The name of the AWS IoT Events input.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
inputName - The name of the AWS IoT Events input.
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.
Constraints:
Length: - 128
[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 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.
Constraints:
Length: - 128
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 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 128
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 getRoleArn()
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
The ARN of the role that grants AWS IoT permission to send an input to an AWS IoT Events detector. ("Action":"iotevents:BatchPutMessage").
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 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").
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()Copyright © 2019. All rights reserved.