Package com.google.cloud.spanner
Class InstanceConfigId
- java.lang.Object
-
- com.google.cloud.spanner.InstanceConfigId
-
public final class InstanceConfigId extends Object
Returns id of a Cloud Spanner instance config.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getInstanceConfig()
Returns id of this instance config.String
getName()
Returns the name of the instance config.String
getProject()
Returns project of this instane config.int
hashCode()
static InstanceConfigId
of(String project, String instanceConfig)
Creates anInstanceConfigId
given project and instance config IDs.String
toString()
-
-
-
Method Detail
-
getProject
public String getProject()
Returns project of this instane config.
-
getInstanceConfig
public String getInstanceConfig()
Returns id of this instance config.
-
getName
public String getName()
Returns the name of the instance config.
-
of
public static InstanceConfigId of(String project, String instanceConfig)
Creates anInstanceConfigId
given project and instance config IDs.
-
-