Package com.amazonaws.services.iot.model
Class RepublishAction
java.lang.Object
com.amazonaws.services.iot.model.RepublishAction
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an action to republish to another topic.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ARN of the IAM role that grants access.getTopic()
The name of the MQTT topic.int
hashCode()
void
setRoleArn
(String roleArn) The ARN of the IAM role that grants access.void
The name of the MQTT topic.toString()
Returns a string representation of this object; useful for testing and debugging.withRoleArn
(String roleArn) The ARN of the IAM role that grants access.The name of the MQTT topic.
-
Constructor Details
-
RepublishAction
public RepublishAction()
-
-
Method Details
-
setRoleArn
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.
-
getRoleArn
The ARN of the IAM role that grants access.
- Returns:
- The ARN of the IAM role that grants access.
-
withRoleArn
The ARN of the IAM role that grants access.
- Parameters:
roleArn
- The ARN of the IAM role that grants access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopic
The name of the MQTT topic.
- Parameters:
topic
- The name of the MQTT topic.
-
getTopic
The name of the MQTT topic.
- Returns:
- The name of the MQTT topic.
-
withTopic
The name of the MQTT topic.
- Parameters:
topic
- The name of the MQTT topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-