@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelBan extends Object implements Serializable, Cloneable, StructuredPojo
The details of a channel ban.
Constructor and Description |
---|
ChannelBan() |
Modifier and Type | Method and Description |
---|---|
ChannelBan |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of the channel from which a member is being banned.
|
Identity |
getCreatedBy()
The
AppInstanceUser who created the ban. |
Date |
getCreatedTimestamp()
The time at which the ban was created.
|
Identity |
getMember()
The member being banned from 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 from which a member is being banned.
|
void |
setCreatedBy(Identity createdBy)
The
AppInstanceUser who created the ban. |
void |
setCreatedTimestamp(Date createdTimestamp)
The time at which the ban was created.
|
void |
setMember(Identity member)
The member being banned from the channel.
|
String |
toString()
Returns a string representation of this object.
|
ChannelBan |
withChannelArn(String channelArn)
The ARN of the channel from which a member is being banned.
|
ChannelBan |
withCreatedBy(Identity createdBy)
The
AppInstanceUser who created the ban. |
ChannelBan |
withCreatedTimestamp(Date createdTimestamp)
The time at which the ban was created.
|
ChannelBan |
withMember(Identity member)
The member being banned from the channel.
|
public void setMember(Identity member)
The member being banned from the channel.
member
- The member being banned from the channel.public Identity getMember()
The member being banned from the channel.
public ChannelBan withMember(Identity member)
The member being banned from the channel.
member
- The member being banned from the channel.public void setChannelArn(String channelArn)
The ARN of the channel from which a member is being banned.
channelArn
- The ARN of the channel from which a member is being banned.public String getChannelArn()
The ARN of the channel from which a member is being banned.
public ChannelBan withChannelArn(String channelArn)
The ARN of the channel from which a member is being banned.
channelArn
- The ARN of the channel from which a member is being banned.public void setCreatedTimestamp(Date createdTimestamp)
The time at which the ban was created.
createdTimestamp
- The time at which the ban was created.public Date getCreatedTimestamp()
The time at which the ban was created.
public ChannelBan withCreatedTimestamp(Date createdTimestamp)
The time at which the ban was created.
createdTimestamp
- The time at which the ban was created.public void setCreatedBy(Identity createdBy)
The AppInstanceUser
who created the ban.
createdBy
- The AppInstanceUser
who created the ban.public Identity getCreatedBy()
The AppInstanceUser
who created the ban.
AppInstanceUser
who created the ban.public ChannelBan withCreatedBy(Identity createdBy)
The AppInstanceUser
who created the ban.
createdBy
- The AppInstanceUser
who created the ban.public String toString()
toString
in class Object
Object.toString()
public ChannelBan clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.