@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()
For more information about supported patch operations, see Patch Operations.
|
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)
For more information about supported patch operations, see Patch Operations.
|
void |
setUsagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
|
String |
toString()
Returns a string representation of this object.
|
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)
For more information about supported patch operations, see Patch Operations.
|
UpdateUsageRequest |
withPatchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
|
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()
For more information about supported patch operations, see Patch Operations.
public void setPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations
- For more information about supported patch operations, see Patch Operations.public UpdateUsageRequest withPatchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
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
- For more information about supported patch operations, see Patch Operations.public UpdateUsageRequest withPatchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations
- For more information about supported patch operations, see Patch Operations.public String toString()
toString
in class Object
Object.toString()
public UpdateUsageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()