public static interface CreateUsagePlanRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateUsagePlanRequest.Builder name(String name)
The name of the usage plan.
name - The name of the usage plan.CreateUsagePlanRequest.Builder description(String description)
The description of the usage plan.
description - The description of the usage plan.CreateUsagePlanRequest.Builder apiStages(Collection<ApiStage> apiStages)
The associated API stages of the usage plan.
apiStages - The associated API stages of the usage plan.CreateUsagePlanRequest.Builder apiStages(ApiStage... apiStages)
The associated API stages of the usage plan.
apiStages - The associated API stages of the usage plan.CreateUsagePlanRequest.Builder apiStages(Consumer<ApiStage.Builder>... apiStages)
The associated API stages of the 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) CreateUsagePlanRequest.Builder throttle(ThrottleSettings throttle)
The throttling limits of the usage plan.
throttle - The throttling limits of the usage plan.default CreateUsagePlanRequest.Builder throttle(Consumer<ThrottleSettings.Builder> throttle)
The throttling limits of the 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)CreateUsagePlanRequest.Builder quota(QuotaSettings quota)
The quota of the usage plan.
quota - The quota of the usage plan.default CreateUsagePlanRequest.Builder quota(Consumer<QuotaSettings.Builder> quota)
The quota of the usage plan.
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)CreateUsagePlanRequest.Builder tags(Map<String,String> tags)
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.
tags - The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128
characters and must not start with aws:. The tag value can be up to 256 characters.CreateUsagePlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateUsagePlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.