Interface BatchCreateChannelMembershipRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeSdkMessagingRequest.Builder,CopyableBuilder<BatchCreateChannelMembershipRequest.Builder,BatchCreateChannelMembershipRequest>,SdkBuilder<BatchCreateChannelMembershipRequest.Builder,BatchCreateChannelMembershipRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchCreateChannelMembershipRequest
public static interface BatchCreateChannelMembershipRequest.Builder extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<BatchCreateChannelMembershipRequest.Builder,BatchCreateChannelMembershipRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingRequest.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 Detail
-
channelArn
BatchCreateChannelMembershipRequest.Builder channelArn(String channelArn)
The ARN of the channel to which you're adding users or bots.
- Parameters:
channelArn- The ARN of the channel to which you're adding users or bots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
BatchCreateChannelMembershipRequest.Builder type(String type)
The membership type of a user,
DEFAULTorHIDDEN. Default members are always returned as part ofListChannelMemberships. Hidden members are only returned if the type filter inListChannelMembershipsequalsHIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.- Parameters:
type- The membership type of a user,DEFAULTorHIDDEN. Default members are always returned as part ofListChannelMemberships. Hidden members are only returned if the type filter inListChannelMembershipsequalsHIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelMembershipType,ChannelMembershipType
-
type
BatchCreateChannelMembershipRequest.Builder type(ChannelMembershipType type)
The membership type of a user,
DEFAULTorHIDDEN. Default members are always returned as part ofListChannelMemberships. Hidden members are only returned if the type filter inListChannelMembershipsequalsHIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.- Parameters:
type- The membership type of a user,DEFAULTorHIDDEN. Default members are always returned as part ofListChannelMemberships. Hidden members are only returned if the type filter inListChannelMembershipsequalsHIDDEN. Otherwise hidden members are not returned. This is only supported by moderators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ChannelMembershipType,ChannelMembershipType
-
memberArns
BatchCreateChannelMembershipRequest.Builder memberArns(Collection<String> memberArns)
The ARNs of the members you want to add to the channel. Only
AppInstanceUsersandAppInstanceBotscan be added as a channel member.- Parameters:
memberArns- The ARNs of the members you want to add to the channel. OnlyAppInstanceUsersandAppInstanceBotscan be added as a channel member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberArns
BatchCreateChannelMembershipRequest.Builder memberArns(String... memberArns)
The ARNs of the members you want to add to the channel. Only
AppInstanceUsersandAppInstanceBotscan be added as a channel member.- Parameters:
memberArns- The ARNs of the members you want to add to the channel. OnlyAppInstanceUsersandAppInstanceBotscan be added as a channel member.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
BatchCreateChannelMembershipRequest.Builder chimeBearer(String 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.
-
subChannelId
BatchCreateChannelMembershipRequest.Builder subChannelId(String subChannelId)
The ID of the SubChannel in the request.
Only required when creating membership in a SubChannel for a moderator in an elastic channel.
- Parameters:
subChannelId- The ID of the SubChannel in the request.Only required when creating membership in a SubChannel for a moderator in an elastic channel.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchCreateChannelMembershipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchCreateChannelMembershipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-