Interface ListPlansInRegionResponse.Builder

  • Method Details

    • plans

      The plans that were requested.

      Parameters:
      plans - The plans that were requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plans

      The plans that were requested.

      Parameters:
      plans - The plans that were requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plans

      The plans that were requested.

      This is a convenience method that creates an instance of the AbbreviatedPlan.Builder avoiding the need to create one manually via AbbreviatedPlan.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to plans(List<AbbreviatedPlan>).

      Parameters:
      plans - a consumer that will call methods on AbbreviatedPlan.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      Specifies that you want to receive the next page of results. Valid only if you received a nextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's nextToken response to request the next page of results.

      Parameters:
      nextToken - Specifies that you want to receive the next page of results. Valid only if you received a nextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's nextToken response to request the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.