public Builder endpoints(EndpointArgs... endpoints) {
            return endpoints(List.of(endpoints));
        }
@param endpoints endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.

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