public Builder addresses(String... addresses) {
            return addresses(List.of(addresses));
        }
@param addresses addresses of this endpoint. For EndpointSlices of addressType &#34;IPv4&#34; or &#34;IPv6&#34;, the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.

@return builder
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/inputs/EndpointArgs.java