public class ListTargetsByRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the ListTargetsByRule operation.
NOOP
Constructor and Description |
---|
ListTargetsByRuleRequest() |
Modifier and Type | Method and Description |
---|---|
ListTargetsByRuleRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
The token returned by a previous call to indicate that there is more data
available.
|
String |
getRule()
The name of the rule whose targets you want to list.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
void |
setRule(String rule)
The name of the rule whose targets you want to list.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTargetsByRuleRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
ListTargetsByRuleRequest |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
ListTargetsByRuleRequest |
withRule(String rule)
The name of the rule whose targets you want to list.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRule(String rule)
The name of the rule whose targets you want to list.
rule
- The name of the rule whose targets you want to list.public String getRule()
The name of the rule whose targets you want to list.
public ListTargetsByRuleRequest withRule(String rule)
The name of the rule whose targets you want to list.
rule
- The name of the rule whose targets you want to list.public void setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is
more data available.public String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public ListTargetsByRuleRequest withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is
more data available.public void setLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public Integer getLimit()
The maximum number of results to return.
public ListTargetsByRuleRequest withLimit(Integer limit)
The maximum number of results to return.
limit
- The maximum number of results to return.public String toString()
toString
in class Object
Object.toString()
public ListTargetsByRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.