@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListCustomMetricsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListCustomMetricsRequest |
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()
The token for the next set of results.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListCustomMetricsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return at one time.
|
ListCustomMetricsRequest |
withNextToken(String nextToken)
The token for the next 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, withSdkRequestTimeoutpublic void setNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public String getNextToken()
The token for the next set of results.
public ListCustomMetricsRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
maxResults - The maximum number of results to return at one time. The default is 25.public Integer getMaxResults()
The maximum number of results to return at one time. The default is 25.
public ListCustomMetricsRequest withMaxResults(Integer maxResults)
The maximum number of results to return at one time. The default is 25.
maxResults - The maximum number of results to return at one time. The default is 25.public String toString()
toString in class ObjectObject.toString()public ListCustomMetricsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()