public Builder related(@Nullable Output<ObjectReferenceArgs> related) {
            $.related = related;
            return this;
        }
@param related Optional secondary object for more complex actions.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/EventArgs.java