Modifier and Type | Class and Description |
---|---|
static class |
InstanceInfo.Builder
Builder for
InstanceInfo . |
static class |
InstanceInfo.InstanceField
Represent an updatable field in Cloud Spanner instance.
|
static class |
InstanceInfo.State
State of the Instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDisplayName()
Returns the display name of the instance.
|
InstanceId |
getId()
Returns the identifier of the instance.
|
InstanceConfigId |
getInstanceConfigId()
Returns the identifier of the instance configuration.
|
Map<String,String> |
getLabels()
Returns the cloud labels attached to this instance.
|
int |
getNodeCount()
Returns the node count of the instance.
|
InstanceInfo.State |
getState()
Returns the current state of the instance.
|
int |
hashCode() |
static InstanceInfo.Builder |
newBuilder(InstanceId id) |
InstanceInfo.Builder |
toBuilder() |
String |
toString() |
public InstanceId getId()
public InstanceConfigId getInstanceConfigId()
public String getDisplayName()
public int getNodeCount()
public InstanceInfo.State getState()
public InstanceInfo.Builder toBuilder()
public static InstanceInfo.Builder newBuilder(InstanceId id)
Copyright © 2017 Google. All rights reserved.