@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProtectionGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListProtectionGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
ListProtectionGroupsRequest |
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 ProtectionGroup objects to return.
|
String |
getNextToken()
The next token value from a previous call to
ListProtectionGroups . |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of ProtectionGroup objects to return.
|
void |
setNextToken(String nextToken)
The next token value from a previous call to
ListProtectionGroups . |
String |
toString()
Returns a string representation of this object.
|
ListProtectionGroupsRequest |
withMaxResults(Integer maxResults)
The maximum number of ProtectionGroup objects to return.
|
ListProtectionGroupsRequest |
withNextToken(String nextToken)
The next token value from a previous call to
ListProtectionGroups . |
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 next token value from a previous call to ListProtectionGroups
. Pass null if this is the first
call.
nextToken
- The next token value from a previous call to ListProtectionGroups
. Pass null if this is the
first call.public String getNextToken()
The next token value from a previous call to ListProtectionGroups
. Pass null if this is the first
call.
ListProtectionGroups
. Pass null if this is the
first call.public ListProtectionGroupsRequest withNextToken(String nextToken)
The next token value from a previous call to ListProtectionGroups
. Pass null if this is the first
call.
nextToken
- The next token value from a previous call to ListProtectionGroups
. Pass null if this is the
first call.public void setMaxResults(Integer maxResults)
The maximum number of ProtectionGroup 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 ProtectionGroup 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 ProtectionGroup 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 ListProtectionGroupsRequest withMaxResults(Integer maxResults)
The maximum number of ProtectionGroup 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 ProtectionGroup 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 ListProtectionGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()