Interface GetUsageRequest.Builder

    • Method Detail

      • 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

        GetUsageRequest.Builder keyId​(String 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

        GetUsageRequest.Builder limit​(Integer 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.