public static interface ChannelModerator.Builder extends SdkPojo, CopyableBuilder<ChannelModerator.Builder,ChannelModerator>
| Modifier and Type | Method and Description |
|---|---|
ChannelModerator.Builder |
channelArn(String channelArn)
The ARN of the moderator's channel.
|
default ChannelModerator.Builder |
createdBy(Consumer<Identity.Builder> createdBy)
The
AppInstanceUser who created the moderator. |
ChannelModerator.Builder |
createdBy(Identity createdBy)
The
AppInstanceUser who created the moderator. |
ChannelModerator.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which the moderator was created.
|
default ChannelModerator.Builder |
moderator(Consumer<Identity.Builder> moderator)
The moderator's data.
|
ChannelModerator.Builder |
moderator(Identity moderator)
The moderator's data.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannelModerator.Builder moderator(Identity moderator)
The moderator's data.
moderator - The moderator's data.default ChannelModerator.Builder moderator(Consumer<Identity.Builder> moderator)
The moderator's data.
This is a convenience method 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 moderator(Identity).
moderator - a consumer that will call methods on Identity.Buildermoderator(Identity)ChannelModerator.Builder channelArn(String channelArn)
The ARN of the moderator's channel.
channelArn - The ARN of the moderator's channel.ChannelModerator.Builder createdTimestamp(Instant createdTimestamp)
The time at which the moderator was created.
createdTimestamp - The time at which the moderator was created.ChannelModerator.Builder createdBy(Identity createdBy)
The AppInstanceUser who created the moderator.
createdBy - The AppInstanceUser who created the moderator.default ChannelModerator.Builder createdBy(Consumer<Identity.Builder> createdBy)
The AppInstanceUser who created the moderator.
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 © 2023. All rights reserved.