public static interface UpdateUsagePlanRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateUsagePlanRequest.Builder,UpdateUsagePlanRequest>
Modifier and Type | Method and Description |
---|---|
UpdateUsagePlanRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateUsagePlanRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateUsagePlanRequest.Builder |
patchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateUsagePlanRequest.Builder |
patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateUsagePlanRequest.Builder |
patchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateUsagePlanRequest.Builder |
usagePlanId(String usagePlanId)
[Required] The Id of the to-be-updated usage plan.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateUsagePlanRequest.Builder usagePlanId(String usagePlanId)
[Required] The Id of the to-be-updated usage plan.
usagePlanId
- [Required] The Id of the to-be-updated usage plan.UpdateUsagePlanRequest.Builder patchOperations(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.UpdateUsagePlanRequest.Builder patchOperations(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.UpdateUsagePlanRequest.Builder patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #patchOperations(List)
.patchOperations
- a consumer that will call methods on List.Builder
#patchOperations(List)
UpdateUsagePlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateUsagePlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.