public IPAddressSpecArgs build() {
            if ($.parentRef == null) {
                throw new MissingRequiredPropertyException("IPAddressSpecArgs", "parentRef");
            }
            return $;
        }
@param parentRef ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/networking/v1/inputs/IPAddressSpecArgs.java