public class ModifyVpcAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cidrBlock
The new IPv4 CIDR block of the VPC.
|
String |
description
The new description of the VPC.
|
Boolean |
enableIPv6
Specifies whether to enable IPv6 CIDR blocks.
|
String |
ipv6CidrBlock
The IPv6 CIDR block of the VPC.
|
String |
ipv6Isp
The type of IPv6 CIDR block.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the VPC.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vpcId
The ID of the VPC that you want to modify.
|
String |
vpcName
The new name of the VPC.
|
构造器和说明 |
---|
ModifyVpcAttributeRequest() |
@NameInMap(value="CidrBlock") public String cidrBlock
The new IPv4 CIDR block of the VPC.
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.
example:If you modify the CIDR block of a VPC, your existing services are not affected.
192.168.0.0/24
@NameInMap(value="Description") public String description
The new description of the VPC.
The description must be 1 to 256 characters in length, and cannot start with http://
or https://
.
This is my VPC.
@NameInMap(value="EnableIPv6") public Boolean enableIPv6
Specifies whether to enable IPv6 CIDR blocks. Valid values:
false
@NameInMap(value="Ipv6CidrBlock") public String ipv6CidrBlock
The IPv6 CIDR block of the VPC.
example:2408:XXXX:0:6a::/56
@NameInMap(value="Ipv6Isp") public String ipv6Isp
The type of IPv6 CIDR block. Valid values:
example:If your Alibaba Cloud account is allowed to activate single-ISP bandwidth, you can set this parameter to ChinaTelecom, ChinaUnicom, or ChinaMobile.
BGP
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the VPC.
You can call the DescribeRegions operation to query the most recent region list.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC that you want to modify.
This parameter is required.
example:vpc-bp1qtbach57ywecf****
@NameInMap(value="VpcName") public String vpcName
The new name of the VPC.
The name must be 1 to 128 characters in length and cannot start with http://
or https://
.
Vpc-1
public static ModifyVpcAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyVpcAttributeRequest setCidrBlock(String cidrBlock)
public String getCidrBlock()
public ModifyVpcAttributeRequest setDescription(String description)
public String getDescription()
public ModifyVpcAttributeRequest setEnableIPv6(Boolean enableIPv6)
public Boolean getEnableIPv6()
public ModifyVpcAttributeRequest setIpv6CidrBlock(String ipv6CidrBlock)
public String getIpv6CidrBlock()
public ModifyVpcAttributeRequest setIpv6Isp(String ipv6Isp)
public String getIpv6Isp()
public ModifyVpcAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyVpcAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyVpcAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyVpcAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyVpcAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyVpcAttributeRequest setVpcId(String vpcId)
public String getVpcId()
public ModifyVpcAttributeRequest setVpcName(String vpcName)
public String getVpcName()
Copyright © 2024. All rights reserved.