Interface PutChannelMembershipPreferencesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeSdkMessagingRequest.Builder
,CopyableBuilder<PutChannelMembershipPreferencesRequest.Builder,
,PutChannelMembershipPreferencesRequest> SdkBuilder<PutChannelMembershipPreferencesRequest.Builder,
,PutChannelMembershipPreferencesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutChannelMembershipPreferencesRequest
public static interface PutChannelMembershipPreferencesRequest.Builder
extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<PutChannelMembershipPreferencesRequest.Builder,PutChannelMembershipPreferencesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel.chimeBearer
(String chimeBearer) The ARN of theAppInstanceUser
orAppInstanceBot
that makes the API call.The ARN of the member setting the preferences.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferences
(Consumer<ChannelMembershipPreferences.Builder> preferences) The channel membership preferences of anAppInstanceUser
.preferences
(ChannelMembershipPreferences preferences) The channel membership preferences of anAppInstanceUser
.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 Details
-
channelArn
The ARN of the channel.
- Parameters:
channelArn
- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memberArn
The ARN of the member setting the preferences.
- Parameters:
memberArn
- The ARN of the member setting the preferences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
The ARN of the
AppInstanceUser
orAppInstanceBot
that makes the API call.- Parameters:
chimeBearer
- The ARN of theAppInstanceUser
orAppInstanceBot
that makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferences
PutChannelMembershipPreferencesRequest.Builder preferences(ChannelMembershipPreferences preferences) The channel membership preferences of an
AppInstanceUser
.- Parameters:
preferences
- The channel membership preferences of anAppInstanceUser
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferences
default PutChannelMembershipPreferencesRequest.Builder preferences(Consumer<ChannelMembershipPreferences.Builder> preferences) The channel membership preferences of an
This is a convenience method that creates an instance of theAppInstanceUser
.ChannelMembershipPreferences.Builder
avoiding the need to create one manually viaChannelMembershipPreferences.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topreferences(ChannelMembershipPreferences)
.- Parameters:
preferences
- a consumer that will call methods onChannelMembershipPreferences.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutChannelMembershipPreferencesRequest.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
PutChannelMembershipPreferencesRequest.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.
-