public void setType(String type) {
        this.type = type;
    }
<p>
Type of the item: message or event.
</p>

@param type
       Type of the item: message or event.
@see ChatItemType
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/Item.java