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 theAppInstanceUserorAppInstanceBotthat 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
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
-
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
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.
-
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.Builderavoiding the need to create one manually viaChannelMembershipPreferences.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-