Class InstanceInfo (6.74.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
Name Description
id InstanceId
Returns
Type Description
InstanceInfo.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getAutoscalingConfig()

public AutoscalingConfig getAutoscalingConfig()

Returns the autoscaling config of the instance.

Returns
Type Description
AutoscalingConfig

getCreateTime()

public Timestamp getCreateTime()
Returns
Type Description
com.google.cloud.Timestamp

getDisplayName()

public String getDisplayName()

Returns the display name of the instance.

Returns
Type Description
String

getId()

public InstanceId getId()

Returns the identifier of the instance.

Returns
Type Description
InstanceId

getInstanceConfigId()

public InstanceConfigId getInstanceConfigId()

Returns the identifier of the instance configuration.

Returns
Type Description
InstanceConfigId

getLabels()

public Map<String,String> getLabels()

Returns the cloud labels attached to this instance.

Returns
Type Description
Map<String,String>

getNodeCount()

public int getNodeCount()

Returns the node count of the instance.

Returns
Type Description
int

getProcessingUnits()

public int getProcessingUnits()

Returns the number of processing units of the instance.

Returns
Type Description
int

getState()

public InstanceInfo.State getState()

Returns the current state of the instance.

Returns
Type Description
InstanceInfo.State

getUpdateTime()

public Timestamp getUpdateTime()
Returns
Type Description
com.google.cloud.Timestamp

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public InstanceInfo.Builder toBuilder()
Returns
Type Description
InstanceInfo.Builder

toString()

public String toString()
Returns
Type Description
String
Overrides