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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRoomRequest.BuilderloggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)Array of logging-configuration identifiers attached to the room.CreateRoomRequest.BuilderloggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)Array of logging-configuration identifiers attached to the room.CreateRoomRequest.BuildermaximumMessageLength(Integer maximumMessageLength)Maximum number of characters in a single message.CreateRoomRequest.BuildermaximumMessageRatePerSecond(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.CreateRoomRequest.BuildermessageReviewHandler(MessageReviewHandler messageReviewHandler)Configuration information for optional review of messages.CreateRoomRequest.Buildername(String name)Room name.CreateRoomRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateRoomRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateRoomRequest.Buildertags(Map<String,String> tags)Tags to attach to the resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateRoomRequest.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
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.
-
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.
-
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 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:
messageReviewHandler(MessageReviewHandler)
-
tags
CreateRoomRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRoomRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-