JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.apigateway.model

Class UpdateUsageResult

    • Constructor Detail

      • UpdateUsageResult

        public UpdateUsageResult()
    • Method Detail

      • setUsagePlanId

        public void setUsagePlanId(String usagePlanId)

        The plan Id associated with this usage data.

        Parameters:
        usagePlanId - The plan Id associated with this usage data.
      • getUsagePlanId

        public String getUsagePlanId()

        The plan Id associated with this usage data.

        Returns:
        The plan Id associated with this usage data.
      • withUsagePlanId

        public UpdateUsageResult withUsagePlanId(String usagePlanId)

        The plan Id associated with this usage data.

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

        public void setStartDate(String startDate)

        The starting date of the usage data.

        Parameters:
        startDate - The starting date of the usage data.
      • getStartDate

        public String getStartDate()

        The starting date of the usage data.

        Returns:
        The starting date of the usage data.
      • withStartDate

        public UpdateUsageResult withStartDate(String startDate)

        The starting date of the usage data.

        Parameters:
        startDate - The starting date of the usage data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEndDate

        public void setEndDate(String endDate)

        The ending date of the usage data.

        Parameters:
        endDate - The ending date of the usage data.
      • getEndDate

        public String getEndDate()

        The ending date of the usage data.

        Returns:
        The ending date of the usage data.
      • withEndDate

        public UpdateUsageResult withEndDate(String endDate)

        The ending date of the usage data.

        Parameters:
        endDate - The ending date of the usage data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPosition

        public void setPosition(String position)
        Parameters:
        position -
      • getPosition

        public String getPosition()
        Returns:
      • withPosition

        public UpdateUsageResult withPosition(String position)
        Parameters:
        position -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getItems

        public Map<String,List<List<Long>>> getItems()

        The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

        Returns:
        The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].
      • setItems

        public void setItems(Map<String,List<List<Long>>> items)

        The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

        Parameters:
        items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].
      • withItems

        public UpdateUsageResult withItems(Map<String,List<List<Long>>> items)

        The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].

        Parameters:
        items - The usage data, as daily logs of used and remaining quotas, over the specified time interval indexed over the API keys in a usage plan. For example, {..., "values" : { "{api_key}" : [ [0, 100], [10, 90], [100, 10]]}, where {api_key} stands for an API key value and the daily log entry is of the format [used quota, remaining quota].
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clearItemsEntries

        public UpdateUsageResult clearItemsEntries()
        Removes all the entries added into Items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /