public static interface UpdateUsageRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateUsageRequest.Builder,UpdateUsageRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateUsageRequest.Builder |
keyId(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.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
UpdateUsageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
UpdateUsageRequest.Builder |
patchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
|
UpdateUsageRequest.Builder |
patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
For more information about supported patch operations, see Patch Operations.
|
UpdateUsageRequest.Builder |
patchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
|
UpdateUsageRequest.Builder |
usagePlanId(String usagePlanId)
The Id of the usage plan associated with the usage data.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateUsageRequest.Builder usagePlanId(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.UpdateUsageRequest.Builder keyId(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.UpdateUsageRequest.Builder patchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.UpdateUsageRequest.Builder patchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
patchOperations - For more information about supported patch operations, see Patch Operations.UpdateUsageRequest.Builder patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
For more information about supported patch operations, see Patch Operations.
This is a convenience method that creates an instance of thePatchOperation.Builder avoiding the need to create
one manually via PatchOperation.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #patchOperations(List.
patchOperations - a consumer that will call methods on
PatchOperation.Builder#patchOperations(java.util.Collection) UpdateUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateUsageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.