Interface ListGroupsResponse.Builder

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

public static interface ListGroupsResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
  • Method Details

    • 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.
    • groupIdentifiers

      ListGroupsResponse.Builder groupIdentifiers(Consumer<GroupIdentifier.Builder>... groupIdentifiers)

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

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

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

      Parameters:
      groupIdentifiers - a consumer that will call methods on GroupIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
      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.
      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<Group>).

      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:
    • 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.