@CustomType.Setter
        public Builder parentRef(ParentReference parentRef) {
            if (parentRef == null) {
              throw new MissingRequiredPropertyException("IPAddressSpec", "parentRef");
            }
            this.parentRef = parentRef;
            return this;
        }
@return ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/outputs/IPAddressSpec.java