Class ListPriceListsRequest

    • Method Detail

      • serviceCode

        public final String serviceCode()

        The service code or the Savings Plan service code for the attributes that you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, use AmazonEC2. For a full list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the DescribeServices API.

        To retrieve the Reserved Instance and Compute Savings Plan price lists, use ComputeSavingsPlans.

        To retrieve Machine Learning Savings Plans price lists, use MachineLearningSavingsPlans.

        Returns:
        The service code or the Savings Plan service code for the attributes that you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, use AmazonEC2. For a full list of service codes containing On-Demand and Reserved Instance (RI) pricing, use the DescribeServices API.

        To retrieve the Reserved Instance and Compute Savings Plan price lists, use ComputeSavingsPlans.

        To retrieve Machine Learning Savings Plans price lists, use MachineLearningSavingsPlans.

      • effectiveDate

        public final Instant effectiveDate()

        The date that the Price List file prices are effective from.

        Returns:
        The date that the Price List file prices are effective from.
      • regionCode

        public final String regionCode()

        This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the US East (N. Virginia) Region, use us-east-1. If nothing is specified, you retrieve price lists for all applicable Regions. The available RegionCode list can be retrieved from GetAttributeValues API.

        Returns:
        This is used to filter the Price List by Amazon Web Services Region. For example, to get the price list only for the US East (N. Virginia) Region, use us-east-1. If nothing is specified, you retrieve price lists for all applicable Regions. The available RegionCode list can be retrieved from GetAttributeValues API.
      • currencyCode

        public final String currencyCode()

        The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.

        Returns:
        The three alphabetical character ISO-4217 currency code that the Price List files are denominated in.
      • nextToken

        public final String nextToken()

        The pagination token that indicates the next set of results that you want to retrieve.

        Returns:
        The pagination token that indicates the next set of results that you want to retrieve.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return in the response.

        Returns:
        The maximum number of results to return in the response.
      • toString

        public final 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