Interface ListGroupsForEntityResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsForEntityResponse.Builder,,ListGroupsForEntityResponse> SdkBuilder<ListGroupsForEntityResponse.Builder,,ListGroupsForEntityResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
ListGroupsForEntityResponse
public static interface ListGroupsForEntityResponse.Builder
extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsForEntityResponse.Builder,ListGroupsForEntityResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups(Collection<GroupIdentifier> groups) The overview of groups in an organization.groups(Consumer<GroupIdentifier.Builder>... groups) The overview of groups in an organization.groups(GroupIdentifier... groups) The overview of groups in an organization.The token to use to retrieve the next page of results.Methods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
groups
The overview of groups in an organization.
- Parameters:
groups- The overview of groups in an organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The overview of groups in an organization.
- Parameters:
groups- The overview of groups in an organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The overview of groups in an organization.
This is a convenience method that creates an instance of theGroupIdentifier.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroups(List<GroupIdentifier>).- Parameters:
groups- a consumer that will call methods onGroupIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
- Parameters:
nextToken- The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-