@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRuleNamesByTargetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRuleNamesByTargetResult() |
Modifier and Type | Method and Description |
---|---|
ListRuleNamesByTargetResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates whether there are additional results to retrieve.
|
List<String> |
getRuleNames()
The names of the rules that can invoke the given target.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
void |
setRuleNames(Collection<String> ruleNames)
The names of the rules that can invoke the given target.
|
String |
toString()
Returns a string representation of this object.
|
ListRuleNamesByTargetResult |
withNextToken(String nextToken)
Indicates whether there are additional results to retrieve.
|
ListRuleNamesByTargetResult |
withRuleNames(Collection<String> ruleNames)
The names of the rules that can invoke the given target.
|
ListRuleNamesByTargetResult |
withRuleNames(String... ruleNames)
The names of the rules that can invoke the given target.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getRuleNames()
The names of the rules that can invoke the given target.
public void setRuleNames(Collection<String> ruleNames)
The names of the rules that can invoke the given target.
ruleNames
- The names of the rules that can invoke the given target.public ListRuleNamesByTargetResult withRuleNames(String... ruleNames)
The names of the rules 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
- The names of the rules that can invoke the given target.public ListRuleNamesByTargetResult withRuleNames(Collection<String> ruleNames)
The names of the rules that can invoke the given target.
ruleNames
- The names of the rules that can invoke the given target.public void setNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
nextToken
- Indicates whether there are additional results to retrieve. If there are no more results, the value is
null.public String getNextToken()
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
public ListRuleNamesByTargetResult withNextToken(String nextToken)
Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
nextToken
- Indicates whether there are additional results to retrieve. If there are no more results, the value is
null.public String toString()
toString
in class Object
Object.toString()
public ListRuleNamesByTargetResult clone()