Interface ListGroupsResponse.Builder

    • Method Detail

      • groupIdentifiers

        ListGroupsResponse.Builder groupIdentifiers​(Collection<GroupIdentifier> groupIdentifiers)

        A list of GroupIdentifier objects. Each identifier is an object that contains both the Name and the GroupArn.

        Parameters:
        groupIdentifiers - A list of GroupIdentifier objects. Each identifier is an object that contains both the Name and the GroupArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupIdentifiers

        ListGroupsResponse.Builder groupIdentifiers​(GroupIdentifier... groupIdentifiers)

        A list of GroupIdentifier objects. Each identifier is an object that contains both the Name and the GroupArn.

        Parameters:
        groupIdentifiers - A list of GroupIdentifier objects. Each identifier is an object that contains both the Name and the GroupArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        @Deprecated
        ListGroupsResponse.Builder groups​(Collection<Group> groups)
        Deprecated.
        This field is deprecated, use GroupIdentifiers instead.

        Deprecated - don't use this field. Use the GroupIdentifiers response field instead.

        Parameters:
        groups -

        Deprecated - don't use this field. Use the GroupIdentifiers response field instead.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        @Deprecated
        ListGroupsResponse.Builder groups​(Group... groups)
        Deprecated.
        This field is deprecated, use GroupIdentifiers instead.

        Deprecated - don't use this field. Use the GroupIdentifiers response field instead.

        Parameters:
        groups -

        Deprecated - don't use this field. Use the GroupIdentifiers response field instead.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        @Deprecated
        ListGroupsResponse.Builder groups​(Consumer<Group.Builder>... groups)
        Deprecated.
        This field is deprecated, use GroupIdentifiers instead.

        Deprecated - don't use this field. Use the GroupIdentifiers response field instead.

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

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

        Parameters:
        groups - a consumer that will call methods on Group.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #groups(java.util.Collection)
      • nextToken

        ListGroupsResponse.Builder nextToken​(String nextToken)

        If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

        Parameters:
        nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.