@Generated(value="software.amazon.awssdk:codegen") public final class PushNotificationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PushNotificationConfiguration.Builder,PushNotificationConfiguration>
The push notification configuration of the message.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PushNotificationConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
The body of the push notification.
|
static PushNotificationConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PushNotificationConfiguration.Builder> |
serializableBuilderClass() |
String |
title()
The title of the push notification.
|
PushNotificationConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
PushNotificationType |
type()
Enum value that indicates the type of the push notification for a message.
|
String |
typeAsString()
Enum value that indicates the type of the push notification for a message.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String title()
The title of the push notification.
public final String body()
The body of the push notification.
public final PushNotificationType type()
Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile
push notification. VOIP: VOIP mobile push notification.
If the service returns an enum value that is not available in the current SDK version, type will return
PushNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DEFAULT: Normal
mobile push notification. VOIP: VOIP mobile push notification.PushNotificationTypepublic final String typeAsString()
Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile
push notification. VOIP: VOIP mobile push notification.
If the service returns an enum value that is not available in the current SDK version, type will return
PushNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
DEFAULT: Normal
mobile push notification. VOIP: VOIP mobile push notification.PushNotificationTypepublic PushNotificationConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PushNotificationConfiguration.Builder,PushNotificationConfiguration>public static PushNotificationConfiguration.Builder builder()
public static Class<? extends PushNotificationConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.