Interface ListGroupsForEntityRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListGroupsForEntityRequest.Builder,ListGroupsForEntityRequest>,SdkBuilder<ListGroupsForEntityRequest.Builder,ListGroupsForEntityRequest>,SdkPojo,SdkRequest.Builder,WorkMailRequest.Builder
- Enclosing class:
- ListGroupsForEntityRequest
public static interface ListGroupsForEntityRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<ListGroupsForEntityRequest.Builder,ListGroupsForEntityRequest>
-
-
Method Summary
-
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
ListGroupsForEntityRequest.Builder organizationId(String organizationId)
The identifier for the organization under which the entity exists.
- Parameters:
organizationId- The identifier for the organization under which the entity exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
ListGroupsForEntityRequest.Builder entityId(String entityId)
The identifier for the entity.
The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
- Parameters:
entityId- The identifier for the entity.The entity ID can accept UserId or GroupID, Username or Groupname, or email.
-
Entity ID: 12345678-1234-1234-1234-123456789012 or S-1-1-12-1234567890-123456789-123456789-1234
-
Email address: entity@domain.tld
-
Entity name: entity
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filters
ListGroupsForEntityRequest.Builder filters(ListGroupsForEntityFilters filters)
Limit the search results based on the filter criteria.
- Parameters:
filters- Limit the search results based on the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListGroupsForEntityRequest.Builder filters(Consumer<ListGroupsForEntityFilters.Builder> filters)
Limit the search results based on the filter criteria.
This is a convenience method that creates an instance of theListGroupsForEntityFilters.Builderavoiding the need to create one manually viaListGroupsForEntityFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ListGroupsForEntityFilters).- Parameters:
filters- a consumer that will call methods onListGroupsForEntityFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filters(ListGroupsForEntityFilters)
-
nextToken
ListGroupsForEntityRequest.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
ListGroupsForEntityRequest.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.
-
overrideConfiguration
ListGroupsForEntityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListGroupsForEntityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-