public class ListTargetsByRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The result of the ListTargetsByRule operation.
| Constructor and Description |
|---|
ListTargetsByRuleResult() |
| Modifier and Type | Method and Description |
|---|---|
ListTargetsByRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
Indicates that there are additional results to retrieve.
|
List<Target> |
getTargets()
Lists the targets assigned to the rule.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Indicates that there are additional results to retrieve.
|
void |
setTargets(Collection<Target> targets)
Lists the targets assigned to the rule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListTargetsByRuleResult |
withNextToken(String nextToken)
Indicates that there are additional results to retrieve.
|
ListTargetsByRuleResult |
withTargets(Collection<Target> targets)
Lists the targets assigned to the rule.
|
ListTargetsByRuleResult |
withTargets(Target... targets)
Lists the targets assigned to the rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Target> getTargets()
Lists the targets assigned to the rule.
public void setTargets(Collection<Target> targets)
Lists the targets assigned to the rule.
targets - Lists the targets assigned to the rule.public ListTargetsByRuleResult withTargets(Target... targets)
Lists the targets assigned to the rule.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection) or withTargets(java.util.Collection) if you want to override
the existing values.
targets - Lists the targets assigned to the rule.public ListTargetsByRuleResult withTargets(Collection<Target> targets)
Lists the targets assigned to the rule.
targets - Lists the targets assigned to the rule.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 ListTargetsByRuleResult 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 ListTargetsByRuleResult clone()
Copyright © 2016. All rights reserved.