public Builder related(ObjectReferencePatchArgs related) {
            return related(Output.of(related));
        }
@param related Optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/events/v1beta1/EventPatchArgs.java