@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRetainedMessagesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListRetainedMessagesRequest() |
Modifier and Type | Method and Description |
---|---|
ListRetainedMessagesRequest |
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 results to return at one time.
|
String |
getNextToken()
To retrieve the next set of results, the
nextToken value from a previous response; otherwise
null to receive the first set of results. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
To retrieve the next set of results, the
nextToken value from a previous response; otherwise
null to receive the first set of results. |
String |
toString()
Returns a string representation of this object.
|
ListRetainedMessagesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListRetainedMessagesRequest |
withNextToken(String nextToken)
To retrieve the next set of results, the
nextToken value from a previous response; otherwise
null to receive the first set of results. |
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)
To retrieve the next set of results, the nextToken
value from a previous response; otherwise
null to receive the first set of results.
nextToken
- To retrieve the next set of results, the nextToken
value from a previous response; otherwise
null to receive the first set of results.public String getNextToken()
To retrieve the next set of results, the nextToken
value from a previous response; otherwise
null to receive the first set of results.
nextToken
value from a previous response; otherwise
null to receive the first set of results.public ListRetainedMessagesRequest withNextToken(String nextToken)
To retrieve the next set of results, the nextToken
value from a previous response; otherwise
null to receive the first set of results.
nextToken
- To retrieve the next set of results, the nextToken
value from a previous response; otherwise
null to receive the first set of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
maxResults
- The maximum number of results to return at one time.public Integer getMaxResults()
The maximum number of results to return at one time.
public ListRetainedMessagesRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
maxResults
- The maximum number of results to return at one time.public String toString()
toString
in class Object
Object.toString()
public ListRetainedMessagesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()