public InAppMessageCampaign withInAppMessage(InAppMessage inAppMessage) {
        setInAppMessage(inAppMessage);
        return this;
    }
<p>
In-app message content with all fields required for rendering an in-app message.
</p>

@param inAppMessage
       In-app message content with all fields required for rendering an in-app message.
@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/InAppMessageCampaign.java