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 Details

    • attributes

      SendEventRequest.Builder attributes(Map<String,String> 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

      SendEventRequest.Builder eventName(String 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

      SendEventRequest.Builder roomIdentifier(String 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.