public class Contexts extends Object
| Constructor and Description |
|---|
Contexts() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Context |
getContext()
Get context
|
String |
getName()
上下文的名称。 - 若不存在publicIp(虚拟机弹性IP),则集群列表的集群数量为1,该字段值为“internal”。 - 若存在publicIp,则集群列表的集群数量大于1,所有扩展的context的name的值为“external”。
|
int |
hashCode() |
void |
setContext(Context context) |
void |
setName(String name) |
String |
toString() |
Contexts |
withContext(java.util.function.Consumer<Context> contextSetter) |
Contexts |
withContext(Context context) |
Contexts |
withName(String name) |
public String getName()
public void setName(String name)
public Contexts withContext(java.util.function.Consumer<Context> contextSetter)
public Context getContext()
public void setContext(Context context)
Copyright © 2022. All rights reserved.