Class InstanceInfo (6.60.0)

public class InstanceInfo

Represents a Cloud Spanner Instance.

Inheritance

Object > InstanceInfo

Static Methods

newBuilder(InstanceId id)

public static InstanceInfo.Builder newBuilder(InstanceId id)
Parameter
NameDescription
idInstanceId
Returns
TypeDescription
InstanceInfo.Builder

Methods

equals(Object o)

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

getAutoscalingConfig()

public AutoscalingConfig getAutoscalingConfig()

Returns the autoscaling config of the instance.

Returns
TypeDescription
AutoscalingConfig

getCreateTime()

public Timestamp getCreateTime()
Returns
TypeDescription
com.google.cloud.Timestamp

getDisplayName()

public String getDisplayName()

Returns the display name of the instance.

Returns
TypeDescription
String

getId()

public InstanceId getId()

Returns the identifier of the instance.

Returns
TypeDescription
InstanceId

getInstanceConfigId()

public InstanceConfigId getInstanceConfigId()

Returns the identifier of the instance configuration.

Returns
TypeDescription
InstanceConfigId

getLabels()

public Map<String,String> getLabels()

Returns the cloud labels attached to this instance.

Returns
TypeDescription
Map<String,String>

getNodeCount()

public int getNodeCount()

Returns the node count of the instance.

Returns
TypeDescription
int

getProcessingUnits()

public int getProcessingUnits()

Returns the number of processing units of the instance.

Returns
TypeDescription
int

getState()

public InstanceInfo.State getState()

Returns the current state of the instance.

Returns
TypeDescription
InstanceInfo.State

getUpdateTime()

public Timestamp getUpdateTime()
Returns
TypeDescription
com.google.cloud.Timestamp

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

public InstanceInfo.Builder toBuilder()
Returns
TypeDescription
InstanceInfo.Builder

toString()

public String toString()
Returns
TypeDescription
String
Overrides