code: static ImmutableList<ListFindingsResult> listFindingsAtTime(SourceName sourceName) {
      try (SecurityCenterClient client = SecurityCenterClient.create()) {
        // SourceName sourceName = SourceName.of(/*organizationId=*/"123234324",
        // /*sourceId=*/"423432321");
  
        // 5 days ago
        Instant fiveDaysAgo = Instant.now().minus(Duration.ofDays(5));
  
        ListFindingsRequest.Builder request =
            ListFindingsRequest.newBuilder()
                .setParent(sourceName.toString())
                .setReadTime(
                    Timestamp.newBuilder()
                        .setSeconds(fiveDaysAgo.getEpochSecond())
                        .setNanos(fiveDaysAgo.getNano()));
  
        // Call the API.
        ListFindingsPagedResponse response = client.listFindings(request.build());
  
        // This creates one list for all findings.  If your organization has a large number of
        // findings this can cause out of memory issues.  You can process them in incrementally
        // by returning the Iterable returned response.iterateAll() directly.
        ImmutableList<ListFindingsResult> results = ImmutableList.copyOf(response.iterateAll());
        System.out.println("Findings:");
        System.out.println(results);
        return results;
      } catch (IOException e) {
        throw new RuntimeException("Couldn't create client.", e);
      }
    }
docs: [START list_findings_at_time]