Interface ListGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,QBusinessResponse.Builder,SdkBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGroupsResponse
public static interface ListGroupsResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGroupsResponse.Builderitems(Collection<GroupSummary> items)Summary information for list of groups that are mapped to users.ListGroupsResponse.Builderitems(Consumer<GroupSummary.Builder>... items)Summary information for list of groups that are mapped to users.ListGroupsResponse.Builderitems(GroupSummary... items)Summary information for list of groups that are mapped to users.ListGroupsResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
items
ListGroupsResponse.Builder items(Collection<GroupSummary> items)
Summary information for list of groups that are mapped to users.
- Parameters:
items- Summary information for list of groups that are mapped to users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListGroupsResponse.Builder items(GroupSummary... items)
Summary information for list of groups that are mapped to users.
- Parameters:
items- Summary information for list of groups that are mapped to users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListGroupsResponse.Builder items(Consumer<GroupSummary.Builder>... items)
Summary information for list of groups that are mapped to users.
This is a convenience method that creates an instance of theGroupSummary.Builderavoiding the need to create one manually viaGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListGroupsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.
- Parameters:
nextToken- If the response is truncated, Amazon Q returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-