public class NetworkSubnet extends Object
| Constructor and Description |
|---|
NetworkSubnet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getSubnetID()
用于创建控制节点的subnet的IPv4网络ID(暂不支持IPv6)。获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找IPv4子网ID。 - 方法2:通过虚拟私有云服务的查询子网列表接口查询。 [链接请参见[查询子网列表](https://support.huaweicloud.com/api-vpc/vpc_subnet01_0003.html)](tag:hws) [链接请参见[查询子网列表](https://support.huaweicloud.com/intl/zh-cn/api-vpc/vpc_subnet01_0003.html)](tag:hws_hk)
|
int |
hashCode() |
void |
setSubnetID(String subnetID) |
String |
toString() |
NetworkSubnet |
withSubnetID(String subnetID) |
public NetworkSubnet withSubnetID(String subnetID)
public String getSubnetID()
public void setSubnetID(String subnetID)
Copyright © 2022. All rights reserved.