Interface GetUsagePlanResponse.Builder

All Superinterfaces:
ApiGatewayResponse.Builder, AwsResponse.Builder, Buildable, CopyableBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>, SdkBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetUsagePlanResponse

public static interface GetUsagePlanResponse.Builder extends ApiGatewayResponse.Builder, SdkPojo, CopyableBuilder<GetUsagePlanResponse.Builder,GetUsagePlanResponse>
  • Method Details

    • id

      The identifier of a UsagePlan resource.

      Parameters:
      id - The identifier of a UsagePlan resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of a usage plan.

      Parameters:
      name - The name of a usage plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetUsagePlanResponse.Builder description(String description)

      The description of a usage plan.

      Parameters:
      description - The description of a usage plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiStages

      The associated API stages of a usage plan.

      Parameters:
      apiStages - The associated API stages of a usage plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiStages

      GetUsagePlanResponse.Builder apiStages(ApiStage... apiStages)

      The associated API stages of a usage plan.

      Parameters:
      apiStages - The associated API stages of a usage plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • apiStages

      The associated API stages of a usage plan.

      This is a convenience method that creates an instance of the ApiStage.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<ApiStage>).

      Parameters:
      apiStages - a consumer that will call methods on ApiStage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • throttle

      A map containing method level throttling information for API stage in a usage plan.

      Parameters:
      throttle - A map containing method level throttling information for API stage in a usage plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 the ThrottleSettings.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).

      Parameters:
      throttle - a consumer that will call methods on ThrottleSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • quota

      The target maximum number of permitted requests per a given unit time interval.

      Parameters:
      quota - The target maximum number of permitted requests per a given unit time interval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • quota

      The target maximum number of permitted requests per a given unit time interval.

      This is a convenience method that creates an instance of the QuotaSettings.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).

      Parameters:
      quota - a consumer that will call methods on QuotaSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • productCode

      GetUsagePlanResponse.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.

      Parameters:
      productCode - The Amazon Web Services Marketplace product identifier to associate with the usage plan as a SaaS product on the Amazon Web Services Marketplace.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The collection of tags. Each tag element is associated with a given resource.

      Parameters:
      tags - The collection of tags. Each tag element is associated with a given resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.