public Optional<Output<Boolean>> ready() {
        return Optional.ofNullable(this.ready);
    }
@return ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as &#34;true&#34;. In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/inputs/EndpointConditionsArgs.java