Interface ListGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,DirectoryServiceDataResponse.Builder,SdkBuilder<ListGroupsResponse.Builder,ListGroupsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListGroupsResponse
public static interface ListGroupsResponse.Builder extends DirectoryServiceDataResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGroupsResponse.BuilderdirectoryId(String directoryId)The identifier (ID) of the directory that's associated with the group.ListGroupsResponse.Buildergroups(Collection<GroupSummary> groups)The group information that the request returns.ListGroupsResponse.Buildergroups(Consumer<GroupSummary.Builder>... groups)The group information that the request returns.ListGroupsResponse.Buildergroups(GroupSummary... groups)The group information that the request returns.ListGroupsResponse.BuildernextToken(String nextToken)An encoded paging token for paginated calls that can be passed back to retrieve the next page.ListGroupsResponse.Builderrealm(String realm)The domain name 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
ListGroupsResponse.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
ListGroupsResponse.Builder groups(Collection<GroupSummary> 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
ListGroupsResponse.Builder groups(GroupSummary... 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
ListGroupsResponse.Builder groups(Consumer<GroupSummary.Builder>... groups)
The group information that the request returns.
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 to#groups(List.) - Parameters:
groups- a consumer that will call methods onGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
nextToken
ListGroupsResponse.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
ListGroupsResponse.Builder realm(String realm)
The domain name associated with the group.
- Parameters:
realm- The domain name associated with the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-