public PutPartnerEventsRequestEntry withDetailType(String detailType) {
        setDetailType(detailType);
        return this;
    }
<p>
A free-form string used to decide what fields to expect in the event detail.
</p>

@param detailType
       A free-form string used to decide what fields to expect in the event detail.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/PutPartnerEventsRequestEntry.java