@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBrokersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListBrokersRequest() |
Modifier and Type | Method and Description |
---|---|
ListBrokersRequest |
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 brokers that Amazon MQ can return per page (20 by default).
|
String |
getNextToken()
The token that specifies the next page of results Amazon MQ should return.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of brokers that Amazon MQ can return per page (20 by default).
|
void |
setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
String |
toString()
Returns a string representation of this object.
|
ListBrokersRequest |
withMaxResults(Integer maxResults)
The maximum number of brokers that Amazon MQ can return per page (20 by default).
|
ListBrokersRequest |
withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return.
|
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 setMaxResults(Integer maxResults)
The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an
integer from 5 to 100.public Integer getMaxResults()
The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
public ListBrokersRequest withMaxResults(Integer maxResults)
The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.
maxResults
- The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an
integer from 5 to 100.public void setNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
nextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.public String getNextToken()
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
public ListBrokersRequest withNextToken(String nextToken)
The token that specifies the next page of results Amazon MQ should return. To request the first page, leave nextToken empty.
nextToken
- The token that specifies the next page of results Amazon MQ should return. To request the first page,
leave nextToken empty.public String toString()
toString
in class Object
Object.toString()
public ListBrokersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()