Interface SearchPrincipalsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchOmniRequest.Builder,CopyableBuilder<SearchPrincipalsRequest.Builder,,SearchPrincipalsRequest> SdkBuilder<SearchPrincipalsRequest.Builder,,SearchPrincipalsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchPrincipalsRequest
@Mutable
@NotThreadSafe
public static interface SearchPrincipalsRequest.Builder
extends CloudWatchOmniRequest.Builder, SdkPojo, CopyableBuilder<SearchPrincipalsRequest.Builder,SearchPrincipalsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the domain to search within.maxResults(Integer maxResults) The maximum number of results to return.A token to retrieve the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.searchQuery(String searchQuery) A search term to match against user names, display names, and IDs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
domainId
The ID of the domain to search within.
- Parameters:
domainId- The ID of the domain to search within.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
searchQuery
A search term to match against user names, display names, and IDs. Pass * to list all principals. Maximum 128 characters.
- Parameters:
searchQuery- A search term to match against user names, display names, and IDs. Pass * to list all principals. Maximum 128 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return. Defaults to 10. Valid only when searchQuery is *; other searches reject this parameter and return at most 10 results.
- Parameters:
maxResults- The maximum number of results to return. Defaults to 10. Valid only when searchQuery is *; other searches reject this parameter and return at most 10 results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to retrieve the next page of results. Valid only when searchQuery is *; other searches do not paginate and reject this parameter. Tokens expire after 24 hours.
- Parameters:
nextToken- A token to retrieve the next page of results. Valid only when searchQuery is *; other searches do not paginate and reject this parameter. Tokens expire after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchPrincipalsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SearchPrincipalsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-