public static interface ChannelBan.Builder extends SdkPojo, CopyableBuilder<ChannelBan.Builder,ChannelBan>
| Modifier and Type | Method and Description |
|---|---|
ChannelBan.Builder |
channelArn(String channelArn)
The ARN of the channel from which a member is being banned.
|
default ChannelBan.Builder |
createdBy(Consumer<Identity.Builder> createdBy)
The
AppInstanceUser who created the ban. |
ChannelBan.Builder |
createdBy(Identity createdBy)
The
AppInstanceUser who created the ban. |
ChannelBan.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which the ban was created.
|
default ChannelBan.Builder |
member(Consumer<Identity.Builder> member)
The member being banned from the channel.
|
ChannelBan.Builder |
member(Identity member)
The member being banned from the channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannelBan.Builder member(Identity member)
The member being banned from the channel.
member - The member being banned from the channel.default ChannelBan.Builder member(Consumer<Identity.Builder> member)
The member being banned from the channel.
This is a convenience that creates an instance of theIdentity.Builder avoiding the need to create
one manually via Identity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to member(Identity).member - a consumer that will call methods on Identity.Buildermember(Identity)ChannelBan.Builder channelArn(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.ChannelBan.Builder createdTimestamp(Instant createdTimestamp)
The time at which the ban was created.
createdTimestamp - The time at which the ban was created.ChannelBan.Builder createdBy(Identity createdBy)
The AppInstanceUser who created the ban.
createdBy - The AppInstanceUser who created the ban.default ChannelBan.Builder createdBy(Consumer<Identity.Builder> createdBy)
The AppInstanceUser who created the ban.
Identity.Builder avoiding the need to create
one manually via Identity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to createdBy(Identity).createdBy - a consumer that will call methods on Identity.BuildercreatedBy(Identity)Copyright © 2021. All rights reserved.