@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 request.
|
boolean |
equals(Object obj) |
String |
getKeyId()
The identifier of the API key associated with the usage plans.
|
Integer |
getLimit()
The number of UsagePlan resources to be returned as the result.
|
String |
getPosition()
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
|
int |
hashCode() |
void |
setKeyId(String keyId)
The identifier of the API key associated with the usage plans.
|
void |
setLimit(Integer limit)
The number of UsagePlan resources to be returned as the result.
|
void |
setPosition(String position)
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
|
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 number of UsagePlan resources to be returned as the result.
|
GetUsagePlansRequest |
withPosition(String position)
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPosition(String position)
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
position
- The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.public String getPosition()
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
public GetUsagePlansRequest withPosition(String position)
The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.
position
- The zero-based array index specifying the position of the to-be-retrieved UsagePlan resource.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 number of UsagePlan resources to be returned as the result.
limit
- The number of UsagePlan resources to be returned as the result.public Integer getLimit()
The number of UsagePlan resources to be returned as the result.
public GetUsagePlansRequest withLimit(Integer limit)
The number of UsagePlan resources to be returned as the result.
limit
- The number of UsagePlan resources to be returned as the result.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.