Interface ListGroupsResponse.Builder

  • Method Details

    • groups

      An array of structures that each contain information about one group.

      Parameters:
      groups - An array of structures that each contain information about one group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of structures that each contain information about one group.

      Parameters:
      groups - An array of structures that each contain information about one group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of structures that each contain information about one group.

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

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

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

      ListGroupsResponse.Builder nextToken(String nextToken)

      A token that indicates that there is more data available. You can use this token in a subsequent ListGroups operation to retrieve the next set of results.

      Parameters:
      nextToken - A token that indicates that there is more data available. You can use this token in a subsequent ListGroups operation to retrieve the next set of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.