public Optional<ObjectReference> related() {
        return Optional.ofNullable(this.related);
    }
@return Optional secondary object for more complex actions.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/Event.java