@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRoomResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateRoomResult() |
Modifier and Type | Method and Description |
---|---|
UpdateRoomResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
UpdateRoomResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
UpdateRoomResult |
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, from the request (if specified).
|
Integer |
getMaximumMessageLength()
Maximum number of characters in a single message, from the request (if specified).
|
Integer |
getMaximumMessageRatePerSecond()
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if
specified).
|
MessageReviewHandler |
getMessageReviewHandler()
Configuration information for optional review of messages.
|
String |
getName()
Room name, from the request (if specified).
|
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, from the request (if specified).
|
void |
setMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message, from the request (if specified).
|
void |
setMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if
specified).
|
void |
setMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
void |
setName(String name)
Room name, from the request (if specified).
|
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.
|
UpdateRoomResult |
withArn(String arn)
Room ARN, from the request (if
identifier was an ARN). |
UpdateRoomResult |
withCreateTime(Date createTime)
Time when the room was created.
|
UpdateRoomResult |
withId(String id)
Room ID, generated by the system.
|
UpdateRoomResult |
withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
|
UpdateRoomResult |
withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
|
UpdateRoomResult |
withMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message, from the request (if specified).
|
UpdateRoomResult |
withMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if
specified).
|
UpdateRoomResult |
withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
UpdateRoomResult |
withName(String name)
Room name, from the request (if specified).
|
UpdateRoomResult |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
UpdateRoomResult |
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 UpdateRoomResult 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 UpdateRoomResult 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, from the request (if specified).
name
- Room name, from the request (if specified).public String getName()
Room name, from the request (if specified).
public UpdateRoomResult withName(String name)
Room name, from the request (if specified).
name
- Room name, from the request (if specified).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 UpdateRoomResult 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 UpdateRoomResult 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), from the request (if specified).
maximumMessageRatePerSecond
- Maximum number of messages per second that can be sent to the room (by all clients), from the request (if
specified).public Integer getMaximumMessageRatePerSecond()
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).
public UpdateRoomResult withMaximumMessageRatePerSecond(Integer maximumMessageRatePerSecond)
Maximum number of messages per second that can be sent to the room (by all clients), from the request (if specified).
maximumMessageRatePerSecond
- Maximum number of messages per second that can be sent to the room (by all clients), from the request (if
specified).public void setMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message, from the request (if specified).
maximumMessageLength
- Maximum number of characters in a single message, from the request (if specified).public Integer getMaximumMessageLength()
Maximum number of characters in a single message, from the request (if specified).
public UpdateRoomResult withMaximumMessageLength(Integer maximumMessageLength)
Maximum number of characters in a single message, from the request (if specified).
maximumMessageLength
- Maximum number of characters in a single message, from the request (if specified).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 UpdateRoomResult 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 UpdateRoomResult 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 UpdateRoomResult addTagsEntry(String key, String value)
public UpdateRoomResult clearTagsEntries()
public List<String> getLoggingConfigurationIdentifiers()
Array of logging configurations attached to the room, from the request (if specified).
public void setLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
loggingConfigurationIdentifiers
- Array of logging configurations attached to the room, from the request (if specified).public UpdateRoomResult withLoggingConfigurationIdentifiers(String... loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
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, from the request (if specified).public UpdateRoomResult withLoggingConfigurationIdentifiers(Collection<String> loggingConfigurationIdentifiers)
Array of logging configurations attached to the room, from the request (if specified).
loggingConfigurationIdentifiers
- Array of logging configurations attached to the room, from the request (if specified).public String toString()
toString
in class Object
Object.toString()
public UpdateRoomResult clone()