Interface GetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGroupsResponse.Builder,,GetGroupsResponse> SdkBuilder<GetGroupsResponse.Builder,,GetGroupsResponse> SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
GetGroupsResponse
public static interface GetGroupsResponse.Builder
extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetGroupsResponse.Builder,GetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups(Collection<GroupSummary> groups) The collection of all active groups.groups(Consumer<GroupSummary.Builder>... groups) The collection of all active groups.groups(GroupSummary... groups) The collection of all active groups.Pagination token.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.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
groups
The collection of all active groups.
- Parameters:
groups- The collection of all active groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The collection of all active groups.
- Parameters:
groups- The collection of all active groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The collection of all active groups.
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 togroups(List<GroupSummary>).- 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:
-
nextToken
Pagination token.
- Parameters:
nextToken- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-