public Optional<Output<List<EndpointPatchArgs>>> endpoints() {
        return Optional.ofNullable(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/EndpointSlicePatchArgs.java