@Test public void createSnapshotName() throws Exception { String clusterName = "projects/proj/instances/inst/clusters/cluster1"; Assert.assertEquals( clusterName + "/snapshots/snp", new BigtableClusterName(clusterName).toSnapshotName("snp")); }
public String toSnapshotName(String snapshotId) { return clusterName + "/snapshots/" + snapshotId; }
BigtableClusterName { public String toSnapshotName(String snapshotId) { return clusterName + "/snapshots/" + snapshotId; } }
BigtableClusterName { public String toSnapshotName(String snapshotId) { return clusterName + "/snapshots/" + snapshotId; } @InternalApi("For internal usage only")  BigtableClusterName(String clusterName); }
BigtableClusterName { public String toSnapshotName(String snapshotId) { return clusterName + "/snapshots/" + snapshotId; } @InternalApi("For internal usage only")  BigtableClusterName(String clusterName); @Override String toString(); String getInstanceId(); String getClusterName(); String getClusterId(); String toSnapshotName(String snapshotId); }
BigtableClusterName { public String toSnapshotName(String snapshotId) { return clusterName + "/snapshots/" + snapshotId; } @InternalApi("For internal usage only")  BigtableClusterName(String clusterName); @Override String toString(); String getInstanceId(); String getClusterName(); String getClusterId(); String toSnapshotName(String snapshotId);  }