public Optional<String> hostname() {
        return Optional.ofNullable(this.hostname);
    }
@return The Hostname of this endpoint
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/EndpointAddress.java