Interface ListUserHierarchyGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<ListUserHierarchyGroupsResponse.Builder,
,ListUserHierarchyGroupsResponse> SdkBuilder<ListUserHierarchyGroupsResponse.Builder,
,ListUserHierarchyGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListUserHierarchyGroupsResponse
public static interface ListUserHierarchyGroupsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListUserHierarchyGroupsResponse.Builder,ListUserHierarchyGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.userHierarchyGroupSummaryList
(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList) Information about the hierarchy groups.userHierarchyGroupSummaryList
(Consumer<HierarchyGroupSummary.Builder>... userHierarchyGroupSummaryList) Information about the hierarchy groups.userHierarchyGroupSummaryList
(HierarchyGroupSummary... userHierarchyGroupSummaryList) Information about the hierarchy groups.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
userHierarchyGroupSummaryList
ListUserHierarchyGroupsResponse.Builder userHierarchyGroupSummaryList(Collection<HierarchyGroupSummary> userHierarchyGroupSummaryList) Information about the hierarchy groups.
- Parameters:
userHierarchyGroupSummaryList
- Information about the hierarchy groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userHierarchyGroupSummaryList
ListUserHierarchyGroupsResponse.Builder userHierarchyGroupSummaryList(HierarchyGroupSummary... userHierarchyGroupSummaryList) Information about the hierarchy groups.
- Parameters:
userHierarchyGroupSummaryList
- Information about the hierarchy groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userHierarchyGroupSummaryList
ListUserHierarchyGroupsResponse.Builder userHierarchyGroupSummaryList(Consumer<HierarchyGroupSummary.Builder>... userHierarchyGroupSummaryList) Information about the hierarchy groups.
This is a convenience method that creates an instance of theHierarchyGroupSummary.Builder
avoiding the need to create one manually viaHierarchyGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed touserHierarchyGroupSummaryList(List<HierarchyGroupSummary>)
.- Parameters:
userHierarchyGroupSummaryList
- a consumer that will call methods onHierarchyGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-