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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchUserHierarchyGroupsResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The total number of userHierarchyGroups which matched your search query.SearchUserHierarchyGroupsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.SearchUserHierarchyGroupsResponse.BuilderuserHierarchyGroups(Collection<HierarchyGroup> userHierarchyGroups)Information about the userHierarchyGroups.SearchUserHierarchyGroupsResponse.BuilderuserHierarchyGroups(Consumer<HierarchyGroup.Builder>... userHierarchyGroups)Information about the userHierarchyGroups.SearchUserHierarchyGroupsResponse.BuilderuserHierarchyGroups(HierarchyGroup... userHierarchyGroups)Information about the userHierarchyGroups.-
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 Detail
-
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 to#userHierarchyGroups(List.) - 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:
#userHierarchyGroups(java.util.Collection)
-
nextToken
SearchUserHierarchyGroupsResponse.Builder nextToken(String 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
SearchUserHierarchyGroupsResponse.Builder approximateTotalCount(Long 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.
-
-