public Optional<Integer> port() {
        return Optional.ofNullable(this.port);
    }
@return The port number of the endpoint.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/EndpointPortPatch.java