Interface RoomSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RoomSummary.Builder,RoomSummary>,SdkBuilder<RoomSummary.Builder,RoomSummary>,SdkPojo
- Enclosing class:
- RoomSummary
public static interface RoomSummary.Builder extends SdkPojo, CopyableBuilder<RoomSummary.Builder,RoomSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RoomSummary.Builderarn(String arn)Room ARN.RoomSummary.BuildercreateTime(Instant createTime)Time when the room was created.RoomSummary.Builderid(String id)Room ID, generated by the system.RoomSummary.BuilderloggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)List of logging-configuration identifiers attached to the room.RoomSummary.BuilderloggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)List of logging-configuration identifiers attached to the room.default RoomSummary.BuildermessageReviewHandler(Consumer<MessageReviewHandler.Builder> messageReviewHandler)Configuration information for optional review of messages.RoomSummary.BuildermessageReviewHandler(MessageReviewHandler messageReviewHandler)Configuration information for optional review of messages.RoomSummary.Buildername(String name)Room name.RoomSummary.Buildertags(Map<String,String> tags)Tags attached to the resource.RoomSummary.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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
RoomSummary.Builder arn(String arn)
Room ARN.
- Parameters:
arn- Room ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
RoomSummary.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
RoomSummary.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.
-
messageReviewHandler
RoomSummary.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 RoomSummary.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)
-
createTime
RoomSummary.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
RoomSummary.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.
-
tags
RoomSummary.Builder tags(Map<String,String> tags)
Tags attached 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 attached 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
RoomSummary.Builder loggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
List of logging-configuration identifiers attached to the room.
- Parameters:
loggingConfigurationIdentifiers- List of logging-configuration identifiers attached to the room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfigurationIdentifiers
RoomSummary.Builder loggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
List of logging-configuration identifiers attached to the room.
- Parameters:
loggingConfigurationIdentifiers- List of logging-configuration identifiers attached to the room.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-