public static interface Channel.Builder extends SdkPojo, CopyableBuilder<Channel.Builder,Channel>
| Modifier and Type | Method and Description |
|---|---|
Channel.Builder |
channelArn(String channelArn)
The ARN of a channel.
|
Channel.Builder |
channelFlowArn(String channelFlowArn)
The ARN of the channel flow.
|
default Channel.Builder |
createdBy(Consumer<Identity.Builder> createdBy)
The
AppInstanceUser who created the channel. |
Channel.Builder |
createdBy(Identity createdBy)
The
AppInstanceUser who created the channel. |
Channel.Builder |
createdTimestamp(Instant createdTimestamp)
The time at which the
AppInstanceUser created the channel. |
Channel.Builder |
lastMessageTimestamp(Instant lastMessageTimestamp)
The time at which a member sent the last message in the channel.
|
Channel.Builder |
lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which a channel was last updated.
|
Channel.Builder |
metadata(String metadata)
The channel's metadata.
|
Channel.Builder |
mode(ChannelMode mode)
The mode of the channel.
|
Channel.Builder |
mode(String mode)
The mode of the channel.
|
Channel.Builder |
name(String name)
The name of a channel.
|
Channel.Builder |
privacy(ChannelPrivacy privacy)
The channel's privacy setting.
|
Channel.Builder |
privacy(String privacy)
The channel's privacy setting.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildChannel.Builder name(String name)
The name of a channel.
name - The name of a channel.Channel.Builder channelArn(String channelArn)
The ARN of a channel.
channelArn - The ARN of a channel.Channel.Builder mode(String mode)
The mode of the channel.
mode - The mode of the channel.ChannelMode,
ChannelModeChannel.Builder mode(ChannelMode mode)
The mode of the channel.
mode - The mode of the channel.ChannelMode,
ChannelModeChannel.Builder privacy(String privacy)
The channel's privacy setting.
privacy - The channel's privacy setting.ChannelPrivacy,
ChannelPrivacyChannel.Builder privacy(ChannelPrivacy privacy)
The channel's privacy setting.
privacy - The channel's privacy setting.ChannelPrivacy,
ChannelPrivacyChannel.Builder metadata(String metadata)
The channel's metadata.
metadata - The channel's metadata.Channel.Builder createdBy(Identity createdBy)
The AppInstanceUser who created the channel.
createdBy - The AppInstanceUser who created the channel.default Channel.Builder createdBy(Consumer<Identity.Builder> createdBy)
The AppInstanceUser who created the channel.
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)Channel.Builder createdTimestamp(Instant createdTimestamp)
The time at which the AppInstanceUser created the channel.
createdTimestamp - The time at which the AppInstanceUser created the channel.Channel.Builder lastMessageTimestamp(Instant lastMessageTimestamp)
The time at which a member sent the last message in the channel.
lastMessageTimestamp - The time at which a member sent the last message in the channel.Channel.Builder lastUpdatedTimestamp(Instant lastUpdatedTimestamp)
The time at which a channel was last updated.
lastUpdatedTimestamp - The time at which a channel was last updated.Channel.Builder channelFlowArn(String channelFlowArn)
The ARN of the channel flow.
channelFlowArn - The ARN of the channel flow.Copyright © 2021. All rights reserved.