Class RepublishAction

java.lang.Object
com.amazonaws.services.iot.model.RepublishAction
All Implemented Interfaces:
Serializable, Cloneable

public class RepublishAction extends Object implements Serializable, Cloneable

Describes an action to republish to another topic.

See Also:
  • Constructor Details

    • RepublishAction

      public RepublishAction()
  • Method Details

    • setRoleArn

      public void setRoleArn(String roleArn)

      The ARN of the IAM role that grants access.

      Parameters:
      roleArn - The ARN of the IAM role that grants access.
    • getRoleArn

      public String getRoleArn()

      The ARN of the IAM role that grants access.

      Returns:
      The ARN of the IAM role that grants access.
    • withRoleArn

      public RepublishAction withRoleArn(String roleArn)

      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

      public void setTopic(String topic)

      The name of the MQTT topic.

      Parameters:
      topic - The name of the MQTT topic.
    • getTopic

      public String getTopic()

      The name of the MQTT topic.

      Returns:
      The name of the MQTT topic.
    • withTopic

      public RepublishAction withTopic(String topic)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public RepublishAction clone()
      Overrides:
      clone in class Object