Interface UpdateRoomRequest.Builder

    • Method Detail

      • identifier

        UpdateRoomRequest.Builder identifier​(String identifier)

        Identifier of the room to be updated. Currently this must be an ARN.

        Parameters:
        identifier - Identifier of the room to be updated. Currently this must be an ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateRoomRequest.Builder name​(String 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.
      • maximumMessageRatePerSecond

        UpdateRoomRequest.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.
      • maximumMessageLength

        UpdateRoomRequest.Builder maximumMessageLength​(Integer maximumMessageLength)

        The 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 - The 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.
      • messageReviewHandler

        UpdateRoomRequest.Builder messageReviewHandler​(MessageReviewHandler messageReviewHandler)

        Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.

        Parameters:
        messageReviewHandler - Configuration information for optional review of messages. Specify an empty uri string to disassociate a message review handler from the specified room.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • loggingConfigurationIdentifiers

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

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