@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProtectionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListProtectionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListProtectionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of Protection objects to be returned.
|
String |
getNextToken()
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections . |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of Protection objects to be returned.
|
void |
setNextToken(String nextToken)
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections . |
String |
toString()
Returns a string representation of this object.
|
ListProtectionsRequest |
withMaxResults(Integer maxResults)
The maximum number of Protection objects to be returned.
|
ListProtectionsRequest |
withNextToken(String nextToken)
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setNextToken(String nextToken)
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
.
Pass null if this is the first call.
nextToken
- The ListProtectionsRequest.NextToken
value from a previous call to
ListProtections
. Pass null if this is the first call.public String getNextToken()
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
.
Pass null if this is the first call.
ListProtectionsRequest.NextToken
value from a previous call to
ListProtections
. Pass null if this is the first call.public ListProtectionsRequest withNextToken(String nextToken)
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
.
Pass null if this is the first call.
nextToken
- The ListProtectionsRequest.NextToken
value from a previous call to
ListProtections
. Pass null if this is the first call.public void setMaxResults(Integer maxResults)
The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of Protection objects returned could be less than MaxResults
, even if there are still
more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will
always also return a NextToken
.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20 results
will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of Protection objects returned could be less than MaxResults
, even if there
are still more Protection objects yet to return. If there are more Protection objects to
return, AWS WAF will always also return a NextToken
.
public Integer getMaxResults()
The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of Protection objects returned could be less than MaxResults
, even if there are still
more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will
always also return a NextToken
.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of Protection objects returned could be less than MaxResults
, even if
there are still more Protection objects yet to return. If there are more Protection objects
to return, AWS WAF will always also return a NextToken
.
public ListProtectionsRequest withMaxResults(Integer maxResults)
The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of Protection objects returned could be less than MaxResults
, even if there are still
more Protection objects yet to return. If there are more Protection objects to return, AWS WAF will
always also return a NextToken
.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20 results
will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is,
the number of Protection objects returned could be less than MaxResults
, even if there
are still more Protection objects yet to return. If there are more Protection objects to
return, AWS WAF will always also return a NextToken
.
public String toString()
toString
in class Object
Object.toString()
public ListProtectionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()