Interface CreateChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeRequest.Builder,CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkBuilder<CreateChannelRequest.Builder,CreateChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateChannelRequest
public static interface CreateChannelRequest.Builder extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<CreateChannelRequest.Builder,CreateChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateChannelRequest.BuilderappInstanceArn(String appInstanceArn)The ARN of the channel request.CreateChannelRequest.BuilderchimeBearer(String chimeBearer)TheAppInstanceUserArnof the user that makes the API call.CreateChannelRequest.BuilderclientRequestToken(String clientRequestToken)The client token for the request.CreateChannelRequest.Buildermetadata(String metadata)The metadata of the creation request.CreateChannelRequest.Buildermode(String mode)The channel mode:UNRESTRICTEDorRESTRICTED.CreateChannelRequest.Buildermode(ChannelMode mode)The channel mode:UNRESTRICTEDorRESTRICTED.CreateChannelRequest.Buildername(String name)The name of the channel.CreateChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateChannelRequest.Builderprivacy(String privacy)The channel's privacy level:PUBLICorPRIVATE.CreateChannelRequest.Builderprivacy(ChannelPrivacy privacy)The channel's privacy level:PUBLICorPRIVATE.CreateChannelRequest.Buildertags(Collection<Tag> tags)The tags for the creation request.CreateChannelRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags for the creation request.CreateChannelRequest.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
appInstanceArn
CreateChannelRequest.Builder appInstanceArn(String 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
CreateChannelRequest.Builder name(String 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
CreateChannelRequest.Builder mode(String 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:
ChannelMode,ChannelMode
-
mode
CreateChannelRequest.Builder mode(ChannelMode 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:
ChannelMode,ChannelMode
-
privacy
CreateChannelRequest.Builder privacy(String 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:
ChannelPrivacy,ChannelPrivacy
-
privacy
CreateChannelRequest.Builder privacy(ChannelPrivacy 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:
ChannelPrivacy,ChannelPrivacy
-
metadata
CreateChannelRequest.Builder metadata(String 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
CreateChannelRequest.Builder clientRequestToken(String 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
CreateChannelRequest.Builder tags(Collection<Tag> 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
CreateChannelRequest.Builder tags(Tag... 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
CreateChannelRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
chimeBearer
CreateChannelRequest.Builder chimeBearer(String chimeBearer)
The
AppInstanceUserArnof the user that makes the API call.- Parameters:
chimeBearer- TheAppInstanceUserArnof 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-