public class InstanceConfig extends InstanceConfigInfo
InstanceConfig
adds a layer of service related
functionality over InstanceConfigInfo
.Constructor and Description |
---|
InstanceConfig(InstanceConfigId id,
String displayName,
InstanceAdminClient client) |
InstanceConfig(InstanceConfigId id,
String displayName,
List<ReplicaInfo> replicas,
List<String> leaderOptions,
InstanceAdminClient client) |
Modifier and Type | Method and Description |
---|---|
InstanceConfig |
reload()
Gets the current state of this instance config.
|
equals, getDisplayName, getId, getLeaderOptions, getReplicas, hashCode, toString
public InstanceConfig(InstanceConfigId id, String displayName, InstanceAdminClient client)
public InstanceConfig(InstanceConfigId id, String displayName, List<ReplicaInfo> replicas, List<String> leaderOptions, InstanceAdminClient client)
public InstanceConfig reload()
Copyright © 2022 Google LLC. All rights reserved.