Interface SearchGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SearchGroupsResponse.Builder,SearchGroupsResponse>,DirectoryServiceDataResponse.Builder,SdkBuilder<SearchGroupsResponse.Builder,SearchGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SearchGroupsResponse
public static interface SearchGroupsResponse.Builder extends DirectoryServiceDataResponse.Builder, SdkPojo, CopyableBuilder<SearchGroupsResponse.Builder,SearchGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchGroupsResponse.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory that's associated with the group.SearchGroupsResponse.Buildergroups(Collection<Group> groups)The group information that the request returns.SearchGroupsResponse.Buildergroups(Consumer<Group.Builder>... groups)The group information that the request returns.SearchGroupsResponse.Buildergroups(Group... groups)The group information that the request returns.SearchGroupsResponse.BuildernextToken(String nextToken)An encoded paging token for paginated calls that can be passed back to retrieve the next page.SearchGroupsResponse.Builderrealm(String realm)The domain that's associated with the group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directoryservicedata.model.DirectoryServiceDataResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
directoryId
SearchGroupsResponse.Builder directoryId(String directoryId)
The identifier (ID) of the directory that's associated with the group.
- Parameters:
directoryId- The identifier (ID) of the directory that's associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
SearchGroupsResponse.Builder groups(Collection<Group> groups)
The group information that the request returns.
- Parameters:
groups- The group information that the request returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
SearchGroupsResponse.Builder groups(Group... groups)
The group information that the request returns.
- Parameters:
groups- The group information that the request returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
SearchGroupsResponse.Builder groups(Consumer<Group.Builder>... groups)
The group information that the request returns.
This is a convenience method that creates an instance of theGroup.Builderavoiding the need to create one manually viaGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - Parameters:
groups- a consumer that will call methods onGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
nextToken
SearchGroupsResponse.Builder nextToken(String nextToken)
An encoded paging token for paginated calls that can be passed back to retrieve the next page.
- Parameters:
nextToken- An encoded paging token for paginated calls that can be passed back to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
realm
SearchGroupsResponse.Builder realm(String realm)
The domain that's associated with the group.
- Parameters:
realm- The domain that's associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-