@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelMessageSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the messages in a channel.
| Constructor and Description |
|---|
ChannelMessageSummary() |
| Modifier and Type | Method and Description |
|---|---|
ChannelMessageSummary |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The content of the message summary.
|
Date |
getCreatedTimestamp()
The time at which the message summary was created.
|
Date |
getLastEditedTimestamp() |
Date |
getLastUpdatedTimestamp() |
String |
getMessageId()
The ID of the message summary.
|
String |
getMetadata()
The metadata of the message summary.
|
Boolean |
getRedacted()
Redacts the content of a message summary.
|
Identity |
getSender()
The sender of the message summary.
|
String |
getType()
The type of message summary.
|
int |
hashCode() |
Boolean |
isRedacted()
Redacts the content of a message summary.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContent(String content)
The content of the message summary.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which the message summary was created.
|
void |
setLastEditedTimestamp(Date lastEditedTimestamp) |
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp) |
void |
setMessageId(String messageId)
The ID of the message summary.
|
void |
setMetadata(String metadata)
The metadata of the message summary.
|
void |
setRedacted(Boolean redacted)
Redacts the content of a message summary.
|
void |
setSender(Identity sender)
The sender of the message summary.
|
void |
setType(String type)
The type of message summary.
|
String |
toString()
Returns a string representation of this object.
|
ChannelMessageSummary |
withContent(String content)
The content of the message summary.
|
ChannelMessageSummary |
withCreatedTimestamp(Date createdTimestamp)
The time at which the message summary was created.
|
ChannelMessageSummary |
withLastEditedTimestamp(Date lastEditedTimestamp) |
ChannelMessageSummary |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp) |
ChannelMessageSummary |
withMessageId(String messageId)
The ID of the message summary.
|
ChannelMessageSummary |
withMetadata(String metadata)
The metadata of the message summary.
|
ChannelMessageSummary |
withRedacted(Boolean redacted)
Redacts the content of a message summary.
|
ChannelMessageSummary |
withSender(Identity sender)
The sender of the message summary.
|
ChannelMessageSummary |
withType(ChannelMessageType type)
The type of message summary.
|
ChannelMessageSummary |
withType(String type)
The type of message summary.
|
public void setMessageId(String messageId)
The ID of the message summary.
messageId - The ID of the message summary.public String getMessageId()
The ID of the message summary.
public ChannelMessageSummary withMessageId(String messageId)
The ID of the message summary.
messageId - The ID of the message summary.public void setContent(String content)
The content of the message summary.
content - The content of the message summary.public String getContent()
The content of the message summary.
public ChannelMessageSummary withContent(String content)
The content of the message summary.
content - The content of the message summary.public void setMetadata(String metadata)
The metadata of the message summary.
metadata - The metadata of the message summary.public String getMetadata()
The metadata of the message summary.
public ChannelMessageSummary withMetadata(String metadata)
The metadata of the message summary.
metadata - The metadata of the message summary.public void setType(String type)
The type of message summary.
type - The type of message summary.ChannelMessageTypepublic String getType()
The type of message summary.
ChannelMessageTypepublic ChannelMessageSummary withType(String type)
The type of message summary.
type - The type of message summary.ChannelMessageTypepublic ChannelMessageSummary withType(ChannelMessageType type)
The type of message summary.
type - The type of message summary.ChannelMessageTypepublic void setCreatedTimestamp(Date createdTimestamp)
The time at which the message summary was created.
createdTimestamp - The time at which the message summary was created.public Date getCreatedTimestamp()
The time at which the message summary was created.
public ChannelMessageSummary withCreatedTimestamp(Date createdTimestamp)
The time at which the message summary was created.
createdTimestamp - The time at which the message summary was created.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
lastUpdatedTimestamp - public Date getLastUpdatedTimestamp()
public ChannelMessageSummary withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
lastUpdatedTimestamp - public void setLastEditedTimestamp(Date lastEditedTimestamp)
lastEditedTimestamp - public Date getLastEditedTimestamp()
public ChannelMessageSummary withLastEditedTimestamp(Date lastEditedTimestamp)
lastEditedTimestamp - public void setSender(Identity sender)
The sender of the message summary.
sender - The sender of the message summary.public Identity getSender()
The sender of the message summary.
public ChannelMessageSummary withSender(Identity sender)
The sender of the message summary.
sender - The sender of the message summary.public void setRedacted(Boolean redacted)
Redacts the content of a message summary.
redacted - Redacts the content of a message summary.public Boolean getRedacted()
Redacts the content of a message summary.
public ChannelMessageSummary withRedacted(Boolean redacted)
Redacts the content of a message summary.
redacted - Redacts the content of a message summary.public Boolean isRedacted()
Redacts the content of a message summary.
public String toString()
toString in class ObjectObject.toString()public ChannelMessageSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.