Class RoomState.Builder

  • Enclosing class:
    RoomState

    public static final class RoomState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(RoomState defaults)
    • Method Detail

      • arn

        public RoomState.Builder arn​(@Nullable
                                     com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the Room.
        Returns:
        builder
      • arn

        public RoomState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the Room.
        Returns:
        builder
      • loggingConfigurationIdentifiers

        public RoomState.Builder loggingConfigurationIdentifiers​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> loggingConfigurationIdentifiers)
        Parameters:
        loggingConfigurationIdentifiers - List of Logging Configuration ARNs to attach to the room.
        Returns:
        builder
      • loggingConfigurationIdentifiers

        public RoomState.Builder loggingConfigurationIdentifiers​(java.util.List<java.lang.String> loggingConfigurationIdentifiers)
        Parameters:
        loggingConfigurationIdentifiers - List of Logging Configuration ARNs to attach to the room.
        Returns:
        builder
      • loggingConfigurationIdentifiers

        public RoomState.Builder loggingConfigurationIdentifiers​(java.lang.String... loggingConfigurationIdentifiers)
        Parameters:
        loggingConfigurationIdentifiers - List of Logging Configuration ARNs to attach to the room.
        Returns:
        builder
      • maximumMessageLength

        public RoomState.Builder maximumMessageLength​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> maximumMessageLength)
        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.
        Returns:
        builder
      • maximumMessageLength

        public RoomState.Builder maximumMessageLength​(java.lang.Integer maximumMessageLength)
        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.
        Returns:
        builder
      • maximumMessageRatePerSecond

        public RoomState.Builder maximumMessageRatePerSecond​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Integer> maximumMessageRatePerSecond)
        Parameters:
        maximumMessageRatePerSecond - Maximum number of messages per second that can be sent to the room (by all clients).
        Returns:
        builder
      • maximumMessageRatePerSecond

        public RoomState.Builder maximumMessageRatePerSecond​(java.lang.Integer maximumMessageRatePerSecond)
        Parameters:
        maximumMessageRatePerSecond - Maximum number of messages per second that can be sent to the room (by all clients).
        Returns:
        builder
      • messageReviewHandler

        public RoomState.Builder messageReviewHandler​(@Nullable
                                                      com.pulumi.core.Output<RoomMessageReviewHandlerArgs> messageReviewHandler)
        Parameters:
        messageReviewHandler - Configuration information for optional review of messages.
        Returns:
        builder
      • messageReviewHandler

        public RoomState.Builder messageReviewHandler​(RoomMessageReviewHandlerArgs messageReviewHandler)
        Parameters:
        messageReviewHandler - Configuration information for optional review of messages.
        Returns:
        builder
      • name

        public RoomState.Builder name​(@Nullable
                                      com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Room name.
        Returns:
        builder
      • name

        public RoomState.Builder name​(java.lang.String name)
        Parameters:
        name - Room name.
        Returns:
        builder
      • region

        public RoomState.Builder region​(@Nullable
                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public RoomState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • tags

        public RoomState.Builder tags​(@Nullable
                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public RoomState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public RoomState.Builder tagsAll​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public RoomState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder