Interface ListGoalsResponse.Builder

  • Method Details

    • goals

      List of goals matching the criteria

      Parameters:
      goals - List of goals matching the criteria
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • goals

      List of goals matching the criteria

      Parameters:
      goals - List of goals matching the criteria
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • goals

      List of goals matching the criteria

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

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

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

      ListGoalsResponse.Builder nextToken(String nextToken)

      Pagination token for the next set of results

      Parameters:
      nextToken - Pagination token for the next set of results
      Returns:
      Returns a reference to this object so that method calls can be chained together.