Interface UpdateUsagePlanRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateUsagePlanRequest.Builder,UpdateUsagePlanRequest>,SdkBuilder<UpdateUsagePlanRequest.Builder,UpdateUsagePlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateUsagePlanRequest
public static interface UpdateUsagePlanRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateUsagePlanRequest.Builder,UpdateUsagePlanRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateUsagePlanRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateUsagePlanRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateUsagePlanRequest.BuilderpatchOperations(Collection<PatchOperation> patchOperations)For more information about supported patch operations, see Patch Operations.UpdateUsagePlanRequest.BuilderpatchOperations(Consumer<PatchOperation.Builder>... patchOperations)For more information about supported patch operations, see Patch Operations.UpdateUsagePlanRequest.BuilderpatchOperations(PatchOperation... patchOperations)For more information about supported patch operations, see Patch Operations.UpdateUsagePlanRequest.BuilderusagePlanId(String usagePlanId)The Id of the to-be-updated usage plan.-
Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
usagePlanId
UpdateUsagePlanRequest.Builder usagePlanId(String usagePlanId)
The Id of the to-be-updated usage plan.
- Parameters:
usagePlanId- The Id of the to-be-updated usage plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateUsagePlanRequest.Builder patchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateUsagePlanRequest.Builder patchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateUsagePlanRequest.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.Builderavoiding the need to create one manually viaPatchOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#patchOperations(List.) - Parameters:
patchOperations- a consumer that will call methods onPatchOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#patchOperations(java.util.Collection)
-
overrideConfiguration
UpdateUsagePlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateUsagePlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-