@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRoomRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRoomRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRoomRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRoomRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRoomRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getLoggingConfigurationIdentifiers()
Array of logging-configuration identifiers attached to the room.
|
Integer |
getMaximumMessageLength()
Maximum number of characters in a single message.
|
Integer |
getMaximumMessageRatePerSecond()
Maximum number of messages per second that can be sent to the room (by all clients).
|
MessageReviewHandler |
getMessageReviewHandler()
Configuration information for optional review of messages.
|
String |
getName()
Room name.
|
Map<String,String> |
getTags()
Tags to attach to the resource.
|
int |
hashCode() |
void |
setLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
|
void |
setMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message.
|
void |
setMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients).
|
void |
setMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
void |
setName(String name)
Room name.
|
void |
setTags(Map<String,String> tags)
Tags to attach to the resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateRoomRequest |
withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
|
CreateRoomRequest |
withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
|
CreateRoomRequest |
withMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message.
|
CreateRoomRequest |
withMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients).
|
CreateRoomRequest |
withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
CreateRoomRequest |
withName(String name)
Room name.
|
CreateRoomRequest |
withTags(Map<String,String> tags)
Tags to attach to the resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
Room name. The value does not need to be unique.
name
- Room name. The value does not need to be unique.public String getName()
Room name. The value does not need to be unique.
public CreateRoomRequest withName(String name)
Room name. The value does not need to be unique.
name
- Room name. The value does not need to be unique.public void setMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.
maximumMessageRatePerSecond
- Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.public Integer getMaximumMessageRatePerSecond()
Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.
public CreateRoomRequest withMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.
maximumMessageRatePerSecond
- Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.public void setMaximumMessageLength(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.
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.public Integer getMaximumMessageLength()
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.
public CreateRoomRequest withMaximumMessageLength(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.
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.public void setMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
messageReviewHandler
- Configuration information for optional review of messages.public MessageReviewHandler getMessageReviewHandler()
Configuration information for optional review of messages.
public CreateRoomRequest withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
messageReviewHandler
- Configuration information for optional review of messages.public Map<String,String> getTags()
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources 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.
string:string (key:value)
.
See Tagging AWS Resources
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.public void setTags(Map<String,String> tags)
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources 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.
tags
- Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.
See Tagging AWS Resources 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.public CreateRoomRequest withTags(Map<String,String> tags)
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources 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.
tags
- Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.
See Tagging AWS Resources 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.public CreateRoomRequest addTagsEntry(String key, String value)
public CreateRoomRequest clearTagsEntries()
public List<String> getLoggingConfigurationIdentifiers()
Array of logging-configuration identifiers attached to the room.
public void setLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
loggingConfigurationIdentifiers
- Array of logging-configuration identifiers attached to the room.public CreateRoomRequest withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
NOTE: This method appends the values to the existing list (if any). Use
setLoggingConfigurationIdentifiers(java.util.Collection)
or
withLoggingConfigurationIdentifiers(java.util.Collection)
if you want to override the existing values.
loggingConfigurationIdentifiers
- Array of logging-configuration identifiers attached to the room.public CreateRoomRequest withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging-configuration identifiers attached to the room.
loggingConfigurationIdentifiers
- Array of logging-configuration identifiers attached to the room.public String toString()
toString
in class Object
Object.toString()
public CreateRoomRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.