public DirectMessageConfiguration withAPNSMessage(APNSMessage aPNSMessage) {
        setAPNSMessage(aPNSMessage);
        return this;
    }
<p>
The default push notification message for the APNs (Apple Push Notification service) channel. This message
overrides the default push notification message (DefaultPushNotificationMessage).
</p>

@param aPNSMessage
       The default push notification message for the APNs (Apple Push Notification service) channel. This message
       overrides the default push notification message (DefaultPushNotificationMessage).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/DirectMessageConfiguration.java