@Generated(value="software.amazon.awssdk:codegen") public final class ChannelBan extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChannelBan.Builder,ChannelBan>
The details of a channel ban.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChannelBan.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChannelBan.Builder |
builder() |
String |
channelArn()
The ARN of the channel from which a member is being banned.
|
Identity |
createdBy()
The
AppInstanceUser who created the ban. |
Instant |
createdTimestamp()
The time at which the ban was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Identity |
member()
The member being banned from the channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChannelBan.Builder> |
serializableBuilderClass() |
ChannelBan.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Identity member()
The member being banned from the channel.
public final String channelArn()
The ARN of the channel from which a member is being banned.
public final Instant createdTimestamp()
The time at which the ban was created.
public final Identity createdBy()
The AppInstanceUser who created the ban.
AppInstanceUser who created the ban.public ChannelBan.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChannelBan.Builder,ChannelBan>public static ChannelBan.Builder builder()
public static Class<? extends ChannelBan.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.