@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChannelBan extends Object implements Serializable, Cloneable, StructuredPojo
Bans a user from a channel.
| 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 parameter of the action.
|
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) |
void |
setChannelArn(String channelArn)
The ARN of the channel from which a member is being banned.
|
void |
setCreatedBy(Identity createdBy)
The parameter of the action.
|
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 parameter of the action.
|
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 parameter of the action.
createdBy - The parameter of the action.public Identity getCreatedBy()
The parameter of the action.
public ChannelBan withCreatedBy(Identity createdBy)
The parameter of the action.
createdBy - The parameter of the action.public String toString()
toString in class ObjectObject.toString()public ChannelBan clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.