public class ListRulesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Container for the parameters to the ListRules operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
The maximum number of results to return.
|
private java.lang.String |
namePrefix
The prefix matching the rule name.
|
private java.lang.String |
nextToken
The token returned by a previous call to indicate that there is more data
available.
|
NOOP
Constructor and Description |
---|
ListRulesRequest() |
Modifier and Type | Method and Description |
---|---|
ListRulesRequest |
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 |
getNamePrefix()
The prefix matching the rule name.
|
java.lang.String |
getNextToken()
The token returned by a previous call to indicate that there is more data
available.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of results to return.
|
void |
setNamePrefix(java.lang.String namePrefix)
The prefix matching the rule name.
|
void |
setNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListRulesRequest |
withLimit(java.lang.Integer limit)
The maximum number of results to return.
|
ListRulesRequest |
withNamePrefix(java.lang.String namePrefix)
The prefix matching the rule name.
|
ListRulesRequest |
withNextToken(java.lang.String nextToken)
The token returned by a previous call to indicate that there is more data
available.
|
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 namePrefix
The prefix matching the rule name.
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 setNamePrefix(java.lang.String namePrefix)
The prefix matching the rule name.
namePrefix
- The prefix matching the rule name.public java.lang.String getNamePrefix()
The prefix matching the rule name.
public ListRulesRequest withNamePrefix(java.lang.String namePrefix)
The prefix matching the rule name.
namePrefix
- The prefix matching the rule name.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 ListRulesRequest 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 ListRulesRequest 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 ListRulesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()