public Optional<Output<String>> nodeName() {
        return Optional.ofNullable(this.nodeName);
    }
@return nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1beta1/inputs/EndpointArgs.java