public List<String> addresses() {
        return this.addresses;
    }
@return addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1beta1/outputs/Endpoint.java