@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMonitorsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListMonitorsRequest() |
Modifier and Type | Method and Description |
---|---|
ListMonitorsRequest |
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 with a single call.
|
String |
getNextToken()
The token for the next page of results.
|
String |
getState()
The list of all monitors and their states.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setState(String state)
The list of all monitors and their states.
|
String |
toString()
Returns a string representation of this object.
|
ListMonitorsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return with a single call.
|
ListMonitorsRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
ListMonitorsRequest |
withState(String state)
The list of all monitors and their states.
|
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 token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListMonitorsRequest withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
public Integer getMaxResults()
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
public ListMonitorsRequest withMaxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call
with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make
another call with the returned nextToken
value.
If MaxResults
is given a value larger than 100, only 100 results are returned.
public void setState(String state)
The list of all monitors and their states.
state
- The list of all monitors and their states.public String getState()
The list of all monitors and their states.
public ListMonitorsRequest withState(String state)
The list of all monitors and their states.
state
- The list of all monitors and their states.public String toString()
toString
in class Object
Object.toString()
public ListMonitorsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()