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