public static final class CreateVSwitchRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateVSwitchRequest |
build() |
CreateVSwitchRequest.Builder |
cidrBlock(String cidrBlock)
The CIDR block of the vSwitch.
|
CreateVSwitchRequest.Builder |
description(String description)
The description of the vSwitch.
|
CreateVSwitchRequest.Builder |
ensRegionId(String ensRegionId)
The ID of the edge node.
|
CreateVSwitchRequest.Builder |
networkId(String networkId)
The ID of the network to which the vSwitch that you want to create belongs.
|
CreateVSwitchRequest.Builder |
vSwitchName(String vSwitchName)
The name of the vSwitch.
|
public CreateVSwitchRequest.Builder cidrBlock(String cidrBlock)
* The subnet mask must be 16 to 29 bits in length. * The CIDR block of the vSwitch must fall within the CIDR block of the VPC to which the vSwitch belongs. * The CIDR block of the vSwitch cannot be the same as the destination CIDR block in a route entry of the VPC. However, it can be a subset of the destination CIDR block.
public CreateVSwitchRequest.Builder description(String description)
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.
public CreateVSwitchRequest.Builder ensRegionId(String ensRegionId)
public CreateVSwitchRequest.Builder networkId(String networkId)
public CreateVSwitchRequest.Builder vSwitchName(String vSwitchName)
* The name must be 2 to 128 characters in length. * The name must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (\_), and hyphens (-). Default value: null.
public CreateVSwitchRequest build()
Copyright © 2024. All rights reserved.