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
-
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
PutChannelMembershipPreferencesRequest.Builder channelArn(String 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
PutChannelMembershipPreferencesRequest.Builder memberArn(String 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
PutChannelMembershipPreferencesRequest.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.
-
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:
preferences(ChannelMembershipPreferences)
-
overrideConfiguration
PutChannelMembershipPreferencesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutChannelMembershipPreferencesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-