public Output<Optional<ObjectReferencePatch>> related() {
        return Codegen.optional(this.related);
    }
@return related is the optional secondary object for more complex actions. E.g. when regarding object triggers a creation or deletion of related object.
sdk/java/src/main/java/com/pulumi/kubernetes/events/v1/EventPatch.java