Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkMessagingRequest.Builder,CopyableBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> SdkBuilder<CreateChannelRequest.Builder,,CreateChannelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChannelRequest
-
Method Summary
Modifier and TypeMethodDescriptionappInstanceArn(String appInstanceArn) The ARN of the channel request.The ID of the channel in the request.chimeBearer(String chimeBearer) The ARN of theAppInstanceUserorAppInstanceBotthat makes the API call.clientRequestToken(String clientRequestToken) The client token for the request.default CreateChannelRequest.BuilderelasticChannelConfiguration(Consumer<ElasticChannelConfiguration.Builder> elasticChannelConfiguration) The attributes required to configure and create an elastic channel.elasticChannelConfiguration(ElasticChannelConfiguration elasticChannelConfiguration) The attributes required to configure and create an elastic channel.default CreateChannelRequest.BuilderexpirationSettings(Consumer<ExpirationSettings.Builder> expirationSettings) Settings that control the interval after which the channel is automatically deleted.expirationSettings(ExpirationSettings expirationSettings) Settings that control the interval after which the channel is automatically deleted.memberArns(String... memberArns) The ARNs of the channel members in the request.memberArns(Collection<String> memberArns) The ARNs of the channel members in the request.The metadata of the creation request.The channel mode:UNRESTRICTEDorRESTRICTED.mode(ChannelMode mode) The channel mode:UNRESTRICTEDorRESTRICTED.moderatorArns(String... moderatorArns) The ARNs of the channel moderators in the request.moderatorArns(Collection<String> moderatorArns) The ARNs of the channel moderators in the request.The name of the channel.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The channel's privacy level:PUBLICorPRIVATE.privacy(ChannelPrivacy privacy) The channel's privacy level:PUBLICorPRIVATE.tags(Collection<Tag> tags) The tags for the creation request.tags(Consumer<Tag.Builder>... tags) The tags for the creation request.The tags for the creation request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appInstanceArn
The ARN of the channel request.
- Parameters:
appInstanceArn- The ARN of the channel request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the channel.
- Parameters:
name- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mode
The channel mode:
UNRESTRICTEDorRESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.- Parameters:
mode- The channel mode:UNRESTRICTEDorRESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
The channel mode:
UNRESTRICTEDorRESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.- Parameters:
mode- The channel mode:UNRESTRICTEDorRESTRICTED. Administrators, moderators, and channel members can add themselves and other members to unrestricted channels. Only administrators and moderators can add members to restricted channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privacy
The channel's privacy level:
PUBLICorPRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in theAppInstance.- Parameters:
privacy- The channel's privacy level:PUBLICorPRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
privacy
The channel's privacy level:
PUBLICorPRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in theAppInstance.- Parameters:
privacy- The channel's privacy level:PUBLICorPRIVATE. Private channels aren't discoverable by users outside the channel. Public channels are discoverable by anyone in theAppInstance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The metadata of the creation request. Limited to 1KB and UTF-8.
- Parameters:
metadata- The metadata of the creation request. Limited to 1KB and UTF-8.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
The client token for the request. An
Idempotencytoken.- Parameters:
clientRequestToken- The client token for the request. AnIdempotencytoken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the creation request.
- Parameters:
tags- The tags for the creation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the creation request.
- Parameters:
tags- The tags for the creation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the creation request.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chimeBearer
The ARN of the
AppInstanceUserorAppInstanceBotthat makes the API call.- Parameters:
chimeBearer- The ARN of theAppInstanceUserorAppInstanceBotthat makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelId
The ID of the channel in the request.
- Parameters:
channelId- The ID of the channel in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberArns
The ARNs of the channel members in the request.
- Parameters:
memberArns- The ARNs of the channel members in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberArns
The ARNs of the channel members in the request.
- Parameters:
memberArns- The ARNs of the channel members in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderatorArns
The ARNs of the channel moderators in the request.
- Parameters:
moderatorArns- The ARNs of the channel moderators in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moderatorArns
The ARNs of the channel moderators in the request.
- Parameters:
moderatorArns- The ARNs of the channel moderators in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticChannelConfiguration
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.
- Parameters:
elasticChannelConfiguration- The attributes required to configure and create an elastic channel. An elastic channel can support a maximum of 1-million users, excluding moderators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticChannelConfiguration
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.Builderavoiding the need to create one manually viaElasticChannelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelasticChannelConfiguration(ElasticChannelConfiguration).- Parameters:
elasticChannelConfiguration- a consumer that will call methods onElasticChannelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expirationSettings
default CreateChannelRequest.Builder expirationSettings(Consumer<ExpirationSettings.Builder> expirationSettings) Settings that control the interval after which the channel is automatically deleted.
This is a convenience method that creates an instance of theExpirationSettings.Builderavoiding the need to create one manually viaExpirationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpirationSettings(ExpirationSettings).- Parameters:
expirationSettings- a consumer that will call methods onExpirationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-