Class PushNotificationConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmessaging.model.PushNotificationConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PushNotificationConfiguration.Builder,PushNotificationConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class PushNotificationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PushNotificationConfiguration.Builder,PushNotificationConfiguration>
The push notification configuration of the message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePushNotificationConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbody()The body of the push notification.static PushNotificationConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PushNotificationConfiguration.Builder>serializableBuilderClass()Stringtitle()The title of the push notification.PushNotificationConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.PushNotificationTypetype()Enum value that indicates the type of the push notification for a message.StringtypeAsString()Enum value that indicates the type of the push notification for a message.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
title
public final String title()
The title of the push notification.
- Returns:
- The title of the push notification.
-
body
public final String body()
The body of the push notification.
- Returns:
- The body of the push notification.
-
type
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,
typewill returnPushNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Enum value that indicates the type of the push notification for a message.
DEFAULT: Normal mobile push notification.VOIP: VOIP mobile push notification. - See Also:
PushNotificationType
-
typeAsString
public 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,
typewill returnPushNotificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Enum value that indicates the type of the push notification for a message.
DEFAULT: Normal mobile push notification.VOIP: VOIP mobile push notification. - See Also:
PushNotificationType
-
toBuilder
public PushNotificationConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PushNotificationConfiguration.Builder,PushNotificationConfiguration>
-
builder
public static PushNotificationConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends PushNotificationConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-