Class CfnCampaign.MessageProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.pinpoint.CfnCampaign.MessageProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnCampaign.MessageProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnCampaign.MessageProperty
@Stability(Stable)
@Internal
public static final class CfnCampaign.MessageProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnCampaign.MessageProperty
An implementation for
CfnCampaign.MessageProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.pinpoint.CfnCampaign.MessageProperty
CfnCampaign.MessageProperty.Builder, CfnCampaign.MessageProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnCampaign.MessageProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe action to occur if a recipient taps the push notification.final StringgetBody()The body of the notification message.final StringThe URL of the image to display as the push notification icon, such as the icon for the app.final StringThe URL of the image to display as the small, push notification icon, such as a small version of the icon for the app.final StringThe URL of an image to display in the push notification.final StringThe JSON payload to use for a silent push notification.final StringThe URL of the image or video to display in the push notification.final StringThe raw, JSON-formatted string to use as the payload for the notification message.final ObjectSpecifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device.final NumberThe number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time.final StringgetTitle()The title to display above the notification message on a recipient's device.final StringgetUrl()The URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of theActionproperty isURL.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnCampaign.MessageProperty.Builder.
-
-
Method Details
-
getAction
Description copied from interface:CfnCampaign.MessagePropertyThe action to occur if a recipient taps the push notification. Valid values are:.OPEN_APP– Your app opens or it becomes the foreground app if it was sent to the background. This is the default action.DEEP_LINK– Your app opens and displays a designated user interface in the app. This setting uses the deep-linking features of iOS and Android.URL– The default mobile browser on the recipient's device opens and loads the web page at a URL that you specify.
- Specified by:
getActionin interfaceCfnCampaign.MessageProperty- See Also:
-
getBody
Description copied from interface:CfnCampaign.MessagePropertyThe body of the notification message.The maximum number of characters is 200.
- Specified by:
getBodyin interfaceCfnCampaign.MessageProperty- See Also:
-
getImageIconUrl
Description copied from interface:CfnCampaign.MessagePropertyThe URL of the image to display as the push notification icon, such as the icon for the app.- Specified by:
getImageIconUrlin interfaceCfnCampaign.MessageProperty- See Also:
-
getImageSmallIconUrl
Description copied from interface:CfnCampaign.MessagePropertyThe URL of the image to display as the small, push notification icon, such as a small version of the icon for the app.- Specified by:
getImageSmallIconUrlin interfaceCfnCampaign.MessageProperty- See Also:
-
getImageUrl
Description copied from interface:CfnCampaign.MessagePropertyThe URL of an image to display in the push notification.- Specified by:
getImageUrlin interfaceCfnCampaign.MessageProperty- See Also:
-
getJsonBody
Description copied from interface:CfnCampaign.MessagePropertyThe JSON payload to use for a silent push notification.- Specified by:
getJsonBodyin interfaceCfnCampaign.MessageProperty- See Also:
-
getMediaUrl
Description copied from interface:CfnCampaign.MessagePropertyThe URL of the image or video to display in the push notification.- Specified by:
getMediaUrlin interfaceCfnCampaign.MessageProperty- See Also:
-
getRawContent
Description copied from interface:CfnCampaign.MessagePropertyThe raw, JSON-formatted string to use as the payload for the notification message.If specified, this value overrides all other content for the message.
- Specified by:
getRawContentin interfaceCfnCampaign.MessageProperty- See Also:
-
getSilentPush
Description copied from interface:CfnCampaign.MessagePropertySpecifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device.Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.
Returns union: either
BooleanorIResolvable- Specified by:
getSilentPushin interfaceCfnCampaign.MessageProperty- See Also:
-
getTimeToLive
Description copied from interface:CfnCampaign.MessagePropertyThe number of seconds that the push notification service should keep the message, if the service is unable to deliver the notification the first time.This value is converted to an expiration value when it's sent to a push notification service. If this value is
0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.
- Specified by:
getTimeToLivein interfaceCfnCampaign.MessageProperty- See Also:
-
getTitle
Description copied from interface:CfnCampaign.MessagePropertyThe title to display above the notification message on a recipient's device.- Specified by:
getTitlein interfaceCfnCampaign.MessageProperty- See Also:
-
getUrl
Description copied from interface:CfnCampaign.MessagePropertyThe URL to open in a recipient's default mobile browser, if a recipient taps the push notification and the value of theActionproperty isURL.- Specified by:
getUrlin interfaceCfnCampaign.MessageProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-