Class ListRulesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.waf.model.ListRulesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListRulesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListRulesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListRulesRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getLimit()
Specifies the number ofRules
that you want AWS WAF to return for this request.String
getNextMarker()
If you specify a value forLimit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
.int
hashCode()
void
setLimit(Integer limit)
Specifies the number ofRules
that you want AWS WAF to return for this request.void
setNextMarker(String nextMarker)
If you specify a value forLimit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListRulesRequest
withLimit(Integer limit)
Specifies the number ofRules
that you want AWS WAF to return for this request.ListRulesRequest
withNextMarker(String nextMarker)
If you specify a value forLimit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setNextMarker
public void setNextMarker(String nextMarker)
If you specify a value for
Limit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.- Parameters:
nextMarker
- If you specify a value forLimit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.
-
getNextMarker
public String getNextMarker()
If you specify a value for
Limit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.- Returns:
- If you specify a value for
Limit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.
-
withNextMarker
public ListRulesRequest withNextMarker(String nextMarker)
If you specify a value for
Limit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.- Parameters:
nextMarker
- If you specify a value forLimit
and you have moreRules
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRules
. For the second and subsequentListRules
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRules
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
Specifies the number of
Rules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.- Parameters:
limit
- Specifies the number ofRules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.
-
getLimit
public Integer getLimit()
Specifies the number of
Rules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.- Returns:
- Specifies the number of
Rules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.
-
withLimit
public ListRulesRequest withLimit(Integer limit)
Specifies the number of
Rules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.- Parameters:
limit
- Specifies the number ofRules
that you want AWS WAF to return for this request. If you have moreRules
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRules
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListRulesRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-