Interface GetGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGroupsResponse.Builder,GetGroupsResponse>,SdkBuilder<GetGroupsResponse.Builder,GetGroupsResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetGroupsResponse
@Mutable @NotThreadSafe public static interface GetGroupsResponse.Builder extends XRayResponse.Builder, SdkPojo, CopyableBuilder<GetGroupsResponse.Builder,GetGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetGroupsResponse.Buildergroups(Collection<GroupSummary> groups)The collection of all active groups.GetGroupsResponse.Buildergroups(Consumer<GroupSummary.Builder>... groups)The collection of all active groups.GetGroupsResponse.Buildergroups(GroupSummary... groups)The collection of all active groups.GetGroupsResponse.BuildernextToken(String nextToken)Pagination token.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
groups
GetGroupsResponse.Builder groups(Collection<GroupSummary> 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
GetGroupsResponse.Builder groups(GroupSummary... 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
GetGroupsResponse.Builder groups(Consumer<GroupSummary.Builder>... 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 to#groups(List.) - 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:
#groups(java.util.Collection)
-
nextToken
GetGroupsResponse.Builder nextToken(String nextToken)
Pagination token.
- Parameters:
nextToken- Pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-