Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> GreengrassResponse.Builder
,SdkBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGroupsResponse
public static interface ListGroupsResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<ListGroupsResponse.Builder,ListGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups
(Collection<GroupInformation> groups) Information about a group.groups
(Consumer<GroupInformation.Builder>... groups) Information about a group.groups
(GroupInformation... groups) Information about a group.The token for the next set of results, or ''null'' if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
groups
Information about a group.- Parameters:
groups
- Information about a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Information about a group.- Parameters:
groups
- Information about a group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
Information about a group. This is a convenience method that creates an instance of theGroupInformation.Builder
avoiding the need to create one manually viaGroupInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<GroupInformation>)
.- Parameters:
groups
- a consumer that will call methods onGroupInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or ''null'' if there are no additional results.- Parameters:
nextToken
- The token for the next set of results, or ''null'' if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-