Interface SearchUserHierarchyGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<SearchUserHierarchyGroupsResponse.Builder,,SearchUserHierarchyGroupsResponse> SdkBuilder<SearchUserHierarchyGroupsResponse.Builder,,SearchUserHierarchyGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SearchUserHierarchyGroupsResponse
public static interface SearchUserHierarchyGroupsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchUserHierarchyGroupsResponse.Builder,SearchUserHierarchyGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount(Long approximateTotalCount) The total number of userHierarchyGroups which matched your search query.If there are additional results, this is the token for the next set of results.userHierarchyGroups(Collection<HierarchyGroup> userHierarchyGroups) Information about the userHierarchyGroups.userHierarchyGroups(Consumer<HierarchyGroup.Builder>... userHierarchyGroups) Information about the userHierarchyGroups.userHierarchyGroups(HierarchyGroup... userHierarchyGroups) Information about the userHierarchyGroups.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
userHierarchyGroups
SearchUserHierarchyGroupsResponse.Builder userHierarchyGroups(Collection<HierarchyGroup> userHierarchyGroups) Information about the userHierarchyGroups.
- Parameters:
userHierarchyGroups- Information about the userHierarchyGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userHierarchyGroups
SearchUserHierarchyGroupsResponse.Builder userHierarchyGroups(HierarchyGroup... userHierarchyGroups) Information about the userHierarchyGroups.
- Parameters:
userHierarchyGroups- Information about the userHierarchyGroups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userHierarchyGroups
SearchUserHierarchyGroupsResponse.Builder userHierarchyGroups(Consumer<HierarchyGroup.Builder>... userHierarchyGroups) Information about the userHierarchyGroups.
This is a convenience method that creates an instance of theHierarchyGroup.Builderavoiding the need to create one manually viaHierarchyGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed touserHierarchyGroups(List<HierarchyGroup>).- Parameters:
userHierarchyGroups- a consumer that will call methods onHierarchyGroup.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.
-
approximateTotalCount
The total number of userHierarchyGroups which matched your search query.
- Parameters:
approximateTotalCount- The total number of userHierarchyGroups which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-