Interface SearchChannelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeSdkMessagingRequest.Builder
,CopyableBuilder<SearchChannelsRequest.Builder,
,SearchChannelsRequest> SdkBuilder<SearchChannelsRequest.Builder,
,SearchChannelsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchChannelsRequest
@Mutable
@NotThreadSafe
public static interface SearchChannelsRequest.Builder
extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<SearchChannelsRequest.Builder,SearchChannelsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchimeBearer
(String chimeBearer) TheAppInstanceUserArn
of the user making the API call.fields
(Collection<SearchField> fields) A list of theField
objects in the channel being searched.fields
(Consumer<SearchField.Builder>... fields) A list of theField
objects in the channel being searched.fields
(SearchField... fields) A list of theField
objects 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
chimeBearer
The
AppInstanceUserArn
of the user making the API call.- Parameters:
chimeBearer
- TheAppInstanceUserArn
of 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
Field
objects in the channel being searched.- Parameters:
fields
- A list of theField
objects 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
Field
objects in the channel being searched.- Parameters:
fields
- A list of theField
objects 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 theField
objects in the channel being searched.SearchField.Builder
avoiding the need to create one manually viaSearchField.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-