@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary of the details of 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.
|
Date |
getLastMessageTimestamp()
The time at which the last persistent message visible to the caller in a channel was sent.
|
String |
getMetadata()
The metadata of the channel.
|
String |
getMode()
The mode of the channel.
|
String |
getName()
The name of the channel.
|
String |
getPrivacy()
The privacy setting of the channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of the channel.
|
void |
setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last persistent message visible to the caller in a channel was sent.
|
void |
setMetadata(String metadata)
The metadata of the channel.
|
void |
setMode(String mode)
The mode of the channel.
|
void |
setName(String name)
The name of the channel.
|
void |
setPrivacy(String privacy)
The privacy setting of the channel.
|
String |
toString()
Returns a string representation of this object.
|
ChannelSummary |
withChannelArn(String channelArn)
The ARN of the channel.
|
ChannelSummary |
withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last persistent message visible to the caller in a channel was sent.
|
ChannelSummary |
withMetadata(String metadata)
The metadata of the channel.
|
ChannelSummary |
withMode(ChannelMode mode)
The mode of the channel.
|
ChannelSummary |
withMode(String mode)
The mode of the channel.
|
ChannelSummary |
withName(String name)
The name of the channel.
|
ChannelSummary |
withPrivacy(ChannelPrivacy privacy)
The privacy setting of the channel.
|
ChannelSummary |
withPrivacy(String privacy)
The privacy setting of the channel.
|
public void setName(String name)
The name of the channel.
name
- The name of the channel.public String getName()
The name of the channel.
public ChannelSummary withName(String name)
The name of the channel.
name
- The name of the channel.public void setChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public String getChannelArn()
The ARN of the channel.
public ChannelSummary withChannelArn(String channelArn)
The ARN of the channel.
channelArn
- The ARN of the channel.public void setMode(String mode)
The mode of the channel.
mode
- The mode of the channel.ChannelMode
public String getMode()
The mode of the channel.
ChannelMode
public ChannelSummary withMode(String mode)
The mode of the channel.
mode
- The mode of the channel.ChannelMode
public ChannelSummary withMode(ChannelMode mode)
The mode of the channel.
mode
- The mode of the channel.ChannelMode
public void setPrivacy(String privacy)
The privacy setting of the channel.
privacy
- The privacy setting of the channel.ChannelPrivacy
public String getPrivacy()
The privacy setting of the channel.
ChannelPrivacy
public ChannelSummary withPrivacy(String privacy)
The privacy setting of the channel.
privacy
- The privacy setting of the channel.ChannelPrivacy
public ChannelSummary withPrivacy(ChannelPrivacy privacy)
The privacy setting of the channel.
privacy
- The privacy setting of the channel.ChannelPrivacy
public void setMetadata(String metadata)
The metadata of the channel.
metadata
- The metadata of the channel.public String getMetadata()
The metadata of the channel.
public ChannelSummary withMetadata(String metadata)
The metadata of the channel.
metadata
- The metadata of the channel.public void setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last persistent message visible to the caller in a channel was sent.
lastMessageTimestamp
- The time at which the last persistent message visible to the caller in a channel was sent.public Date getLastMessageTimestamp()
The time at which the last persistent message visible to the caller in a channel was sent.
public ChannelSummary withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which the last persistent message visible to the caller in a channel was sent.
lastMessageTimestamp
- The time at which the last persistent message visible to the caller in a channel was sent.public String toString()
toString
in class Object
Object.toString()
public ChannelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.