2323import com .volcengine .vke .model .ApiServerPublicAccessConfigForListClustersOutput ;
2424import io .swagger .v3 .oas .annotations .media .Schema ;
2525import java .io .IOException ;
26+ import java .util .ArrayList ;
27+ import java .util .List ;
2628import javax .validation .constraints .*;
2729import javax .validation .Valid ;
2830/**
3234
3335
3436public class ProxyConfigForListClustersOutput {
37+ @ SerializedName ("AclEnabled" )
38+ private Boolean aclEnabled = null ;
39+
40+ @ SerializedName ("AclIpWhitelist" )
41+ private List <String > aclIpWhitelist = null ;
42+
3543 @ SerializedName ("ApiServerEndpoints" )
3644 private ApiServerEndpointsForListClustersOutput apiServerEndpoints = null ;
3745
@@ -42,11 +50,55 @@ public class ProxyConfigForListClustersOutput {
4250 private Boolean apiServerPublicAccessEnabled = null ;
4351
4452 @ SerializedName ("SubnetIds" )
45- private String subnetIds = null ;
53+ private List < String > subnetIds = null ;
4654
4755 @ SerializedName ("VpcId" )
4856 private String vpcId = null ;
4957
58+ public ProxyConfigForListClustersOutput aclEnabled (Boolean aclEnabled ) {
59+ this .aclEnabled = aclEnabled ;
60+ return this ;
61+ }
62+
63+ /**
64+ * Get aclEnabled
65+ * @return aclEnabled
66+ **/
67+ @ Schema (description = "" )
68+ public Boolean isAclEnabled () {
69+ return aclEnabled ;
70+ }
71+
72+ public void setAclEnabled (Boolean aclEnabled ) {
73+ this .aclEnabled = aclEnabled ;
74+ }
75+
76+ public ProxyConfigForListClustersOutput aclIpWhitelist (List <String > aclIpWhitelist ) {
77+ this .aclIpWhitelist = aclIpWhitelist ;
78+ return this ;
79+ }
80+
81+ public ProxyConfigForListClustersOutput addAclIpWhitelistItem (String aclIpWhitelistItem ) {
82+ if (this .aclIpWhitelist == null ) {
83+ this .aclIpWhitelist = new ArrayList <String >();
84+ }
85+ this .aclIpWhitelist .add (aclIpWhitelistItem );
86+ return this ;
87+ }
88+
89+ /**
90+ * Get aclIpWhitelist
91+ * @return aclIpWhitelist
92+ **/
93+ @ Schema (description = "" )
94+ public List <String > getAclIpWhitelist () {
95+ return aclIpWhitelist ;
96+ }
97+
98+ public void setAclIpWhitelist (List <String > aclIpWhitelist ) {
99+ this .aclIpWhitelist = aclIpWhitelist ;
100+ }
101+
50102 public ProxyConfigForListClustersOutput apiServerEndpoints (ApiServerEndpointsForListClustersOutput apiServerEndpoints ) {
51103 this .apiServerEndpoints = apiServerEndpoints ;
52104 return this ;
@@ -103,21 +155,29 @@ public void setApiServerPublicAccessEnabled(Boolean apiServerPublicAccessEnabled
103155 this .apiServerPublicAccessEnabled = apiServerPublicAccessEnabled ;
104156 }
105157
106- public ProxyConfigForListClustersOutput subnetIds (String subnetIds ) {
158+ public ProxyConfigForListClustersOutput subnetIds (List < String > subnetIds ) {
107159 this .subnetIds = subnetIds ;
108160 return this ;
109161 }
110162
163+ public ProxyConfigForListClustersOutput addSubnetIdsItem (String subnetIdsItem ) {
164+ if (this .subnetIds == null ) {
165+ this .subnetIds = new ArrayList <String >();
166+ }
167+ this .subnetIds .add (subnetIdsItem );
168+ return this ;
169+ }
170+
111171 /**
112172 * Get subnetIds
113173 * @return subnetIds
114174 **/
115175 @ Schema (description = "" )
116- public String getSubnetIds () {
176+ public List < String > getSubnetIds () {
117177 return subnetIds ;
118178 }
119179
120- public void setSubnetIds (String subnetIds ) {
180+ public void setSubnetIds (List < String > subnetIds ) {
121181 this .subnetIds = subnetIds ;
122182 }
123183
@@ -149,7 +209,9 @@ public boolean equals(java.lang.Object o) {
149209 return false ;
150210 }
151211 ProxyConfigForListClustersOutput proxyConfigForListClustersOutput = (ProxyConfigForListClustersOutput ) o ;
152- return Objects .equals (this .apiServerEndpoints , proxyConfigForListClustersOutput .apiServerEndpoints ) &&
212+ return Objects .equals (this .aclEnabled , proxyConfigForListClustersOutput .aclEnabled ) &&
213+ Objects .equals (this .aclIpWhitelist , proxyConfigForListClustersOutput .aclIpWhitelist ) &&
214+ Objects .equals (this .apiServerEndpoints , proxyConfigForListClustersOutput .apiServerEndpoints ) &&
153215 Objects .equals (this .apiServerPublicAccessConfig , proxyConfigForListClustersOutput .apiServerPublicAccessConfig ) &&
154216 Objects .equals (this .apiServerPublicAccessEnabled , proxyConfigForListClustersOutput .apiServerPublicAccessEnabled ) &&
155217 Objects .equals (this .subnetIds , proxyConfigForListClustersOutput .subnetIds ) &&
@@ -158,7 +220,7 @@ public boolean equals(java.lang.Object o) {
158220
159221 @ Override
160222 public int hashCode () {
161- return Objects .hash (apiServerEndpoints , apiServerPublicAccessConfig , apiServerPublicAccessEnabled , subnetIds , vpcId );
223+ return Objects .hash (aclEnabled , aclIpWhitelist , apiServerEndpoints , apiServerPublicAccessConfig , apiServerPublicAccessEnabled , subnetIds , vpcId );
162224 }
163225
164226
@@ -167,6 +229,8 @@ public String toString() {
167229 StringBuilder sb = new StringBuilder ();
168230 sb .append ("class ProxyConfigForListClustersOutput {\n " );
169231
232+ sb .append (" aclEnabled: " ).append (toIndentedString (aclEnabled )).append ("\n " );
233+ sb .append (" aclIpWhitelist: " ).append (toIndentedString (aclIpWhitelist )).append ("\n " );
170234 sb .append (" apiServerEndpoints: " ).append (toIndentedString (apiServerEndpoints )).append ("\n " );
171235 sb .append (" apiServerPublicAccessConfig: " ).append (toIndentedString (apiServerPublicAccessConfig )).append ("\n " );
172236 sb .append (" apiServerPublicAccessEnabled: " ).append (toIndentedString (apiServerPublicAccessEnabled )).append ("\n " );
0 commit comments