public Output<Optional<List<EndpointPatch>>> endpoints() {
        return Codegen.optional(this.endpoints);
    }
@return endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.
sdk/java/src/main/java/com/pulumi/kubernetes/discovery/v1/EndpointSlicePatch.java