Class ListRuleNamesByTargetResult

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

public class ListRuleNamesByTargetResult extends Object implements Serializable, Cloneable

The result of the ListRuleNamesByTarget operation.

See Also:
  • Constructor Details

    • ListRuleNamesByTargetResult

      public ListRuleNamesByTargetResult()
  • Method Details

    • getRuleNames

      public List<String> getRuleNames()

      List of rules names that can invoke the given target.

      Returns:
      List of rules names that can invoke the given target.
    • setRuleNames

      public void setRuleNames(Collection<String> ruleNames)

      List of rules names that can invoke the given target.

      Parameters:
      ruleNames - List of rules names that can invoke the given target.
    • withRuleNames

      public ListRuleNamesByTargetResult withRuleNames(String... ruleNames)

      List of rules names that can invoke the given target.

      NOTE: This method appends the values to the existing list (if any). Use setRuleNames(java.util.Collection) or withRuleNames(java.util.Collection) if you want to override the existing values.

      Parameters:
      ruleNames - List of rules names that can invoke the given target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRuleNames

      public ListRuleNamesByTargetResult withRuleNames(Collection<String> ruleNames)

      List of rules names that can invoke the given target.

      Parameters:
      ruleNames - List of rules names that can invoke the given target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      Indicates that there are additional results to retrieve.

      Parameters:
      nextToken - Indicates that there are additional results to retrieve.
    • getNextToken

      public String getNextToken()

      Indicates that there are additional results to retrieve.

      Returns:
      Indicates that there are additional results to retrieve.
    • withNextToken

      public ListRuleNamesByTargetResult withNextToken(String nextToken)

      Indicates that there are additional results to retrieve.

      Parameters:
      nextToken - Indicates that there are additional results to retrieve.
      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

      Overrides:
      clone in class Object