@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary data for a channel.
| Constructor and Description |
|---|
ChannelSummary() |
| Modifier and Type | Method and Description |
|---|---|
ChannelSummary |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel summary.
|
Date |
getLastMessageTimestamp()
The time at which the last message in a channel was sent.
|
String |
getMetadata()
The metadata of the channel summary.
|
String |
getMode()
The summary mode of the channel.
|
String |
getName()
The parameter of the action.
|
String |
getPrivacy()
The privacy setting of the channel being summarized,
PUBLIC or HIDDEN. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChannelArn(String channelArn)
The ARN of the channel summary.
|
void |
setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last message in a channel was sent.
|
void |
setMetadata(String metadata)
The metadata of the channel summary.
|
void |
setMode(String mode)
The summary mode of the channel.
|
void |
setName(String name)
The parameter of the action.
|
void |
setPrivacy(String privacy)
The privacy setting of the channel being summarized,
PUBLIC or HIDDEN. |
String |
toString()
Returns a string representation of this object.
|
ChannelSummary |
withChannelArn(String channelArn)
The ARN of the channel summary.
|
ChannelSummary |
withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last message in a channel was sent.
|
ChannelSummary |
withMetadata(String metadata)
The metadata of the channel summary.
|
ChannelSummary |
withMode(ChannelMode mode)
The summary mode of the channel.
|
ChannelSummary |
withMode(String mode)
The summary mode of the channel.
|
ChannelSummary |
withName(String name)
The parameter of the action.
|
ChannelSummary |
withPrivacy(ChannelPrivacy privacy)
The privacy setting of the channel being summarized,
PUBLIC or HIDDEN. |
ChannelSummary |
withPrivacy(String privacy)
The privacy setting of the channel being summarized,
PUBLIC or HIDDEN. |
public void setName(String name)
The parameter of the action.
name - The parameter of the action.public String getName()
The parameter of the action.
public ChannelSummary withName(String name)
The parameter of the action.
name - The parameter of the action.public void setChannelArn(String channelArn)
The ARN of the channel summary.
channelArn - The ARN of the channel summary.public String getChannelArn()
The ARN of the channel summary.
public ChannelSummary withChannelArn(String channelArn)
The ARN of the channel summary.
channelArn - The ARN of the channel summary.public void setMode(String mode)
The summary mode of the channel.
mode - The summary mode of the channel.ChannelModepublic String getMode()
The summary mode of the channel.
ChannelModepublic ChannelSummary withMode(String mode)
The summary mode of the channel.
mode - The summary mode of the channel.ChannelModepublic ChannelSummary withMode(ChannelMode mode)
The summary mode of the channel.
mode - The summary mode of the channel.ChannelModepublic void setPrivacy(String privacy)
The privacy setting of the channel being summarized, PUBLIC or HIDDEN.
privacy - The privacy setting of the channel being summarized, PUBLIC or HIDDEN.ChannelPrivacypublic String getPrivacy()
The privacy setting of the channel being summarized, PUBLIC or HIDDEN.
PUBLIC or HIDDEN.ChannelPrivacypublic ChannelSummary withPrivacy(String privacy)
The privacy setting of the channel being summarized, PUBLIC or HIDDEN.
privacy - The privacy setting of the channel being summarized, PUBLIC or HIDDEN.ChannelPrivacypublic ChannelSummary withPrivacy(ChannelPrivacy privacy)
The privacy setting of the channel being summarized, PUBLIC or HIDDEN.
privacy - The privacy setting of the channel being summarized, PUBLIC or HIDDEN.ChannelPrivacypublic void setMetadata(String metadata)
The metadata of the channel summary.
metadata - The metadata of the channel summary.public String getMetadata()
The metadata of the channel summary.
public ChannelSummary withMetadata(String metadata)
The metadata of the channel summary.
metadata - The metadata of the channel summary.public void setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last message in a channel was sent.
lastMessageTimestamp - The time at which the last message in a channel was sent.public Date getLastMessageTimestamp()
The time at which the last message in a channel was sent.
public ChannelSummary withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last message in a channel was sent.
lastMessageTimestamp - The time at which the last message in a channel was sent.public String toString()
toString in class ObjectObject.toString()public ChannelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.