Class PutRuleResult

java.lang.Object
com.amazonaws.services.cloudwatchevents.model.PutRuleResult
All Implemented Interfaces:
Serializable, Cloneable

public class PutRuleResult extends Object implements Serializable, Cloneable

The result of the PutRule operation.

See Also:
  • Constructor Details

    • PutRuleResult

      public PutRuleResult()
  • Method Details

    • setRuleArn

      public void setRuleArn(String ruleArn)

      The Amazon Resource Name (ARN) that identifies the rule.

      Parameters:
      ruleArn - The Amazon Resource Name (ARN) that identifies the rule.
    • getRuleArn

      public String getRuleArn()

      The Amazon Resource Name (ARN) that identifies the rule.

      Returns:
      The Amazon Resource Name (ARN) that identifies the rule.
    • withRuleArn

      public PutRuleResult withRuleArn(String ruleArn)

      The Amazon Resource Name (ARN) that identifies the rule.

      Parameters:
      ruleArn - The Amazon Resource Name (ARN) that identifies the rule.
      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 PutRuleResult clone()
      Overrides:
      clone in class Object