Interface DescribeGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeGroupsResponse.Builder,
,DescribeGroupsResponse> SdkBuilder<DescribeGroupsResponse.Builder,
,DescribeGroupsResponse> SdkPojo
,SdkResponse.Builder
,WorkDocsResponse.Builder
- Enclosing class:
DescribeGroupsResponse
public static interface DescribeGroupsResponse.Builder
extends WorkDocsResponse.Builder, SdkPojo, CopyableBuilder<DescribeGroupsResponse.Builder,DescribeGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongroups
(Collection<GroupMetadata> groups) The list of groups.groups
(Consumer<GroupMetadata.Builder>... groups) The list of groups.groups
(GroupMetadata... groups) The list of groups.The marker to use when requesting the next set 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.workdocs.model.WorkDocsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
groups
The list of groups.
- Parameters:
groups
- The list of groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The list of groups.
- Parameters:
groups
- The list of groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
The list of groups.
This is a convenience method that creates an instance of theGroupMetadata.Builder
avoiding the need to create one manually viaGroupMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<GroupMetadata>)
.- Parameters:
groups
- a consumer that will call methods onGroupMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
- Parameters:
marker
- The marker to use when requesting the next set of results. If there are no additional results, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-