@CustomType.Setter
        public Builder addresses(List<String> addresses) {
            if (addresses == null) {
              throw new MissingRequiredPropertyException("Endpoint", "addresses");
            }
            this.addresses = addresses;
            return this;
        }
@return zone is the name of the Zone this endpoint exists in.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/outputs/Endpoint.java