public class ModifyVSwitchAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
description
The new description for the vSwitch.
|
Boolean |
enableIPv6
Specifies whether to enable the IPv6 feature for the vSwitch.
|
Integer |
ipv6CidrBlock
The last eight bits of the IPv6 CIDR block of the vSwitch.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where the vSwitch is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vpcIpv6CidrBlock
The IPv6 CIDR block of the VPC to which the vSwitch belongs.
|
String |
vSwitchId
The ID of the vSwitch.
|
String |
vSwitchName
The new name for the vSwitch.
|
构造器和说明 |
---|
ModifyVSwitchAttributeRequest() |
@NameInMap(value="Description") public String description
The new description for the vSwitch.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
This is my vswitch.
@NameInMap(value="EnableIPv6") public Boolean enableIPv6
Specifies whether to enable the IPv6 feature for the vSwitch. Valid values:
false
@NameInMap(value="Ipv6CidrBlock") public Integer ipv6CidrBlock
The last eight bits of the IPv6 CIDR block of the vSwitch. Valid values: 0 to 255.
You can set this parameter only when the IPv6 feature is enabled for the virtual private cloud (VPC) to which the vSwitch belongs.
example:10
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region where the vSwitch is deployed. 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="VSwitchId") public String vSwitchId
The ID of the vSwitch.
This parameter is required.
example:vsw-25nacdfvue4****
@NameInMap(value="VSwitchName") public String vSwitchName
The new name for the vSwitch.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
VSwitch-1
@NameInMap(value="VpcIpv6CidrBlock") public String vpcIpv6CidrBlock
The IPv6 CIDR block of the VPC to which the vSwitch belongs.
You can set this parameter only when the IPv6 feature is enabled for the VPC.
example:2408:XXXX:312:3e00::/56
public static ModifyVSwitchAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyVSwitchAttributeRequest setDescription(String description)
public String getDescription()
public ModifyVSwitchAttributeRequest setEnableIPv6(Boolean enableIPv6)
public Boolean getEnableIPv6()
public ModifyVSwitchAttributeRequest setIpv6CidrBlock(Integer ipv6CidrBlock)
public Integer getIpv6CidrBlock()
public ModifyVSwitchAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyVSwitchAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyVSwitchAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyVSwitchAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyVSwitchAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyVSwitchAttributeRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public ModifyVSwitchAttributeRequest setVSwitchName(String vSwitchName)
public String getVSwitchName()
public ModifyVSwitchAttributeRequest setVpcIpv6CidrBlock(String vpcIpv6CidrBlock)
public String getVpcIpv6CidrBlock()
Copyright © 2024. All rights reserved.