Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> GreengrassResponse.Builder,SdkBuilder<ListGroupsResponse.Builder,,ListGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGroupsResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaGroupInformation.builder().When the
Consumercompletes,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.
-