public static final class ModifyVpcAttributeRequest.Builder extends Object
public ModifyVpcAttributeRequest.Builder cidrBlock(String cidrBlock)
You can specify a larger or smaller IPv4 CIDR block than the IPv4 CIDR block of the VPC. The subnet mask must be 8 to 28 bits in length. If you specify a smaller IPv4 CIDR block and existing IP addresses do not fall within the CIDR block, the modification fails. > If you modify the CIDR block of a VPC, your existing services are not affected.
public ModifyVpcAttributeRequest.Builder description(String description)
The description must be 1 to 256 characters in length, and cannot start with `http://` or `https://`.
public ModifyVpcAttributeRequest.Builder enableIPv6(Boolean enableIPv6)
* **true** * **false** (default)
public ModifyVpcAttributeRequest.Builder ipv6CidrBlock(String ipv6CidrBlock)
public ModifyVpcAttributeRequest.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 ModifyVpcAttributeRequest.Builder ownerAccount(String ownerAccount)
public ModifyVpcAttributeRequest.Builder ownerId(Long ownerId)
public ModifyVpcAttributeRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public ModifyVpcAttributeRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyVpcAttributeRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyVpcAttributeRequest.Builder vpcId(String vpcId)
public ModifyVpcAttributeRequest.Builder vpcName(String vpcName)
The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`.
public ModifyVpcAttributeRequest build()
Copyright © 2024. All rights reserved.