@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RoomSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a room.
Constructor and Description |
---|
RoomSummary() |
Modifier and Type | Method and Description |
---|---|
RoomSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
RoomSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
RoomSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Room ARN.
|
Date |
getCreateTime()
Time when the room was created.
|
String |
getId()
Room ID, generated by the system.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Room ARN.
|
void |
setCreateTime(Date createTime)
Time when the room was created.
|
void |
setId(String id)
Room ID, generated by the system.
|
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.
|
RoomSummary |
withArn(String arn)
Room ARN.
|
RoomSummary |
withCreateTime(Date createTime)
Time when the room was created.
|
RoomSummary |
withId(String id)
Room ID, generated by the system.
|
RoomSummary |
withMessageReviewHandler(MessageReviewHandler messageReviewHandler)
Configuration information for optional review of messages.
|
RoomSummary |
withName(String name)
Room name.
|
RoomSummary |
withTags(Map<String,String> tags)
Tags attached to the resource.
|
RoomSummary |
withUpdateTime(Date updateTime)
Time of the room’s last update.
|
public void setArn(String arn)
Room ARN.
arn
- Room ARN.public String getArn()
Room ARN.
public RoomSummary withArn(String arn)
Room ARN.
arn
- Room ARN.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 RoomSummary 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 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 RoomSummary 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 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 RoomSummary 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 RoomSummary 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 attached to the resource.
public void setTags(Map<String,String> tags)
Tags attached to the resource.
tags
- Tags attached to the resource.public RoomSummary withTags(Map<String,String> tags)
Tags attached to the resource.
tags
- Tags attached to the resource.public RoomSummary addTagsEntry(String key, String value)
public RoomSummary clearTagsEntries()
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 RoomSummary 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 String toString()
toString
in class Object
Object.toString()
public RoomSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.