@@ -29,11 +29,16 @@ public class UpdateAclRequest extends Request {
29
29
@ com .aliyun .core .annotation .NameInMap ("InstanceId" )
30
30
private String instanceId ;
31
31
32
+ @ com .aliyun .core .annotation .Query
33
+ @ com .aliyun .core .annotation .NameInMap ("NetworkType" )
34
+ private String networkType ;
35
+
32
36
private UpdateAclRequest (Builder builder ) {
33
37
super (builder );
34
38
this .acceptLanguage = builder .acceptLanguage ;
35
39
this .aclEntryList = builder .aclEntryList ;
36
40
this .instanceId = builder .instanceId ;
41
+ this .networkType = builder .networkType ;
37
42
}
38
43
39
44
public static Builder builder () {
@@ -70,10 +75,18 @@ public String getInstanceId() {
70
75
return this .instanceId ;
71
76
}
72
77
78
+ /**
79
+ * @return networkType
80
+ */
81
+ public String getNetworkType () {
82
+ return this .networkType ;
83
+ }
84
+
73
85
public static final class Builder extends Request .Builder <UpdateAclRequest , Builder > {
74
86
private String acceptLanguage ;
75
87
private String aclEntryList ;
76
88
private String instanceId ;
89
+ private String networkType ;
77
90
78
91
private Builder () {
79
92
super ();
@@ -84,6 +97,7 @@ private Builder(UpdateAclRequest request) {
84
97
this .acceptLanguage = request .acceptLanguage ;
85
98
this .aclEntryList = request .aclEntryList ;
86
99
this .instanceId = request .instanceId ;
100
+ this .networkType = request .networkType ;
87
101
}
88
102
89
103
/**
@@ -126,6 +140,15 @@ public Builder instanceId(String instanceId) {
126
140
return this ;
127
141
}
128
142
143
+ /**
144
+ * NetworkType.
145
+ */
146
+ public Builder networkType (String networkType ) {
147
+ this .putQueryParameter ("NetworkType" , networkType );
148
+ this .networkType = networkType ;
149
+ return this ;
150
+ }
151
+
129
152
@ Override
130
153
public UpdateAclRequest build () {
131
154
return new UpdateAclRequest (this );
0 commit comments