public static interface CreateUsagePlanResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<CreateUsagePlanResponse.Builder,CreateUsagePlanResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateUsagePlanResponse.Builder |
apiStages(ApiStage... apiStages)
The associated API stages of a usage plan.
|
CreateUsagePlanResponse.Builder |
apiStages(Collection<ApiStage> apiStages)
The associated API stages of a usage plan.
|
CreateUsagePlanResponse.Builder |
apiStages(Consumer<ApiStage.Builder>... apiStages)
The associated API stages of a usage plan.
|
CreateUsagePlanResponse.Builder |
description(String description)
The description of a usage plan.
|
CreateUsagePlanResponse.Builder |
id(String id)
The identifier of a UsagePlan resource.
|
CreateUsagePlanResponse.Builder |
name(String name)
The name of a usage plan.
|
CreateUsagePlanResponse.Builder |
productCode(String productCode)
The Amazon Web Services Marketplace product identifier to associate with the usage plan as a SaaS product on
the Amazon Web Services Marketplace.
|
default CreateUsagePlanResponse.Builder |
quota(Consumer<QuotaSettings.Builder> quota)
The target maximum number of permitted requests per a given unit time interval.
|
CreateUsagePlanResponse.Builder |
quota(QuotaSettings quota)
The target maximum number of permitted requests per a given unit time interval.
|
CreateUsagePlanResponse.Builder |
tags(Map<String,String> tags)
The collection of tags.
|
default CreateUsagePlanResponse.Builder |
throttle(Consumer<ThrottleSettings.Builder> throttle)
A map containing method level throttling information for API stage in a usage plan.
|
CreateUsagePlanResponse.Builder |
throttle(ThrottleSettings throttle)
A map containing method level throttling information for API stage in a usage plan.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateUsagePlanResponse.Builder id(String id)
The identifier of a UsagePlan resource.
id - The identifier of a UsagePlan resource.CreateUsagePlanResponse.Builder name(String name)
The name of a usage plan.
name - The name of a usage plan.CreateUsagePlanResponse.Builder description(String description)
The description of a usage plan.
description - The description of a usage plan.CreateUsagePlanResponse.Builder apiStages(Collection<ApiStage> apiStages)
The associated API stages of a usage plan.
apiStages - The associated API stages of a usage plan.CreateUsagePlanResponse.Builder apiStages(ApiStage... apiStages)
The associated API stages of a usage plan.
apiStages - The associated API stages of a usage plan.CreateUsagePlanResponse.Builder apiStages(Consumer<ApiStage.Builder>... apiStages)
The associated API stages of a usage plan.
This is a convenience method that creates an instance of theApiStage.Builder avoiding the need to create one
manually via ApiStage.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #apiStages(List.
apiStages - a consumer that will call methods on
ApiStage.Builder#apiStages(java.util.Collection) CreateUsagePlanResponse.Builder throttle(ThrottleSettings throttle)
A map containing method level throttling information for API stage in a usage plan.
throttle - A map containing method level throttling information for API stage in a usage plan.default CreateUsagePlanResponse.Builder throttle(Consumer<ThrottleSettings.Builder> throttle)
A map containing method level throttling information for API stage in a usage plan.
This is a convenience method that creates an instance of theThrottleSettings.Builder avoiding the
need to create one manually via ThrottleSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to throttle(ThrottleSettings).
throttle - a consumer that will call methods on ThrottleSettings.Builderthrottle(ThrottleSettings)CreateUsagePlanResponse.Builder quota(QuotaSettings quota)
The target maximum number of permitted requests per a given unit time interval.
quota - The target maximum number of permitted requests per a given unit time interval.default CreateUsagePlanResponse.Builder quota(Consumer<QuotaSettings.Builder> quota)
The target maximum number of permitted requests per a given unit time interval.
This is a convenience method that creates an instance of theQuotaSettings.Builder avoiding the need
to create one manually via QuotaSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to quota(QuotaSettings).
quota - a consumer that will call methods on QuotaSettings.Builderquota(QuotaSettings)CreateUsagePlanResponse.Builder productCode(String productCode)
The Amazon Web Services Marketplace product identifier to associate with the usage plan as a SaaS product on the Amazon Web Services Marketplace.
productCode - The Amazon Web Services Marketplace product identifier to associate with the usage plan as a SaaS
product on the Amazon Web Services Marketplace.CreateUsagePlanResponse.Builder tags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags - The collection of tags. Each tag element is associated with a given resource.Copyright © 2023. All rights reserved.