public OwnerReferenceArgs build() {
            if ($.apiVersion == null) {
                throw new MissingRequiredPropertyException("OwnerReferenceArgs", "apiVersion");
            }
            if ($.kind == null) {
                throw new MissingRequiredPropertyException("OwnerReferenceArgs", "kind");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("OwnerReferenceArgs", "name");
            }
            if ($.uid == null) {
                throw new MissingRequiredPropertyException("OwnerReferenceArgs", "uid");
            }
            return $;
        }
@param uid UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/meta/v1/inputs/OwnerReferenceArgs.java