Interface ListGroupsResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListGroupsResponse.Builder,,- ListGroupsResponse> - QBusinessResponse.Builder,- SdkBuilder<ListGroupsResponse.Builder,,- ListGroupsResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ListGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListGroupsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
nextTokenIf 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.
 
- 
itemsSummary 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.
 
- 
itemsSummary 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.
 
- 
itemsSummary 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 on- GroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-