public class AddPublicIpAddressPoolCidrBlockRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cidrBlock
The CIDR block.
|
Integer |
cidrMask
The subnet mask of the CIDR block.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform a dry run, without performing the actual request.
|
String |
ownerAccount |
Long |
ownerId |
String |
publicIpAddressPoolId
The ID of the IP address pool.
|
String |
regionId
The region ID of the IP address pool to which you want to add the CIDR block.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
AddPublicIpAddressPoolCidrBlockRequest() |
@NameInMap(value="CidrBlock") public String cidrBlock
The CIDR block.
example:You can specify only one of CidrBlock and CidrMask.
47.0.XX.XX/24
@NameInMap(value="CidrMask") public Integer cidrMask
The subnet mask of the CIDR block. After you enter the subnet mask, the system automatically allocates IP addresses.
Valid values: 24 to 28.
example:You can specify only one of CidrBlock and CidrMask.
24
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
02fb3da4-130e-11****
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run, without performing the actual request. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PublicIpAddressPoolId") public String publicIpAddressPoolId
The ID of the IP address pool.
This parameter is required.
example:pippool-6wetvn6fumkgycssx****
@NameInMap(value="RegionId") public String regionId
The region ID of the IP address pool to which you want to add the CIDR block.
This parameter is required.
example:cn-chengdu
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static AddPublicIpAddressPoolCidrBlockRequest build(Map<String,?> map) throws Exception
Exception
public AddPublicIpAddressPoolCidrBlockRequest setCidrBlock(String cidrBlock)
public String getCidrBlock()
public AddPublicIpAddressPoolCidrBlockRequest setCidrMask(Integer cidrMask)
public Integer getCidrMask()
public AddPublicIpAddressPoolCidrBlockRequest setClientToken(String clientToken)
public String getClientToken()
public AddPublicIpAddressPoolCidrBlockRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AddPublicIpAddressPoolCidrBlockRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AddPublicIpAddressPoolCidrBlockRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AddPublicIpAddressPoolCidrBlockRequest setPublicIpAddressPoolId(String publicIpAddressPoolId)
public String getPublicIpAddressPoolId()
public AddPublicIpAddressPoolCidrBlockRequest setRegionId(String regionId)
public String getRegionId()
public AddPublicIpAddressPoolCidrBlockRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AddPublicIpAddressPoolCidrBlockRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.