Interface GetRoomResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRoomResponse.Builder,GetRoomResponse>,IvschatResponse.Builder,SdkBuilder<GetRoomResponse.Builder,GetRoomResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRoomResponse
public static interface GetRoomResponse.Builder extends IvschatResponse.Builder, SdkPojo, CopyableBuilder<GetRoomResponse.Builder,GetRoomResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetRoomResponse.Builderarn(String arn)Room ARN, from the request (ifidentifierwas an ARN).GetRoomResponse.BuildercreateTime(Instant createTime)Time when the room was created.GetRoomResponse.Builderid(String id)Room ID, generated by the system.GetRoomResponse.BuilderloggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)Array of logging configurations attached to the room.GetRoomResponse.BuilderloggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)Array of logging configurations attached to the room.GetRoomResponse.BuildermaximumMessageLength(Integer maximumMessageLength)Maximum number of characters in a single message.GetRoomResponse.BuildermaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)Maximum number of messages per second that can be sent to the room (by all clients).default GetRoomResponse.BuildermessageReviewHandler(Consumer<MessageReviewHandler.Builder> messageReviewHandler)Configuration information for optional review of messages.GetRoomResponse.BuildermessageReviewHandler(MessageReviewHandler messageReviewHandler)Configuration information for optional review of messages.GetRoomResponse.Buildername(String name)Room name.GetRoomResponse.Buildertags(Map<String,String> tags)Tags attached to the resource.GetRoomResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetRoomResponse.Builder arn(String arn)
Room ARN, from the request (if
identifierwas an ARN).- Parameters:
arn- Room ARN, from the request (ifidentifierwas an ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
GetRoomResponse.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.
-
name
GetRoomResponse.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.
-
createTime
GetRoomResponse.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.
-
updateTime
GetRoomResponse.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.
-
maximumMessageRatePerSecond
GetRoomResponse.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
GetRoomResponse.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
GetRoomResponse.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 GetRoomResponse.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
GetRoomResponse.Builder tags(Map<String,String> tags)
Tags attached to the resource. Array of maps, each of the form
string:string (key:value).- Parameters:
tags- Tags attached to the resource. Array of maps, each of the formstring:string (key:value).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfigurationIdentifiers
GetRoomResponse.Builder loggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
- Parameters:
loggingConfigurationIdentifiers- Array of logging configurations attached to the room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfigurationIdentifiers
GetRoomResponse.Builder loggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
- Parameters:
loggingConfigurationIdentifiers- Array of logging configurations attached to the room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-