public RoleRefArgs build() {
            if ($.apiGroup == null) {
                throw new MissingRequiredPropertyException("RoleRefArgs", "apiGroup");
            }
            if ($.kind == null) {
                throw new MissingRequiredPropertyException("RoleRefArgs", "kind");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("RoleRefArgs", "name");
            }
            return $;
        }
@param name Name is the name of resource being referenced

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/rbac/v1/inputs/RoleRefArgs.java