public RelationshipType getRelationshipType() {
        return relationshipType;
    }
Gets the relationship type.

@return Returns the relationship type.
smithy-model/src/main/java/software/amazon/smithy/model/neighbor/Relationship.java