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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatRequest.Builder
build
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
-
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.
-
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.
-
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.
-
overrideConfiguration
SendEventRequest.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
SendEventRequest.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.
-