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