public void setType(String type) {
        this.type = type;
    }
<p>
Only supported relationship is a child relationship.
</p>

@param type
       Only supported relationship is a child relationship.
@see RelationshipType
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/RelationshipsListItem.java