Class CreateTopicRuleRequest

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

public class CreateTopicRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input for the CreateTopicRule operation.

See Also:
  • Constructor Details

    • CreateTopicRuleRequest

      public CreateTopicRuleRequest()
  • Method Details

    • setRuleName

      public void setRuleName(String ruleName)

      The name of the rule.

      Parameters:
      ruleName - The name of the rule.
    • getRuleName

      public String getRuleName()

      The name of the rule.

      Returns:
      The name of the rule.
    • withRuleName

      public CreateTopicRuleRequest withRuleName(String ruleName)

      The name of the rule.

      Parameters:
      ruleName - The name of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setTopicRulePayload

      public void setTopicRulePayload(TopicRulePayload topicRulePayload)

      The rule payload.

      Parameters:
      topicRulePayload - The rule payload.
    • getTopicRulePayload

      public TopicRulePayload getTopicRulePayload()

      The rule payload.

      Returns:
      The rule payload.
    • withTopicRulePayload

      public CreateTopicRuleRequest withTopicRulePayload(TopicRulePayload topicRulePayload)

      The rule payload.

      Parameters:
      topicRulePayload - The rule payload.
      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 CreateTopicRuleRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: