@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 return.
|
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 return.
|
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 return.
|
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 return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use
in your next request, to get the next batch of objects.
maxResults
- The maximum number of Protection objects to return. If you leave this blank, Shield Advanced
returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number
of objects returned could be less than MaxResults
, even if there are still more objects yet
to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
public Integer getMaxResults()
The maximum number of Protection objects to return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use
in your next request, to get the next batch of objects.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number
of objects returned could be less than MaxResults
, even if there are still more objects yet
to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
public ListProtectionsRequest withMaxResults(Integer maxResults)
The maximum number of Protection objects to return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults
, even if there are still more objects yet to return.
If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use
in your next request, to get the next batch of objects.
maxResults
- The maximum number of Protection objects to return. If you leave this blank, Shield Advanced
returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number
of objects returned could be less than MaxResults
, even if there are still more objects yet
to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
public String toString()
toString
in class Object
Object.toString()
public ListProtectionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()