public class ListRuleNamesByTargetResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The result of the ListRuleNamesByTarget operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
Indicates that there are additional results to retrieve.
|
private java.util.List<java.lang.String> |
ruleNames
List of rules names that can invoke the given target.
|
Constructor and Description |
---|
ListRuleNamesByTargetResult() |
Modifier and Type | Method and Description |
---|---|
ListRuleNamesByTargetResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Indicates that there are additional results to retrieve.
|
java.util.List<java.lang.String> |
getRuleNames()
List of rules names that can invoke the given target.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Indicates that there are additional results to retrieve.
|
void |
setRuleNames(java.util.Collection<java.lang.String> ruleNames)
List of rules names that can invoke the given target.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRuleNamesByTargetResult |
withNextToken(java.lang.String nextToken)
Indicates that there are additional results to retrieve.
|
ListRuleNamesByTargetResult |
withRuleNames(java.util.Collection<java.lang.String> ruleNames)
List of rules names that can invoke the given target.
|
ListRuleNamesByTargetResult |
withRuleNames(java.lang.String... ruleNames)
List of rules names that can invoke the given target.
|
private java.util.List<java.lang.String> ruleNames
List of rules names that can invoke the given target.
private java.lang.String nextToken
Indicates that there are additional results to retrieve.
public java.util.List<java.lang.String> getRuleNames()
List of rules names that can invoke the given target.
public void setRuleNames(java.util.Collection<java.lang.String> ruleNames)
List of rules names that can invoke the given target.
ruleNames
- List of rules names that can invoke the given target.public ListRuleNamesByTargetResult withRuleNames(java.lang.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.
ruleNames
- List of rules names that can invoke the given target.public ListRuleNamesByTargetResult withRuleNames(java.util.Collection<java.lang.String> ruleNames)
List of rules names that can invoke the given target.
ruleNames
- List of rules names that can invoke the given target.public void setNextToken(java.lang.String nextToken)
Indicates that there are additional results to retrieve.
nextToken
- Indicates that there are additional results to retrieve.public java.lang.String getNextToken()
Indicates that there are additional results to retrieve.
public ListRuleNamesByTargetResult withNextToken(java.lang.String nextToken)
Indicates that there are additional results to retrieve.
nextToken
- Indicates that there are additional results to retrieve.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListRuleNamesByTargetResult clone()
clone
in class java.lang.Object