Package com.google.cloud.spanner
Class InstanceInfo
java.lang.Object
com.google.cloud.spanner.InstanceInfo
- Direct Known Subclasses:
Instance
Represents a Cloud Spanner Instance.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder forInstanceInfo
.static enum
Represent an updatable field in Cloud Spanner instance.static enum
State of the Instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
com.google.cloud.Timestamp
Returns the display name of the instance.getId()
Returns the identifier of the instance.Returns the identifier of the instance configuration.Returns the cloud labels attached to this instance.int
Returns the node count of the instance.int
Returns the number of processing units of the instance.getState()
Returns the current state of the instance.com.google.cloud.Timestamp
int
hashCode()
static InstanceInfo.Builder
newBuilder
(InstanceId id) toString()
-
Method Details
-
getId
Returns the identifier of the instance. -
getInstanceConfigId
Returns the identifier of the instance configuration. -
getDisplayName
Returns the display name of the instance. -
getUpdateTime
public com.google.cloud.Timestamp getUpdateTime() -
getCreateTime
public com.google.cloud.Timestamp getCreateTime() -
getNodeCount
public int getNodeCount()Returns the node count of the instance. -
getProcessingUnits
public int getProcessingUnits()Returns the number of processing units of the instance. -
getState
Returns the current state of the instance. -
getLabels
Returns the cloud labels attached to this instance. -
toBuilder
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-