Interface CreateRoomResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRoomResponse.Builder,CreateRoomResponse>,IvschatResponse.Builder,SdkBuilder<CreateRoomResponse.Builder,CreateRoomResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRoomResponse
public static interface CreateRoomResponse.Builder extends IvschatResponse.Builder, SdkPojo, CopyableBuilder<CreateRoomResponse.Builder,CreateRoomResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateRoomResponse.Builderarn(String arn)Room ARN, assigned by the system.CreateRoomResponse.BuildercreateTime(Instant createTime)Time when the room was created.CreateRoomResponse.Builderid(String id)Room ID, generated by the system.CreateRoomResponse.BuilderloggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)Array of logging configurations attached to the room, from the request (if specified).CreateRoomResponse.BuilderloggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)Array of logging configurations attached to the room, from the request (if specified).CreateRoomResponse.BuildermaximumMessageLength(Integer maximumMessageLength)Maximum number of characters in a single message, from the request (if specified).CreateRoomResponse.BuildermaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).default CreateRoomResponse.BuildermessageReviewHandler(Consumer<MessageReviewHandler.Builder> messageReviewHandler)Configuration information for optional review of messages.CreateRoomResponse.BuildermessageReviewHandler(MessageReviewHandler messageReviewHandler)Configuration information for optional review of messages.CreateRoomResponse.Buildername(String name)Room name, from the request (if specified).CreateRoomResponse.Buildertags(Map<String,String> tags)Tags attached to the resource, from the request (if specified).CreateRoomResponse.BuilderupdateTime(Instant updateTime)Time of the room’s last update.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ivschat.model.IvschatResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateRoomResponse.Builder arn(String arn)
Room ARN, assigned by the system.
- Parameters:
arn- Room ARN, assigned by the system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
CreateRoomResponse.Builder createTime(Instant createTime)
Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
createTime- Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateRoomResponse.Builder id(String id)
Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.
- Parameters:
id- Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfigurationIdentifiers
CreateRoomResponse.Builder loggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
- Parameters:
loggingConfigurationIdentifiers- Array of logging configurations attached to the room, from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfigurationIdentifiers
CreateRoomResponse.Builder loggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
- Parameters:
loggingConfigurationIdentifiers- Array of logging configurations attached to the room, from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumMessageLength
CreateRoomResponse.Builder maximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message, from the request (if specified).
- Parameters:
maximumMessageLength- Maximum number of characters in a single message, from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumMessageRatePerSecond
CreateRoomResponse.Builder maximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).
- Parameters:
maximumMessageRatePerSecond- Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageReviewHandler
CreateRoomResponse.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 CreateRoomResponse.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)
-
name
CreateRoomResponse.Builder name(String name)
Room name, from the request (if specified).
- Parameters:
name- Room name, from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateRoomResponse.Builder tags(Map<String,String> tags)
Tags attached to the resource, from the request (if specified).
- Parameters:
tags- Tags attached to the resource, from the request (if specified).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
CreateRoomResponse.Builder updateTime(Instant updateTime)
Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
- Parameters:
updateTime- Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-