public class NodePublicIP extends Object
| Constructor and Description |
|---|
NodePublicIP() |
| Modifier and Type | Method and Description |
|---|---|
NodePublicIP |
addIdsItem(String idsItem) |
boolean |
equals(Object o) |
Integer |
getCount()
要动态创建的弹性IP个数。 > count参数与eip参数必须同时配置。
|
NodeEIPSpec |
getEip()
Get eip
|
List<String> |
getIds()
已有的弹性IP的ID列表。数量不得大于待创建节点数 > 若已配置ids参数,则无需配置count和eip参数
|
int |
hashCode() |
void |
setCount(Integer count) |
void |
setEip(NodeEIPSpec eip) |
void |
setIds(List<String> ids) |
String |
toString() |
NodePublicIP |
withCount(Integer count) |
NodePublicIP |
withEip(java.util.function.Consumer<NodeEIPSpec> eipSetter) |
NodePublicIP |
withEip(NodeEIPSpec eip) |
NodePublicIP |
withIds(java.util.function.Consumer<List<String>> idsSetter) |
NodePublicIP |
withIds(List<String> ids) |
public NodePublicIP withIds(List<String> ids)
public NodePublicIP addIdsItem(String idsItem)
public NodePublicIP withIds(java.util.function.Consumer<List<String>> idsSetter)
public List<String> getIds()
public NodePublicIP withCount(Integer count)
public Integer getCount()
public void setCount(Integer count)
public NodePublicIP withEip(NodeEIPSpec eip)
public NodePublicIP withEip(java.util.function.Consumer<NodeEIPSpec> eipSetter)
public NodeEIPSpec getEip()
public void setEip(NodeEIPSpec eip)
Copyright © 2022. All rights reserved.