@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelModerator extends Object implements Serializable, Cloneable, StructuredPojo
The details of a channel moderator.
Constructor and Description |
---|
ChannelModerator() |
Modifier and Type | Method and Description |
---|---|
ChannelModerator |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the moderator's channel.
|
Identity |
getCreatedBy()
The
AppInstanceUser who created the moderator. |
Date |
getCreatedTimestamp()
The time at which the moderator was created.
|
Identity |
getModerator()
The moderator's data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The ARN of the moderator's channel.
|
void |
setCreatedBy(Identity createdBy)
The
AppInstanceUser who created the moderator. |
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which the moderator was created.
|
void |
setModerator(Identity moderator)
The moderator's data.
|
String |
toString()
Returns a string representation of this object.
|
ChannelModerator |
withChannelArn(String channelArn)
The ARN of the moderator's channel.
|
ChannelModerator |
withCreatedBy(Identity createdBy)
The
AppInstanceUser who created the moderator. |
ChannelModerator |
withCreatedTimestamp(Date createdTimestamp)
The time at which the moderator was created.
|
ChannelModerator |
withModerator(Identity moderator)
The moderator's data.
|
public void setModerator(Identity moderator)
The moderator's data.
moderator
- The moderator's data.public Identity getModerator()
The moderator's data.
public ChannelModerator withModerator(Identity moderator)
The moderator's data.
moderator
- The moderator's data.public void setChannelArn(String channelArn)
The ARN of the moderator's channel.
channelArn
- The ARN of the moderator's channel.public String getChannelArn()
The ARN of the moderator's channel.
public ChannelModerator withChannelArn(String channelArn)
The ARN of the moderator's channel.
channelArn
- The ARN of the moderator's channel.public void setCreatedTimestamp(Date createdTimestamp)
The time at which the moderator was created.
createdTimestamp
- The time at which the moderator was created.public Date getCreatedTimestamp()
The time at which the moderator was created.
public ChannelModerator withCreatedTimestamp(Date createdTimestamp)
The time at which the moderator was created.
createdTimestamp
- The time at which the moderator was created.public void setCreatedBy(Identity createdBy)
The AppInstanceUser
who created the moderator.
createdBy
- The AppInstanceUser
who created the moderator.public Identity getCreatedBy()
The AppInstanceUser
who created the moderator.
AppInstanceUser
who created the moderator.public ChannelModerator withCreatedBy(Identity createdBy)
The AppInstanceUser
who created the moderator.
createdBy
- The AppInstanceUser
who created the moderator.public String toString()
toString
in class Object
Object.toString()
public ChannelModerator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.