public NamedEntityDefinition withPropertyRole(PropertyRole propertyRole) {
        this.propertyRole = propertyRole.toString();
        return this;
    }
<p>
The property role. Valid values for this structure are <code>PRIMARY</code> and <code>ID</code>.
</p>

@param propertyRole
       The property role. Valid values for this structure are <code>PRIMARY</code> and <code>ID</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see PropertyRole
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/NamedEntityDefinition.java