Class CfnChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin>
- Enclosing class:
CfnChannelPropsMixin
CfnChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionappInstanceArn(String appInstanceArn) The ARN of the AppInstance that contains the channel.build()The ID of the channel.chimeBearer(String chimeBearer) The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel.static CfnChannelPropsMixin.Buildercreate()static CfnChannelPropsMixin.Buildercreate(CfnPropertyMixinOptions options) elasticChannelConfiguration(CfnChannelPropsMixin.ElasticChannelConfigurationProperty elasticChannelConfiguration) The attributes required to configure and create an elastic channel.elasticChannelConfiguration(IResolvable elasticChannelConfiguration) The attributes required to configure and create an elastic channel.expirationSettings(CfnChannelPropsMixin.ExpirationSettingsProperty expirationSettings) Settings that control the interval after which the channel is automatically deleted.expirationSettings(IResolvable expirationSettings) Settings that control the interval after which the channel is automatically deleted.memberArns(List<String> memberArns) The ARNs of the AppInstanceUsers to add to the channel as members when it is created.The metadata of the channel.The channel mode.moderatorArns(List<String> moderatorArns) The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created.The name of the channel.The channel's privacy level.The tags for the channel.
-
Method Details
-
create
@Stability(Stable) public static CfnChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnChannelPropsMixin.Builder.
-
appInstanceArn
The ARN of the AppInstance that contains the channel.- Parameters:
appInstanceArn- The ARN of the AppInstance that contains the channel. This parameter is required.- Returns:
this- See Also:
-
channelId
The ID of the channel.When omitted, the service generates a UUID.
- Parameters:
channelId- The ID of the channel. This parameter is required.- Returns:
this- See Also:
-
chimeBearer
The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel.Whichever of the two creates a channel automatically becomes one of its moderators, so the same ARN can subsequently read, update and delete the channel.
- Parameters:
chimeBearer- The ARN of the AppInstanceUser or AppInstanceBot that performs every operation on this channel. This parameter is required.- Returns:
this- See Also:
-
elasticChannelConfiguration
@Stability(Stable) public CfnChannelPropsMixin.Builder elasticChannelConfiguration(IResolvable elasticChannelConfiguration) The attributes required to configure and create an elastic channel.An elastic channel must use RESTRICTED mode, cannot be created with MemberArns, and is available only in some regions.
- Parameters:
elasticChannelConfiguration- The attributes required to configure and create an elastic channel. This parameter is required.- Returns:
this- See Also:
-
elasticChannelConfiguration
@Stability(Stable) public CfnChannelPropsMixin.Builder elasticChannelConfiguration(CfnChannelPropsMixin.ElasticChannelConfigurationProperty elasticChannelConfiguration) The attributes required to configure and create an elastic channel.An elastic channel must use RESTRICTED mode, cannot be created with MemberArns, and is available only in some regions.
- Parameters:
elasticChannelConfiguration- The attributes required to configure and create an elastic channel. This parameter is required.- Returns:
this- See Also:
-
expirationSettings
@Stability(Stable) public CfnChannelPropsMixin.Builder expirationSettings(IResolvable expirationSettings) Settings that control the interval after which the channel is automatically deleted.- Parameters:
expirationSettings- Settings that control the interval after which the channel is automatically deleted. This parameter is required.- Returns:
this- See Also:
-
expirationSettings
@Stability(Stable) public CfnChannelPropsMixin.Builder expirationSettings(CfnChannelPropsMixin.ExpirationSettingsProperty expirationSettings) Settings that control the interval after which the channel is automatically deleted.- Parameters:
expirationSettings- Settings that control the interval after which the channel is automatically deleted. This parameter is required.- Returns:
this- See Also:
-
memberArns
The ARNs of the AppInstanceUsers to add to the channel as members when it is created.Cannot be combined with ElasticChannelConfiguration.
- Parameters:
memberArns- The ARNs of the AppInstanceUsers to add to the channel as members when it is created. This parameter is required.- Returns:
this- See Also:
-
metadata
The metadata of the channel.- Parameters:
metadata- The metadata of the channel. This parameter is required.- Returns:
this- See Also:
-
mode
The channel mode.In an UNRESTRICTED channel, members can add themselves and other members; in a RESTRICTED channel, only administrators and moderators can add members. An elastic channel must be RESTRICTED.
- Parameters:
mode- The channel mode. This parameter is required.- Returns:
this- See Also:
-
moderatorArns
The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created.- Parameters:
moderatorArns- The ARNs of the AppInstanceUsers to add to the channel as moderators when it is created. This parameter is required.- Returns:
this- See Also:
-
name
The name of the channel.- Parameters:
name- The name of the channel. This parameter is required.- Returns:
this- See Also:
-
privacy
The channel's privacy level.A PUBLIC channel is discoverable by anyone in the AppInstance; a PRIVATE channel is not. Privacy cannot be changed after creation.
- Parameters:
privacy- The channel's privacy level. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the channel.- Parameters:
tags- The tags for the channel. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin>- Returns:
- a newly built instance of
CfnChannelPropsMixin.
-