@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
The details of a channel.
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of a channel.
|
String |
getChannelFlowArn()
The ARN of the channel flow.
|
Identity |
getCreatedBy()
The
AppInstanceUser who created the channel. |
Date |
getCreatedTimestamp()
The time at which the
AppInstanceUser created the channel. |
ElasticChannelConfiguration |
getElasticChannelConfiguration()
The attributes required to configure and create an elastic channel.
|
ExpirationSettings |
getExpirationSettings()
Settings that control when a channel expires.
|
Date |
getLastMessageTimestamp()
The time at which a member sent the last message in the channel.
|
Date |
getLastUpdatedTimestamp()
The time at which a channel was last updated.
|
String |
getMetadata()
The channel's metadata.
|
String |
getMode()
The mode of the channel.
|
String |
getName()
The name of a channel.
|
String |
getPrivacy()
The channel's privacy setting.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of a channel.
|
void |
setChannelFlowArn(String channelFlowArn)
The ARN of the channel flow.
|
void |
setCreatedBy(Identity createdBy)
The
AppInstanceUser who created the channel. |
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which the
AppInstanceUser created the channel. |
void |
setElasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel.
|
void |
setExpirationSettings(ExpirationSettings expirationSettings)
Settings that control when a channel expires.
|
void |
setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which a member sent the last message in the channel.
|
void |
setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel was last updated.
|
void |
setMetadata(String metadata)
The channel's metadata.
|
void |
setMode(String mode)
The mode of the channel.
|
void |
setName(String name)
The name of a channel.
|
void |
setPrivacy(String privacy)
The channel's privacy setting.
|
String |
toString()
Returns a string representation of this object.
|
Channel |
withChannelArn(String channelArn)
The ARN of a channel.
|
Channel |
withChannelFlowArn(String channelFlowArn)
The ARN of the channel flow.
|
Channel |
withCreatedBy(Identity createdBy)
The
AppInstanceUser who created the channel. |
Channel |
withCreatedTimestamp(Date createdTimestamp)
The time at which the
AppInstanceUser created the channel. |
Channel |
withElasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel.
|
Channel |
withExpirationSettings(ExpirationSettings expirationSettings)
Settings that control when a channel expires.
|
Channel |
withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which a member sent the last message in the channel.
|
Channel |
withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel was last updated.
|
Channel |
withMetadata(String metadata)
The channel's metadata.
|
Channel |
withMode(ChannelMode mode)
The mode of the channel.
|
Channel |
withMode(String mode)
The mode of the channel.
|
Channel |
withName(String name)
The name of a channel.
|
Channel |
withPrivacy(ChannelPrivacy privacy)
The channel's privacy setting.
|
Channel |
withPrivacy(String privacy)
The channel's privacy setting.
|
public void setName(String name)
The name of a channel.
name
- The name of a channel.public String getName()
The name of a channel.
public Channel withName(String name)
The name of a channel.
name
- The name of a channel.public void setChannelArn(String channelArn)
The ARN of a channel.
channelArn
- The ARN of a channel.public String getChannelArn()
The ARN of a channel.
public Channel withChannelArn(String channelArn)
The ARN of a channel.
channelArn
- The ARN of a 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 Channel withMode(String mode)
The mode of the channel.
mode
- The mode of the channel.ChannelMode
public Channel withMode(ChannelMode mode)
The mode of the channel.
mode
- The mode of the channel.ChannelMode
public void setPrivacy(String privacy)
The channel's privacy setting.
privacy
- The channel's privacy setting.ChannelPrivacy
public String getPrivacy()
The channel's privacy setting.
ChannelPrivacy
public Channel withPrivacy(String privacy)
The channel's privacy setting.
privacy
- The channel's privacy setting.ChannelPrivacy
public Channel withPrivacy(ChannelPrivacy privacy)
The channel's privacy setting.
privacy
- The channel's privacy setting.ChannelPrivacy
public void setMetadata(String metadata)
The channel's metadata.
metadata
- The channel's metadata.public String getMetadata()
The channel's metadata.
public Channel withMetadata(String metadata)
The channel's metadata.
metadata
- The channel's metadata.public void setCreatedBy(Identity createdBy)
The AppInstanceUser
who created the channel.
createdBy
- The AppInstanceUser
who created the channel.public Identity getCreatedBy()
The AppInstanceUser
who created the channel.
AppInstanceUser
who created the channel.public Channel withCreatedBy(Identity createdBy)
The AppInstanceUser
who created the channel.
createdBy
- The AppInstanceUser
who created the channel.public void setCreatedTimestamp(Date createdTimestamp)
The time at which the AppInstanceUser
created the channel.
createdTimestamp
- The time at which the AppInstanceUser
created the channel.public Date getCreatedTimestamp()
The time at which the AppInstanceUser
created the channel.
AppInstanceUser
created the channel.public Channel withCreatedTimestamp(Date createdTimestamp)
The time at which the AppInstanceUser
created the channel.
createdTimestamp
- The time at which the AppInstanceUser
created the channel.public void setLastMessageTimestamp(Date lastMessageTimestamp)
The time at which a member sent the last message in the channel.
lastMessageTimestamp
- The time at which a member sent the last message in the channel.public Date getLastMessageTimestamp()
The time at which a member sent the last message in the channel.
public Channel withLastMessageTimestamp(Date lastMessageTimestamp)
The time at which a member sent the last message in the channel.
lastMessageTimestamp
- The time at which a member sent the last message in the channel.public void setLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel was last updated.
lastUpdatedTimestamp
- The time at which a channel was last updated.public Date getLastUpdatedTimestamp()
The time at which a channel was last updated.
public Channel withLastUpdatedTimestamp(Date lastUpdatedTimestamp)
The time at which a channel was last updated.
lastUpdatedTimestamp
- The time at which a channel was last updated.public void setChannelFlowArn(String channelFlowArn)
The ARN of the channel flow.
channelFlowArn
- The ARN of the channel flow.public String getChannelFlowArn()
The ARN of the channel flow.
public Channel withChannelFlowArn(String channelFlowArn)
The ARN of the channel flow.
channelFlowArn
- The ARN of the channel flow.public void setElasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
elasticChannelConfiguration
- The attributes required to configure and create an elastic channel. An elastic channel can support a
maximum of 1-million members.public ElasticChannelConfiguration getElasticChannelConfiguration()
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
public Channel withElasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million members.
elasticChannelConfiguration
- The attributes required to configure and create an elastic channel. An elastic channel can support a
maximum of 1-million members.public void setExpirationSettings(ExpirationSettings expirationSettings)
Settings that control when a channel expires.
expirationSettings
- Settings that control when a channel expires.public ExpirationSettings getExpirationSettings()
Settings that control when a channel expires.
public Channel withExpirationSettings(ExpirationSettings expirationSettings)
Settings that control when a channel expires.
expirationSettings
- Settings that control when a channel expires.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.