Interface ChannelMembershipPreferences.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelMembershipPreferences.Builder,ChannelMembershipPreferences>,SdkBuilder<ChannelMembershipPreferences.Builder,ChannelMembershipPreferences>,SdkPojo
- Enclosing class:
- ChannelMembershipPreferences
public static interface ChannelMembershipPreferences.Builder extends SdkPojo, CopyableBuilder<ChannelMembershipPreferences.Builder,ChannelMembershipPreferences>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelMembershipPreferences.BuilderpushNotifications(Consumer<PushNotificationPreferences.Builder> pushNotifications)The push notification configuration of a message.ChannelMembershipPreferences.BuilderpushNotifications(PushNotificationPreferences pushNotifications)The push notification configuration of a message.-
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
-
pushNotifications
ChannelMembershipPreferences.Builder pushNotifications(PushNotificationPreferences pushNotifications)
The push notification configuration of a message.
- Parameters:
pushNotifications- The push notification configuration of a message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pushNotifications
default ChannelMembershipPreferences.Builder pushNotifications(Consumer<PushNotificationPreferences.Builder> pushNotifications)
The push notification configuration of a message.
This is a convenience method that creates an instance of thePushNotificationPreferences.Builderavoiding the need to create one manually viaPushNotificationPreferences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topushNotifications(PushNotificationPreferences).- Parameters:
pushNotifications- a consumer that will call methods onPushNotificationPreferences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pushNotifications(PushNotificationPreferences)
-
-