Interface CreateRoomRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRoomRequest.Builder,,CreateRoomRequest> IvschatRequest.Builder,SdkBuilder<CreateRoomRequest.Builder,,CreateRoomRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRoomRequest
-
Method Summary
Modifier and TypeMethodDescriptionloggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers) Array of logging-configuration identifiers attached to the room.loggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers) Array of logging-configuration identifiers attached to the room.maximumMessageLength(Integer maximumMessageLength) Maximum number of characters in a single message.maximumMessageRatePerSecond(Integer maximumMessageRatePerSecond) Maximum number of messages per second that can be sent to the room (by all clients).default CreateRoomRequest.BuildermessageReviewHandler(Consumer<MessageReviewHandler.Builder> messageReviewHandler) Configuration information for optional review of messages.messageReviewHandler(MessageReviewHandler messageReviewHandler) Configuration information for optional review of messages.Room name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Tags to attach to the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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.
-
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 theMessageReviewHandler.Builderavoiding the need to create one manually viaMessageReviewHandler.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessageReviewHandler(MessageReviewHandler).- Parameters:
messageReviewHandler- a consumer that will call methods onMessageReviewHandler.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Tags to attach to the resource. Array of maps, each of the form
string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor 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 formstring:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor 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.
-
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.
-
overrideConfiguration
CreateRoomRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRoomRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-