public InAppMessageCampaign withTreatmentId(String treatmentId) {
        setTreatmentId(treatmentId);
        return this;
    }
<p>
Treatment id of the campaign.
</p>

@param treatmentId
       Treatment id of the campaign.
@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