@@ -577,22 +577,67 @@ public InternetInfo build() {
577577
578578 }
579579
580+ }
581+ public static class VSwitches extends TeaModel {
582+ @ com .aliyun .core .annotation .NameInMap ("vSwitchId" )
583+ private String vSwitchId ;
584+
585+ private VSwitches (Builder builder ) {
586+ this .vSwitchId = builder .vSwitchId ;
587+ }
588+
589+ public static Builder builder () {
590+ return new Builder ();
591+ }
592+
593+ public static VSwitches create () {
594+ return builder ().build ();
595+ }
596+
597+ /**
598+ * @return vSwitchId
599+ */
600+ public String getVSwitchId () {
601+ return this .vSwitchId ;
602+ }
603+
604+ public static final class Builder {
605+ private String vSwitchId ;
606+
607+ /**
608+ * vSwitchId.
609+ */
610+ public Builder vSwitchId (String vSwitchId ) {
611+ this .vSwitchId = vSwitchId ;
612+ return this ;
613+ }
614+
615+ public VSwitches build () {
616+ return new VSwitches (this );
617+ }
618+
619+ }
620+
580621 }
581622 public static class VpcInfo extends TeaModel {
582623 @ com .aliyun .core .annotation .NameInMap ("securityGroupIds" )
583624 private String securityGroupIds ;
584625
585626 @ com .aliyun .core .annotation .NameInMap ("vSwitchId" )
586- @ com . aliyun . core . annotation . Validation ( required = true )
627+ @ Deprecated
587628 private String vSwitchId ;
588629
630+ @ com .aliyun .core .annotation .NameInMap ("vSwitches" )
631+ private java .util .List < VSwitches > vSwitches ;
632+
589633 @ com .aliyun .core .annotation .NameInMap ("vpcId" )
590634 @ com .aliyun .core .annotation .Validation (required = true )
591635 private String vpcId ;
592636
593637 private VpcInfo (Builder builder ) {
594638 this .securityGroupIds = builder .securityGroupIds ;
595639 this .vSwitchId = builder .vSwitchId ;
640+ this .vSwitches = builder .vSwitches ;
596641 this .vpcId = builder .vpcId ;
597642 }
598643
@@ -618,6 +663,13 @@ public String getVSwitchId() {
618663 return this .vSwitchId ;
619664 }
620665
666+ /**
667+ * @return vSwitches
668+ */
669+ public java .util .List < VSwitches > getVSwitches () {
670+ return this .vSwitches ;
671+ }
672+
621673 /**
622674 * @return vpcId
623675 */
@@ -628,6 +680,7 @@ public String getVpcId() {
628680 public static final class Builder {
629681 private String securityGroupIds ;
630682 private String vSwitchId ;
683+ private java .util .List < VSwitches > vSwitches ;
631684 private String vpcId ;
632685
633686 /**
@@ -649,6 +702,14 @@ public Builder vSwitchId(String vSwitchId) {
649702 return this ;
650703 }
651704
705+ /**
706+ * vSwitches.
707+ */
708+ public Builder vSwitches (java .util .List < VSwitches > vSwitches ) {
709+ this .vSwitches = vSwitches ;
710+ return this ;
711+ }
712+
652713 /**
653714 * The ID of the VPC in which you want to deploy the instance.
654715 * <p>
0 commit comments