BigtableSnapshotName (Cloud Bigtable HBase Client for Java 1.12.0 API)

com.google.cloud.bigtable.grpc

Class BigtableSnapshotName



  • public class BigtableSnapshotName
    extends Object
    This class encapsulates a Snapshot name of the form projects/(projectId)/instances/(instanceId)/clusters/(clusterId)
    • Constructor Detail

      • BigtableSnapshotName

        public BigtableSnapshotName(String snapshotName)
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Returns:
        The id of the instance that contains this cluster. It's the second group in the Snapshot name: "projects/{projectId}/instances/{instanceId}/clusters/{clusterId}/snapshots/{snapshotId}".
      • getClusterId

        public String getClusterId()
        Returns:
        The id of this cluster. It's the third group in the Snapshot name: "projects/{projectId}/instances/{instanceId}/clusters/{clusterId}/snapshots/{snapshotId}".
      • getSnapshotId

        public String getSnapshotId()
        Returns:
        The id of this snapshot. It's the fourth group in the Snapshot name: "projects/{projectId}/instances/{instanceId}/clusters/{clusterId}/snapshots/{snapshotId}".
      • getSnapshotName

        public String getSnapshotName()
        Returns:
        The name of this snapshot. It will look like the following "projects/{projectId}/instances/{instanceId}/clusters/{clusterId}/snapshots/{snapshotId}".