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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListGroupsForEntityResponse.Buildergroups(Collection<GroupIdentifier> groups)The overview of groups in an organization.ListGroupsForEntityResponse.Buildergroups(Consumer<GroupIdentifier.Builder>... groups)The overview of groups in an organization.ListGroupsForEntityResponse.Buildergroups(GroupIdentifier... groups)The overview of groups in an organization.ListGroupsForEntityResponse.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.-
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
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
groups
ListGroupsForEntityResponse.Builder groups(Collection<GroupIdentifier> 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
ListGroupsForEntityResponse.Builder groups(GroupIdentifier... 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
ListGroupsForEntityResponse.Builder groups(Consumer<GroupIdentifier.Builder>... 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 to#groups(List.) - 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:
#groups(java.util.Collection)
-
nextToken
ListGroupsForEntityResponse.Builder nextToken(String 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.
-
-