CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>, SdkBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>public static interface CreateUsagePlanRequest.Builder extends CopyableBuilder<CreateUsagePlanRequest.Builder,CreateUsagePlanRequest>
| Modifier and Type | Method | Description |
|---|---|---|
CreateUsagePlanRequest.Builder |
apiStages(Collection<ApiStage> apiStages) |
The associated API stages of the usage plan.
|
CreateUsagePlanRequest.Builder |
apiStages(ApiStage... apiStages) |
The associated API stages of the usage plan.
|
CreateUsagePlanRequest.Builder |
description(String description) |
The description of the usage plan.
|
CreateUsagePlanRequest.Builder |
name(String name) |
The name of the usage plan.
|
CreateUsagePlanRequest.Builder |
quota(QuotaSettings quota) |
The quota of the usage plan.
|
CreateUsagePlanRequest.Builder |
throttle(ThrottleSettings throttle) |
The throttling limits of the usage plan.
|
copyapply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setApiStages(java.util.Collection) or #withApiStages(java.util.Collection) if you want to
override the existing values.
apiStages - The associated API stages of the usage plan.CreateUsagePlanRequest.Builder throttle(ThrottleSettings throttle)
The throttling limits of the usage plan.
throttle - The throttling limits of the usage plan.CreateUsagePlanRequest.Builder quota(QuotaSettings quota)
The quota of the usage plan.
quota - The quota of the usage plan.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.