Interface CreateChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeRequest.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.chimeBearer
(String chimeBearer) TheAppInstanceUserArn
of the user that makes the API call.clientRequestToken
(String clientRequestToken) The client token for the request.The metadata of the creation request.The channel mode:UNRESTRICTED
orRESTRICTED
.mode
(ChannelMode mode) The channel mode:UNRESTRICTED
orRESTRICTED
.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:PUBLIC
orPRIVATE
.privacy
(ChannelPrivacy privacy) The channel's privacy level:PUBLIC
orPRIVATE
.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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:
UNRESTRICTED
orRESTRICTED
. 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:UNRESTRICTED
orRESTRICTED
. 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:
UNRESTRICTED
orRESTRICTED
. 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:UNRESTRICTED
orRESTRICTED
. 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:
PUBLIC
orPRIVATE
. 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:PUBLIC
orPRIVATE
. 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:
PUBLIC
orPRIVATE
. 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:PUBLIC
orPRIVATE
. 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
Idempotency
token.- Parameters:
clientRequestToken
- The client token for the request. AnIdempotency
token.- 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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
AppInstanceUserArn
of the user that makes the API call.- Parameters:
chimeBearer
- TheAppInstanceUserArn
of the user that makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-