public class RepublishAction extends Object implements Serializable
Describes an action to republish to another topic.
| Constructor and Description |
|---|
RepublishAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the IAM role that grants access.
|
String |
getTopic()
The name of the MQTT topic.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
void |
setTopic(String topic)
The name of the MQTT topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RepublishAction |
withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
|
RepublishAction |
withTopic(String topic)
The name of the MQTT topic.
|
public String getRoleArn()
The ARN of the IAM role that grants access.
The ARN of the IAM role that grants access.
public void setRoleArn(String roleArn)
The ARN of the IAM role that grants access.
roleArn - The ARN of the IAM role that grants access.
public RepublishAction withRoleArn(String roleArn)
The ARN of the IAM role that grants access.
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access.
public String getTopic()
The name of the MQTT topic.
The name of the MQTT topic.
public void setTopic(String topic)
The name of the MQTT topic.
topic - The name of the MQTT topic.
public RepublishAction withTopic(String topic)
The name of the MQTT topic.
Returns a reference to this object so that method calls can be chained together.
topic - The name of the MQTT topic.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.