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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameRoom 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.
 
- 
maximumMessageRatePerSecondMaximum 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.
 
- 
maximumMessageLengthMaximum 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.
 
- 
messageReviewHandlerConfiguration 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.
 
- 
messageReviewHandlerdefault 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 on- MessageReviewHandler.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsTags 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 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
loggingConfigurationIdentifiersCreateRoomRequest.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.
 
- 
loggingConfigurationIdentifiersCreateRoomRequest.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.
 
- 
overrideConfigurationCreateRoomRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateRoomRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-