class S3ResourceId implements ResourceId {

  @Override
  public boolean isDirectory() {
    return key.endsWith("/");
  }

  private  S3ResourceId(
      String bucket, String key, @Nullable Long size, @Nullable Date lastModified);

}