@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) |
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 |
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 |
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 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 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 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 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 Map<String,String> getTags()
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.
string:string (key:value)
.public void setTags(Map<String,String> tags)
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.
tags
- Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.public CreateRoomRequest withTags(Map<String,String> tags)
Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.
tags
- Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
.public CreateRoomRequest addTagsEntry(String key, String value)
public CreateRoomRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateRoomRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()