Interface ListPlansResponse.Builder

  • Method Details

    • plans

      The page of plans for the app; each carries the stage it was read from.

      Parameters:
      plans - The page of plans for the app; each carries the stage it was read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plans

      The page of plans for the app; each carries the stage it was read from.

      Parameters:
      plans - The page of plans for the app; each carries the stage it was read from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • plans

      The page of plans for the app; each carries the stage it was read from.

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

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

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

      ListPlansResponse.Builder nextToken(String nextToken)

      An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.

      Parameters:
      nextToken - An opaque pagination token. Pass the value returned in a response back on the next request to retrieve the following page; absent when there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.