public RegisterResourceRequest withRoleArn(String roleArn) {
        setRoleArn(roleArn);
        return this;
    }
<p>
The identifier for the role that registers the resource.
</p>

@param roleArn
       The identifier for the role that registers the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/RegisterResourceRequest.java