Interface SearchChannelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkMessagingRequest.Builder,CopyableBuilder<SearchChannelsRequest.Builder,,SearchChannelsRequest> SdkBuilder<SearchChannelsRequest.Builder,,SearchChannelsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchChannelsRequest
public static interface SearchChannelsRequest.Builder
extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<SearchChannelsRequest.Builder,SearchChannelsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchimeBearer(String chimeBearer) TheAppInstanceUserArnof the user making the API call.fields(Collection<SearchField> fields) A list of theFieldobjects in the channel being searched.fields(Consumer<SearchField.Builder>... fields) A list of theFieldobjects in the channel being searched.fields(SearchField... fields) A list of theFieldobjects in the channel being searched.maxResults(Integer maxResults) The maximum number of channels that you want returned.The token returned from previous API requests until the number of channels is reached.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingRequest.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
-
chimeBearer
The
AppInstanceUserArnof the user making the API call.- Parameters:
chimeBearer- TheAppInstanceUserArnof the user making the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of the
Fieldobjects in the channel being searched.- Parameters:
fields- A list of theFieldobjects in the channel being searched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of the
Fieldobjects in the channel being searched.- Parameters:
fields- A list of theFieldobjects in the channel being searched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
A list of the
This is a convenience method that creates an instance of theFieldobjects in the channel being searched.SearchField.Builderavoiding the need to create one manually viaSearchField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<SearchField>).- Parameters:
fields- a consumer that will call methods onSearchField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of channels that you want returned.
- Parameters:
maxResults- The maximum number of channels that you want returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token returned from previous API requests until the number of channels is reached.
- Parameters:
nextToken- The token returned from previous API requests until the number of channels is reached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchChannelsRequest.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
SearchChannelsRequest.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.
-