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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forInstanceInfo.static enumRepresent an updatable field in Cloud Spanner instance.static enumState of the Instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the autoscaling config of the instance.com.google.cloud.TimestampReturns 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.intReturns the node count of the instance.intReturns the number of processing units of the instance.getState()Returns the current state of the instance.com.google.cloud.TimestampinthashCode()static InstanceInfo.BuildernewBuilder(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. -
getAutoscalingConfig
Returns the autoscaling config 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
-