CopyableBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>
, SdkBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>
public static interface GetUsagePlanResponse.Builder extends CopyableBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>
Modifier and Type | Method | Description |
---|---|---|
GetUsagePlanResponse.Builder |
apiStages(Collection<ApiStage> apiStages) |
The associated API stages of a usage plan.
|
GetUsagePlanResponse.Builder |
apiStages(ApiStage... apiStages) |
The associated API stages of a usage plan.
|
GetUsagePlanResponse.Builder |
description(String description) |
The description of a usage plan.
|
GetUsagePlanResponse.Builder |
id(String id) |
The identifier of a UsagePlan resource.
|
GetUsagePlanResponse.Builder |
name(String name) |
The name of a usage plan.
|
GetUsagePlanResponse.Builder |
productCode(String productCode) |
The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
|
GetUsagePlanResponse.Builder |
quota(QuotaSettings quota) |
The maximum number of permitted requests per a given unit time interval.
|
GetUsagePlanResponse.Builder |
throttle(ThrottleSettings throttle) |
The request throttle limits of a usage plan.
|
copy
apply, build
GetUsagePlanResponse.Builder id(String id)
The identifier of a UsagePlan resource.
id
- The identifier of a UsagePlan resource.GetUsagePlanResponse.Builder name(String name)
The name of a usage plan.
name
- The name of a usage plan.GetUsagePlanResponse.Builder description(String description)
The description of a usage plan.
description
- The description of a usage plan.GetUsagePlanResponse.Builder apiStages(Collection<ApiStage> apiStages)
The associated API stages of a usage plan.
apiStages
- The associated API stages of a usage plan.GetUsagePlanResponse.Builder apiStages(ApiStage... apiStages)
The associated API stages of a 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 a usage plan.GetUsagePlanResponse.Builder throttle(ThrottleSettings throttle)
The request throttle limits of a usage plan.
throttle
- The request throttle limits of a usage plan.GetUsagePlanResponse.Builder quota(QuotaSettings quota)
The maximum number of permitted requests per a given unit time interval.
quota
- The maximum number of permitted requests per a given unit time interval.GetUsagePlanResponse.Builder productCode(String productCode)
The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.
productCode
- The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS
Marketplace.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.