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 |
chimeBearer(String chimeBearer)
The
AppInstanceUserArn of the user that makes the API call. |
CreateChannelRequest.Builder |
clientRequestToken(String clientRequestToken)
The client token for 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 |
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 that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.