@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsagePlansRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The GET request to get all the usage plans of the caller's account.
NOOP
Constructor and Description |
---|
GetUsagePlansRequest() |
Modifier and Type | Method and Description |
---|---|
GetUsagePlansRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyId()
The identifier of the API key associated with the usage plans.
|
Integer |
getLimit()
The maximum number of returned results per page.
|
String |
getPosition()
The current pagination position in the paged result set.
|
int |
hashCode() |
void |
setKeyId(String keyId)
The identifier of the API key associated with the usage plans.
|
void |
setLimit(Integer limit)
The maximum number of returned results per page.
|
void |
setPosition(String position)
The current pagination position in the paged result set.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetUsagePlansRequest |
withKeyId(String keyId)
The identifier of the API key associated with the usage plans.
|
GetUsagePlansRequest |
withLimit(Integer limit)
The maximum number of returned results per page.
|
GetUsagePlansRequest |
withPosition(String position)
The current pagination position in the paged result set.
|
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 setPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public String getPosition()
The current pagination position in the paged result set.
public GetUsagePlansRequest withPosition(String position)
The current pagination position in the paged result set.
position
- The current pagination position in the paged result set.public void setKeyId(String keyId)
The identifier of the API key associated with the usage plans.
keyId
- The identifier of the API key associated with the usage plans.public String getKeyId()
The identifier of the API key associated with the usage plans.
public GetUsagePlansRequest withKeyId(String keyId)
The identifier of the API key associated with the usage plans.
keyId
- The identifier of the API key associated with the usage plans.public void setLimit(Integer limit)
The maximum number of returned results per page.
limit
- The maximum number of returned results per page.public Integer getLimit()
The maximum number of returned results per page.
public GetUsagePlansRequest withLimit(Integer limit)
The maximum number of returned results per page.
limit
- The maximum number of returned results per page.public String toString()
toString
in class Object
Object.toString()
public GetUsagePlansRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.