@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; useful for testing and debugging.
|
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.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20 results
will be returned.public Integer getMaxResults()
The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned.
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.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20 results
will be returned.public String toString()
toString
in class Object
Object.toString()
public ListProtectionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.