Interface ChannelFlowCallbackRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkMessagingRequest.Builder,CopyableBuilder<ChannelFlowCallbackRequest.Builder,,ChannelFlowCallbackRequest> SdkBuilder<ChannelFlowCallbackRequest.Builder,,ChannelFlowCallbackRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ChannelFlowCallbackRequest
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
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, 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.Builderavoiding the need to create one manually viaChannelMessageCallback.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-