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
Modifier and TypeMethodDescriptionitems(Collection<GroupSummary> items) Summary information for list of groups that are mapped to users.items(Consumer<GroupSummary.Builder>... items) Summary information for list of groups that are mapped to users.items(GroupSummary... items) Summary information for list of groups that are mapped to users.If the response is truncated, Amazon Q Business 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
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If the response is truncated, Amazon Q Business 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 Business 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.
-
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
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
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 toitems(List<GroupSummary>).- 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:
-