Interface ListOfferingsResponse.Builder

    • Method Detail

      • nextToken

        ListOfferingsResponse.Builder nextToken​(String nextToken)
        The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
        Parameters:
        nextToken - The token that identifies which batch of results that you want to see. For example, you submit a ListOfferings request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListOfferings request a second time and specify the NextToken value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offerings

        ListOfferingsResponse.Builder offerings​(Collection<Offering> offerings)
        A list of offerings that are available to this account in the current AWS Region.
        Parameters:
        offerings - A list of offerings that are available to this account in the current AWS Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offerings

        ListOfferingsResponse.Builder offerings​(Offering... offerings)
        A list of offerings that are available to this account in the current AWS Region.
        Parameters:
        offerings - A list of offerings that are available to this account in the current AWS Region.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offerings

        ListOfferingsResponse.Builder offerings​(Consumer<Offering.Builder>... offerings)
        A list of offerings that are available to this account in the current AWS Region. This is a convenience method that creates an instance of the Offering.Builder avoiding the need to create one manually via Offering.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #offerings(List).

        Parameters:
        offerings - a consumer that will call methods on Offering.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #offerings(java.util.Collection)