public UserDefinedFunctionInput withOwnerType(PrincipalType ownerType) {
        this.ownerType = ownerType.toString();
        return this;
    }
<p>
The owner type.
</p>

@param ownerType
       The owner type.
@return Returns a reference to this object so that method calls can be chained together.
@see PrincipalType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/UserDefinedFunctionInput.java