Interface ListGroupsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListGroupsRequest.Builder,ListGroupsRequest>,SdkBuilder<ListGroupsRequest.Builder,ListGroupsRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- ListGroupsRequest
public static interface ListGroupsRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<ListGroupsRequest.Builder,ListGroupsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListGroupsRequest.Builderfilters(Consumer<ListGroupsFilters.Builder> filters)Limit the search results based on the filter criteria.ListGroupsRequest.Builderfilters(ListGroupsFilters filters)Limit the search results based on the filter criteria.ListGroupsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in a single call.ListGroupsRequest.BuildernextToken(String nextToken)The token to use to retrieve the next page of results.ListGroupsRequest.BuilderorganizationId(String organizationId)The identifier for the organization under which the groups exist.ListGroupsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListGroupsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.workmail.model.WorkMailRequest.Builder
build
-
-
-
-
Method Detail
-
organizationId
ListGroupsRequest.Builder organizationId(String organizationId)
The identifier for the organization under which the groups exist.
- Parameters:
organizationId- The identifier for the organization under which the groups exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListGroupsRequest.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. The first call does not contain any tokens.
- Parameters:
nextToken- The token to use to retrieve the next page of results. The first call does not contain any tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListGroupsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return in a single call.
- Parameters:
maxResults- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
ListGroupsRequest.Builder filters(ListGroupsFilters filters)
Limit the search results based on the filter criteria. Only one filter per request is supported.
- Parameters:
filters- Limit the search results based on the filter criteria. Only one filter per request is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListGroupsRequest.Builder filters(Consumer<ListGroupsFilters.Builder> filters)
Limit the search results based on the filter criteria. Only one filter per request is supported.
This is a convenience method that creates an instance of theListGroupsFilters.Builderavoiding the need to create one manually viaListGroupsFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListGroupsFilters).- Parameters:
filters- a consumer that will call methods onListGroupsFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ListGroupsFilters)
-
overrideConfiguration
ListGroupsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListGroupsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-