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 booleanequals(Object o)StringgetInstanceConfig()Returns id of this instance config.StringgetName()Returns the name of the instance config.StringgetProject()Returns project of this instane config.inthashCode()static InstanceConfigIdof(String project, String instanceConfig)Creates anInstanceConfigIdgiven project and instance config IDs.StringtoString()
-
-
-
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 anInstanceConfigIdgiven project and instance config IDs.
-
-