Class InstanceInfo

  • Direct Known Subclasses:
    Instance

    public class InstanceInfo
    extends Object
    Represents a Cloud Spanner Instance.
    • Method Detail

      • getId

        public InstanceId getId()
        Returns the identifier of the instance.
      • getInstanceConfigId

        public InstanceConfigId getInstanceConfigId()
        Returns the identifier of the instance configuration.
      • getDisplayName

        public String 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

        public InstanceInfo.State getState()
        Returns the current state of the instance.
      • getLabels

        public Map<String,​String> getLabels()
        Returns the cloud labels attached to this instance.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object