@Generated(value="software.amazon.awssdk:codegen") public final class PushNotificationPreferences extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PushNotificationPreferences.Builder,PushNotificationPreferences>
The channel membership preferences for push notification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PushNotificationPreferences.Builder |
| Modifier and Type | Method and Description |
|---|---|
AllowNotifications |
allowNotifications()
Enum value that indicates which push notifications to send to the requested member of a channel.
|
String |
allowNotificationsAsString()
Enum value that indicates which push notifications to send to the requested member of a channel.
|
static PushNotificationPreferences.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filterRule()
The simple JSON object used to send a subset of a push notification to the requsted member.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PushNotificationPreferences.Builder> |
serializableBuilderClass() |
PushNotificationPreferences.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AllowNotifications allowNotifications()
Enum value that indicates which push notifications to send to the requested member of a channel. ALL
sends all push notifications, NONE sends no push notifications, FILTERED sends only
filtered push notifications.
If the service returns an enum value that is not available in the current SDK version,
allowNotifications will return AllowNotifications.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from allowNotificationsAsString().
ALL sends all push notifications, NONE sends no push notifications,
FILTERED sends only filtered push notifications.AllowNotificationspublic final String allowNotificationsAsString()
Enum value that indicates which push notifications to send to the requested member of a channel. ALL
sends all push notifications, NONE sends no push notifications, FILTERED sends only
filtered push notifications.
If the service returns an enum value that is not available in the current SDK version,
allowNotifications will return AllowNotifications.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from allowNotificationsAsString().
ALL sends all push notifications, NONE sends no push notifications,
FILTERED sends only filtered push notifications.AllowNotificationspublic final String filterRule()
The simple JSON object used to send a subset of a push notification to the requsted member.
public PushNotificationPreferences.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PushNotificationPreferences.Builder,PushNotificationPreferences>public static PushNotificationPreferences.Builder builder()
public static Class<? extends PushNotificationPreferences.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.