public void setSessionCap(Integer sessionCap) {
        this.sessionCap = sessionCap;
    }
<p>
Session cap which controls the number of times an in-app message can be shown to the endpoint during an
application session.
</p>

@param sessionCap
       Session cap which controls the number of times an in-app message can be shown to the endpoint during an
       application session.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/InAppMessageCampaign.java