Class InstanceConfigId (6.55.0)

public final class InstanceConfigId

Returns id of a Cloud Spanner instance config.

Inheritance

Object > InstanceConfigId

Static Methods

of(String project, String instanceConfig)

public static InstanceConfigId of(String project, String instanceConfig)

Creates an InstanceConfigId given project and instance config IDs.

Parameters
NameDescription
projectString
instanceConfigString
Returns
TypeDescription
InstanceConfigId

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getInstanceConfig()

public String getInstanceConfig()

Returns id of this instance config.

Returns
TypeDescription
String

getName()

public String getName()

Returns the name of the instance config.

Returns
TypeDescription
String

getProject()

public String getProject()

Returns project of this instane config.

Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides