public AlarmHistoryItem withHistoryItemType(String historyItemType) {
        setHistoryItemType(historyItemType);
        return this;
    }
<p>
The type of alarm history item.
</p>

@param historyItemType
       The type of alarm history item.
@return Returns a reference to this object so that method calls can be chained together.
@see HistoryItemType
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/AlarmHistoryItem.java