public Integer getTotalCap() {
        return this.totalCap;
    }
<p>
Total cap which controls the number of times an in-app message can be shown to the endpoint.
</p>

@return Total cap which controls the number of times an in-app message can be shown to the endpoint.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/InAppMessageCampaign.java