public static final class AssociateVpcCidrBlockRequest.Builder extends Object
public AssociateVpcCidrBlockRequest.Builder iPv6CidrBlock(String iPv6CidrBlock)
> You must and can specify only one of **SecondaryCidrBlock** and **Ipv6CidrBlock**.
public AssociateVpcCidrBlockRequest.Builder ipVersion(String ipVersion)
* **IPV4**: the IPv4 address. * **IPV6**: the IPv6 address. If you set **IpVersion** to **IPV6** and do not specify **SecondaryCidrBlock**, you can add a secondary IPv6 CIDR block to the VPC.
public AssociateVpcCidrBlockRequest.Builder ipamPoolId(String ipamPoolId)
public AssociateVpcCidrBlockRequest.Builder ipv6Isp(String ipv6Isp)
* **BGP** (default) * **ChinaMobile** * **ChinaUnicom** * **ChinaTelecom** > If your Alibaba Cloud account is allowed to activate single-ISP bandwidth, you can set this parameter to **ChinaTelecom**, **ChinaUnicom**, or **ChinaMobile**.
public AssociateVpcCidrBlockRequest.Builder ownerAccount(String ownerAccount)
public AssociateVpcCidrBlockRequest.Builder ownerId(Long ownerId)
public AssociateVpcCidrBlockRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the region ID.
public AssociateVpcCidrBlockRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public AssociateVpcCidrBlockRequest.Builder resourceOwnerId(Long resourceOwnerId)
public AssociateVpcCidrBlockRequest.Builder secondaryCidrBlock(String secondaryCidrBlock)
* You can specify one of the following standard IPv4 CIDR blocks or their subnets as the secondary IPv4 CIDR block of the VPC: 192.168.0.0/16, 172.16.0.0/12, and 10.0.0.0/8. * You can also use a custom CIDR block other than 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, 169.254.0.0/16, or their subnets as the secondary IPv4 CIDR block of the VPC. The CIDR block must meet the following requirements: * The CIDR block cannot start with 0. The subnet mask must be 8 to 28 bits in length. * The CIDR block cannot overlap with the primary CIDR block or an existing secondary CIDR block of the VPC. > You must and can specify only one of **SecondaryCidrBlock** and **Ipv6CidrBlock**.
public AssociateVpcCidrBlockRequest.Builder secondaryCidrMask(Integer secondaryCidrMask)
public AssociateVpcCidrBlockRequest.Builder vpcId(String vpcId)
public AssociateVpcCidrBlockRequest build()
Copyright © 2024. All rights reserved.