@CustomType.Setter
        public Builder resource(String resource) {
            if (resource == null) {
              throw new MissingRequiredPropertyException("ParentReference", "resource");
            }
            this.resource = resource;
            return this;
        }
@return Resource is the resource of the object being referenced.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/outputs/ParentReference.java