Interface CreateRoomRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateRoomRequest.Builder,CreateRoomRequest>, IvschatRequest.Builder, SdkBuilder<CreateRoomRequest.Builder,CreateRoomRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateRoomRequest

public static interface CreateRoomRequest.Builder extends IvschatRequest.Builder, SdkPojo, CopyableBuilder<CreateRoomRequest.Builder,CreateRoomRequest>
  • Method Details

    • loggingConfigurationIdentifiers

      CreateRoomRequest.Builder loggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)

      Array of logging-configuration identifiers attached to the room.

      Parameters:
      loggingConfigurationIdentifiers - Array of logging-configuration identifiers attached to the room.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loggingConfigurationIdentifiers

      CreateRoomRequest.Builder loggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)

      Array of logging-configuration identifiers attached to the room.

      Parameters:
      loggingConfigurationIdentifiers - Array of logging-configuration identifiers attached to the room.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumMessageLength

      CreateRoomRequest.Builder maximumMessageLength(Integer maximumMessageLength)

      Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

      Parameters:
      maximumMessageLength - Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumMessageRatePerSecond

      CreateRoomRequest.Builder maximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)

      Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

      Parameters:
      maximumMessageRatePerSecond - Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageReviewHandler

      CreateRoomRequest.Builder messageReviewHandler(MessageReviewHandler messageReviewHandler)

      Configuration information for optional review of messages.

      Parameters:
      messageReviewHandler - Configuration information for optional review of messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • messageReviewHandler

      default CreateRoomRequest.Builder messageReviewHandler(Consumer<MessageReviewHandler.Builder> messageReviewHandler)

      Configuration information for optional review of messages.

      This is a convenience method that creates an instance of the MessageReviewHandler.Builder avoiding the need to create one manually via MessageReviewHandler.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to messageReviewHandler(MessageReviewHandler).

      Parameters:
      messageReviewHandler - a consumer that will call methods on MessageReviewHandler.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • name

      Room name. The value does not need to be unique.

      Parameters:
      name - Room name. The value does not need to be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tags to attach to the resource. Array of maps, each of the form string:string (key:value). See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS Chat has no constraints beyond what is documented there.

      Parameters:
      tags - Tags to attach to the resource. Array of maps, each of the form string:string (key:value) . See Tagging AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS Chat has no constraints beyond what is documented there.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateRoomRequest.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.