public static interface CreateChannelRequest.Builder extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateChannelRequest.Builder |
appInstanceArn(String appInstanceArn)
The ARN of the channel request.
|
CreateChannelRequest.Builder |
channelId(String channelId)
The ID of the channel in the request.
|
CreateChannelRequest.Builder |
chimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
CreateChannelRequest.Builder |
clientRequestToken(String clientRequestToken)
The client token for the request.
|
default CreateChannelRequest.Builder |
elasticChannelConfiguration(Consumer<ElasticChannelConfiguration.Builder> elasticChannelConfiguration)
The attributes required to configure and create an elastic channel.
|
CreateChannelRequest.Builder |
elasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel.
|
CreateChannelRequest.Builder |
memberArns(Collection<String> memberArns)
The ARNs of the channel members in the request.
|
CreateChannelRequest.Builder |
memberArns(String... memberArns)
The ARNs of the channel members in the request.
|
CreateChannelRequest.Builder |
metadata(String metadata)
The metadata of the creation request.
|
CreateChannelRequest.Builder |
mode(ChannelMode mode)
The channel mode:
UNRESTRICTED or RESTRICTED. |
CreateChannelRequest.Builder |
mode(String mode)
The channel mode:
UNRESTRICTED or RESTRICTED. |
CreateChannelRequest.Builder |
moderatorArns(Collection<String> moderatorArns)
The ARNs of the channel moderators in the request.
|
CreateChannelRequest.Builder |
moderatorArns(String... moderatorArns)
The ARNs of the channel moderators in the request.
|
CreateChannelRequest.Builder |
name(String name)
The name of the channel.
|
CreateChannelRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateChannelRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateChannelRequest.Builder |
privacy(ChannelPrivacy privacy)
The channel's privacy level:
PUBLIC or PRIVATE. |
CreateChannelRequest.Builder |
privacy(String privacy)
The channel's privacy level:
PUBLIC or PRIVATE. |
CreateChannelRequest.Builder |
tags(Collection<Tag> tags)
The tags for the creation request.
|
CreateChannelRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the creation request.
|
CreateChannelRequest.Builder |
tags(Tag... tags)
The tags for the creation request.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateChannelRequest.Builder appInstanceArn(String appInstanceArn)
The ARN of the channel request.
appInstanceArn - The ARN of the channel request.CreateChannelRequest.Builder name(String name)
The name of the channel.
name - The name of the channel.CreateChannelRequest.Builder mode(String mode)
The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and
channel members can add themselves and other members to unrestricted channels. Only administrators and
moderators can add members to restricted channels.
mode - The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators,
and channel members can add themselves and other members to unrestricted channels. Only administrators
and moderators can add members to restricted channels.ChannelMode,
ChannelModeCreateChannelRequest.Builder mode(ChannelMode mode)
The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators, and
channel members can add themselves and other members to unrestricted channels. Only administrators and
moderators can add members to restricted channels.
mode - The channel mode: UNRESTRICTED or RESTRICTED. Administrators, moderators,
and channel members can add themselves and other members to unrestricted channels. Only administrators
and moderators can add members to restricted channels.ChannelMode,
ChannelModeCreateChannelRequest.Builder privacy(String privacy)
The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't
discoverable by users outside the channel. Public channels are discoverable by anyone in the
AppInstance.
privacy - The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't
discoverable by users outside the channel. Public channels are discoverable by anyone in the
AppInstance.ChannelPrivacy,
ChannelPrivacyCreateChannelRequest.Builder privacy(ChannelPrivacy privacy)
The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't
discoverable by users outside the channel. Public channels are discoverable by anyone in the
AppInstance.
privacy - The channel's privacy level: PUBLIC or PRIVATE. Private channels aren't
discoverable by users outside the channel. Public channels are discoverable by anyone in the
AppInstance.ChannelPrivacy,
ChannelPrivacyCreateChannelRequest.Builder metadata(String metadata)
The metadata of the creation request. Limited to 1KB and UTF-8.
metadata - The metadata of the creation request. Limited to 1KB and UTF-8.CreateChannelRequest.Builder clientRequestToken(String clientRequestToken)
The client token for the request. An Idempotency token.
clientRequestToken - The client token for the request. An Idempotency token.CreateChannelRequest.Builder tags(Collection<Tag> tags)
The tags for the creation request.
tags - The tags for the creation request.CreateChannelRequest.Builder tags(Tag... tags)
The tags for the creation request.
tags - The tags for the creation request.CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the creation request.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateChannelRequest.Builder chimeBearer(String chimeBearer)
The AppInstanceUserArn of the user that makes the API call.
chimeBearer - The AppInstanceUserArn of the user that makes the API call.CreateChannelRequest.Builder channelId(String channelId)
The ID of the channel in the request.
channelId - The ID of the channel in the request.CreateChannelRequest.Builder memberArns(Collection<String> memberArns)
The ARNs of the channel members in the request.
memberArns - The ARNs of the channel members in the request.CreateChannelRequest.Builder memberArns(String... memberArns)
The ARNs of the channel members in the request.
memberArns - The ARNs of the channel members in the request.CreateChannelRequest.Builder moderatorArns(Collection<String> moderatorArns)
The ARNs of the channel moderators in the request.
moderatorArns - The ARNs of the channel moderators in the request.CreateChannelRequest.Builder moderatorArns(String... moderatorArns)
The ARNs of the channel moderators in the request.
moderatorArns - The ARNs of the channel moderators in the request.CreateChannelRequest.Builder elasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration)
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.
elasticChannelConfiguration - The attributes required to configure and create an elastic channel. An elastic channel can support a
maximum of 1-million users, excluding moderators.default CreateChannelRequest.Builder elasticChannelConfiguration(Consumer<ElasticChannelConfiguration.Builder> elasticChannelConfiguration)
The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.
This is a convenience method that creates an instance of theElasticChannelConfiguration.Builder
avoiding the need to create one manually via ElasticChannelConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to elasticChannelConfiguration(ElasticChannelConfiguration).
elasticChannelConfiguration - a consumer that will call methods on ElasticChannelConfiguration.BuilderelasticChannelConfiguration(ElasticChannelConfiguration)CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.