@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetUsagePlanRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The GET request to get a usage plan of a given plan identifier.
NOOP
Constructor and Description |
---|
GetUsagePlanRequest() |
Modifier and Type | Method and Description |
---|---|
GetUsagePlanRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getUsagePlanId()
The identifier of the UsagePlan resource to be retrieved.
|
int |
hashCode() |
void |
setUsagePlanId(String usagePlanId)
The identifier of the UsagePlan resource to be retrieved.
|
String |
toString()
Returns a string representation of this object.
|
GetUsagePlanRequest |
withUsagePlanId(String usagePlanId)
The identifier of the UsagePlan resource to be retrieved.
|
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 setUsagePlanId(String usagePlanId)
The identifier of the UsagePlan resource to be retrieved.
usagePlanId
- The identifier of the UsagePlan resource to be retrieved.public String getUsagePlanId()
The identifier of the UsagePlan resource to be retrieved.
public GetUsagePlanRequest withUsagePlanId(String usagePlanId)
The identifier of the UsagePlan resource to be retrieved.
usagePlanId
- The identifier of the UsagePlan resource to be retrieved.public String toString()
toString
in class Object
Object.toString()
public GetUsagePlanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()