Interface ChannelFlowCallbackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeSdkMessagingRequest.Builder
,CopyableBuilder<ChannelFlowCallbackRequest.Builder,
,ChannelFlowCallbackRequest> SdkBuilder<ChannelFlowCallbackRequest.Builder,
,ChannelFlowCallbackRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ChannelFlowCallbackRequest
@Mutable
@NotThreadSafe
public static interface ChannelFlowCallbackRequest.Builder
extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<ChannelFlowCallbackRequest.Builder,ChannelFlowCallbackRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncallbackId
(String callbackId) The identifier passed to the processor by the service when invoked.channelArn
(String channelArn) The ARN of the channel.channelMessage
(Consumer<ChannelMessageCallback.Builder> channelMessage) Stores information about the processed message.channelMessage
(ChannelMessageCallback channelMessage) Stores information about the processed message.deleteResource
(Boolean deleteResource) When a processor determines that a message needs to beDENIED
, pass this parameter with a value of true.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
-
callbackId
The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.
- Parameters:
callbackId
- The identifier passed to the processor by the service when invoked. Use the identifier to call back the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
deleteResource
When a processor determines that a message needs to be
DENIED
, pass this parameter with a value of true.- Parameters:
deleteResource
- When a processor determines that a message needs to beDENIED
, pass this parameter with a value of true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessage
Stores information about the processed message.
- Parameters:
channelMessage
- Stores information about the processed message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessage
default ChannelFlowCallbackRequest.Builder channelMessage(Consumer<ChannelMessageCallback.Builder> channelMessage) Stores information about the processed message.
This is a convenience method that creates an instance of theChannelMessageCallback.Builder
avoiding the need to create one manually viaChannelMessageCallback.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelMessage(ChannelMessageCallback)
.- Parameters:
channelMessage
- a consumer that will call methods onChannelMessageCallback.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ChannelFlowCallbackRequest.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
ChannelFlowCallbackRequest.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.
-