@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRoomResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRoomResult() |
Modifier and Type | Method and Description |
---|---|
GetRoomResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetRoomResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetRoomResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Room ARN, from the request (if
identifier was an ARN). |
Date |
getCreateTime()
Time when the room was created.
|
String |
getId()
Room ID, generated by the system.
|
List<String> |
getLoggingConfigurationIdentifiers()
Array of logging configurations 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 attached to the resource.
|
Date |
getUpdateTime()
Time of the room’s last update.
|
int |
hashCode() |
void |
setArn(String arn)
Room ARN, from the request (if
identifier was an ARN). |
void |
setCreateTime(Date createTime)
Time when the room was created.
|
void |
setId(String id)
Room ID, generated by the system.
|
void |
setLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations 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 attached to the resource.
|
void |
setUpdateTime(Date updateTime)
Time of the room’s last update.
|
String |
toString()
Returns a string representation of this object.
|
GetRoomResult |
withArn(String arn)
Room ARN, from the request (if
identifier was an ARN). |
GetRoomResult |
withCreateTime(Date createTime)
Time when the room was created.
|
GetRoomResult |
withId(String id)
Room ID, generated by the system.
|
GetRoomResult |
withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
|
GetRoomResult |
withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
|
GetRoomResult |
withMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message.
|
GetRoomResult |
withMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients).
|
GetRoomResult |
withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
GetRoomResult |
withName(String name)
Room name.
|
GetRoomResult |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
GetRoomResult |
withUpdateTime(Date updateTime)
Time of the room’s last update.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
Room ARN, from the request (if identifier
was an ARN).
arn
- Room ARN, from the request (if identifier
was an ARN).public String getArn()
Room ARN, from the request (if identifier
was an ARN).
identifier
was an ARN).public GetRoomResult withArn(String arn)
Room ARN, from the request (if identifier
was an ARN).
arn
- Room ARN, from the request (if identifier
was an ARN).public void setId(String id)
Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.
id
- Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely
identifies the room.public String getId()
Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.
public GetRoomResult withId(String id)
Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.
id
- Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely
identifies the room.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 GetRoomResult 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 setCreateTime(Date createTime)
Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.
createTime
- Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getCreateTime()
Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.
public GetRoomResult withCreateTime(Date createTime)
Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.
createTime
- Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a
string.public void setUpdateTime(Date updateTime)
Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
updateTime
- Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a
string.public Date getUpdateTime()
Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
public GetRoomResult withUpdateTime(Date updateTime)
Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.
updateTime
- Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a
string.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 GetRoomResult 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 GetRoomResult 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 GetRoomResult withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
messageReviewHandler
- Configuration information for optional review of messages.public Map<String,String> getTags()
Tags attached 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 attached to the resource. Array of maps, each of the form string:string (key:value)
.
tags
- Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.public GetRoomResult withTags(Map<String,String> tags)
Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
tags
- Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.public GetRoomResult addTagsEntry(String key, String value)
public GetRoomResult clearTagsEntries()
public List<String> getLoggingConfigurationIdentifiers()
Array of logging configurations attached to the room.
public void setLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
loggingConfigurationIdentifiers
- Array of logging configurations attached to the room.public GetRoomResult withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations 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 configurations attached to the room.public GetRoomResult withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room.
loggingConfigurationIdentifiers
- Array of logging configurations attached to the room.public String toString()
toString
in class Object
Object.toString()
public GetRoomResult clone()