public Relationship withRelationshipType(String relationshipType) {
        setRelationshipType(relationshipType);
        return this;
    }
<p>
The type of the relationship.
</p>

@param relationshipType
       The type of the relationship.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/Relationship.java