Interface ListGroupsResponse.Builder

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

  • Method Details

    • groups

      The group objects for the groups.

      Parameters:
      groups - The group objects for the groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      The group objects for the groups.

      Parameters:
      groups - The group objects for the groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groups

      The group objects for the groups.

      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)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.