public static interface CreateUsagePlanRequest.Builder extends APIGatewayRequest.Builder, CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
buildrequestOverrideConfigcopyapply, 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 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 #apiStages(List) .apiStages - a consumer that will call methods on List.Builder #apiStages(List) 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 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 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateUsagePlanRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.