public abstract static class InstanceInfo.Builder extends Object
InstanceInfo
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
abstract InstanceInfo.Builder |
addLabel(String key,
String value) |
abstract InstanceInfo |
build() |
abstract InstanceInfo.Builder |
putAllLabels(Map<String,String> labels) |
abstract InstanceInfo.Builder |
setDisplayName(String displayName) |
abstract InstanceInfo.Builder |
setInstanceConfigId(InstanceConfigId configId) |
abstract InstanceInfo.Builder |
setNodeCount(int nodeCount) |
abstract InstanceInfo.Builder |
setState(InstanceInfo.State state) |
public abstract InstanceInfo.Builder setInstanceConfigId(InstanceConfigId configId)
public abstract InstanceInfo.Builder setDisplayName(String displayName)
public abstract InstanceInfo.Builder setNodeCount(int nodeCount)
public abstract InstanceInfo.Builder setState(InstanceInfo.State state)
public abstract InstanceInfo.Builder addLabel(String key, String value)
public abstract InstanceInfo.Builder putAllLabels(Map<String,String> labels)
public abstract InstanceInfo build()
Copyright © 2020 Google LLC. All rights reserved.