Interface GetUsageRequest.Builder

All Superinterfaces:
ApiGatewayRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>, SdkBuilder<GetUsageRequest.Builder,GetUsageRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
GetUsageRequest

public static interface GetUsageRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetUsageRequest.Builder,GetUsageRequest>
  • Method Details

    • usagePlanId

      GetUsageRequest.Builder usagePlanId(String usagePlanId)

      The Id of the usage plan associated with the usage data.

      Parameters:
      usagePlanId - The Id of the usage plan associated with the usage data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyId

      The Id of the API key associated with the resultant usage data.

      Parameters:
      keyId - The Id of the API key associated with the resultant usage data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startDate

      GetUsageRequest.Builder startDate(String startDate)

      The starting date (e.g., 2016-01-01) of the usage data.

      Parameters:
      startDate - The starting date (e.g., 2016-01-01) of the usage data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endDate

      GetUsageRequest.Builder endDate(String endDate)

      The ending date (e.g., 2016-12-31) of the usage data.

      Parameters:
      endDate - The ending date (e.g., 2016-12-31) of the usage data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • position

      GetUsageRequest.Builder position(String position)

      The current pagination position in the paged result set.

      Parameters:
      position - The current pagination position in the paged result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limit

      The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

      Parameters:
      limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetUsageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.