Interface ListChannelMessagesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeRequest.Builder
,CopyableBuilder<ListChannelMessagesRequest.Builder,
,ListChannelMessagesRequest> SdkBuilder<ListChannelMessagesRequest.Builder,
,ListChannelMessagesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListChannelMessagesRequest
public static interface ListChannelMessagesRequest.Builder
extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<ListChannelMessagesRequest.Builder,ListChannelMessagesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel.chimeBearer
(String chimeBearer) TheAppInstanceUserArn
of the user that makes the API call.maxResults
(Integer maxResults) The maximum number of messages that you want returned.The token passed by previous API calls until all requested messages are returned.The final or ending time stamp for your requested messages.The initial or starting time stamp for your requested messages.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The order in which you want messages sorted.The order in which you want messages sorted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeRequest.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, sdkFields
-
Method Details
-
channelArn
The ARN of the channel.
- Parameters:
channelArn
- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortOrder
The order in which you want messages sorted. Default is Descending, based on time created.
- Parameters:
sortOrder
- The order in which you want messages sorted. Default is Descending, based on time created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
The order in which you want messages sorted. Default is Descending, based on time created.
- Parameters:
sortOrder
- The order in which you want messages sorted. Default is Descending, based on time created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notBefore
The initial or starting time stamp for your requested messages.
- Parameters:
notBefore
- The initial or starting time stamp for your requested messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAfter
The final or ending time stamp for your requested messages.
- Parameters:
notAfter
- The final or ending time stamp for your requested messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of messages that you want returned.
- Parameters:
maxResults
- The maximum number of messages that you want returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token passed by previous API calls until all requested messages are returned.
- Parameters:
nextToken
- The token passed by previous API calls until all requested messages are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
The
AppInstanceUserArn
of the user that makes the API call.- Parameters:
chimeBearer
- TheAppInstanceUserArn
of the user that makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListChannelMessagesRequest.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
ListChannelMessagesRequest.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.
-