Interface ListGroupsResponse.Builder

  • Method Details

    • groups

      An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

      Parameters:
      groups - An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

      Parameters:
      groups - An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.

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

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

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

      ListGroupsResponse.Builder nextToken(String nextToken)

      The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.

      Parameters:
      nextToken - The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
      Returns:
      Returns a reference to this object so that method calls can be chained together.