Interface AdminListGroupsForUserResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CognitoIdentityProviderResponse.Builder, CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>, SdkBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
AdminListGroupsForUserResponse

  • Method Details

    • groups

      An array of groups and information about them.

      Parameters:
      groups - An array of groups and information about them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of groups and information about them.

      Parameters:
      groups - An array of groups and information about them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      An array of groups and information about them.

      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

      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.