Interface SendEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendEventRequest.Builder,,SendEventRequest> IvschatRequest.Builder,SdkBuilder<SendEventRequest.Builder,,SendEventRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendEventRequest
public static interface SendEventRequest.Builder
extends IvschatRequest.Builder, SdkPojo, CopyableBuilder<SendEventRequest.Builder,SendEventRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributes(Map<String, String> attributes) Application-defined metadata to attach to the event sent to clients.Application-defined name of the event to send to clients.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.roomIdentifier(String roomIdentifier) Identifier of the room to which the event will be sent.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
roomIdentifier
Identifier of the room to which the event will be sent. Currently this must be an ARN.
- Parameters:
roomIdentifier- Identifier of the room to which the event will be sent. Currently this must be an ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventName
Application-defined name of the event to send to clients.
- Parameters:
eventName- Application-defined name of the event to send to clients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.
- Parameters:
attributes- Application-defined metadata to attach to the event sent to clients. The maximum length of the metadata is 1 KB total.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendEventRequest.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
SendEventRequest.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.
-