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