public Builder port(@Nullable Output<Integer> port) {
            $.port = port;
            return this;
        }
@param port The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1beta1/inputs/EndpointPortArgs.java