public Builder resource(Output<String> resource) {
            $.resource = resource;
            return this;
        }
@param resource Resource is the resource of the object being referenced.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1beta1/inputs/ParentReferenceArgs.java