public EndpointAddressPatch build() {
            final var _resultValue = new EndpointAddressPatch();
            _resultValue.hostname = hostname;
            _resultValue.ip = ip;
            _resultValue.nodeName = nodeName;
            _resultValue.targetRef = targetRef;
            return _resultValue;
        }
@return Reference to object providing the endpoint.
sdk/java/src/main/java/com/pulumi/kubernetes/core/v1/outputs/EndpointAddressPatch.java