@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUsageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
NOOP
Constructor and Description |
---|
UpdateUsageRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUsageRequest |
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 plan in which a temporary extension is granted to the
remaining quota.
|
List<PatchOperation> |
getPatchOperations()
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
String |
getUsagePlanId()
The Id of the usage plan associated with the usage data.
|
int |
hashCode() |
void |
setKeyId(String keyId)
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the
remaining quota.
|
void |
setPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
void |
setUsagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateUsageRequest |
withKeyId(String keyId)
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the
remaining quota.
|
UpdateUsageRequest |
withPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateUsageRequest |
withPatchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateUsageRequest |
withUsagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
|
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 Id of the usage plan associated with the usage data.
usagePlanId
- The Id of the usage plan associated with the usage data.public String getUsagePlanId()
The Id of the usage plan associated with the usage data.
public UpdateUsageRequest withUsagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
usagePlanId
- The Id of the usage plan associated with the usage data.public void setKeyId(String keyId)
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
keyId
- The identifier of the API key associated with the usage plan in which a temporary extension is granted to
the remaining quota.public String getKeyId()
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
public UpdateUsageRequest withKeyId(String keyId)
The identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
keyId
- The identifier of the API key associated with the usage plan in which a temporary extension is granted to
the remaining quota.public List<PatchOperation> getPatchOperations()
A list of update operations to be applied to the specified resource and in the order specified in this list.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.public UpdateUsageRequest withPatchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
NOTE: This method appends the values to the existing list (if any). Use
setPatchOperations(java.util.Collection)
or withPatchOperations(java.util.Collection)
if you
want to override the existing values.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.public UpdateUsageRequest withPatchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.public String toString()
toString
in class Object
Object.toString()
public UpdateUsageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.