@@ -28,8 +28,12 @@ public class AttachInstancesRequest extends RpcAcsRequest<AttachInstancesRespons
28
28
29
29
private Long resourceOwnerId ;
30
30
31
+ private String clientToken ;
32
+
31
33
private String scalingGroupId ;
32
34
35
+ private Boolean ignoreInvalidInstance ;
36
+
33
37
private String resourceOwnerAccount ;
34
38
35
39
private String ownerAccount ;
@@ -40,7 +44,9 @@ public class AttachInstancesRequest extends RpcAcsRequest<AttachInstancesRespons
40
44
41
45
private List <String > instanceIds ;
42
46
43
- private List <Integer > loadBalancerWeights ;
47
+ private List <Integer > loadBalancerWeights ;
48
+
49
+ private Boolean lifecycleHook ;
44
50
public AttachInstancesRequest () {
45
51
super ("Ess" , "2014-08-28" , "AttachInstances" , "ess" );
46
52
setMethod (MethodType .POST );
@@ -61,6 +67,17 @@ public void setResourceOwnerId(Long resourceOwnerId) {
61
67
}
62
68
}
63
69
70
+ public String getClientToken () {
71
+ return this .clientToken ;
72
+ }
73
+
74
+ public void setClientToken (String clientToken ) {
75
+ this .clientToken = clientToken ;
76
+ if (clientToken != null ){
77
+ putQueryParameter ("ClientToken" , clientToken );
78
+ }
79
+ }
80
+
64
81
public String getScalingGroupId () {
65
82
return this .scalingGroupId ;
66
83
}
@@ -72,6 +89,17 @@ public void setScalingGroupId(String scalingGroupId) {
72
89
}
73
90
}
74
91
92
+ public Boolean getIgnoreInvalidInstance () {
93
+ return this .ignoreInvalidInstance ;
94
+ }
95
+
96
+ public void setIgnoreInvalidInstance (Boolean ignoreInvalidInstance ) {
97
+ this .ignoreInvalidInstance = ignoreInvalidInstance ;
98
+ if (ignoreInvalidInstance != null ){
99
+ putQueryParameter ("IgnoreInvalidInstance" , ignoreInvalidInstance .toString ());
100
+ }
101
+ }
102
+
75
103
public String getResourceOwnerAccount () {
76
104
return this .resourceOwnerAccount ;
77
105
}
@@ -140,6 +168,17 @@ public void setLoadBalancerWeights(List<Integer> loadBalancerWeights) {
140
168
putQueryParameter ("LoadBalancerWeight." + (i + 1 ) , loadBalancerWeights .get (i ));
141
169
}
142
170
}
171
+ }
172
+
173
+ public Boolean getLifecycleHook () {
174
+ return this .lifecycleHook ;
175
+ }
176
+
177
+ public void setLifecycleHook (Boolean lifecycleHook ) {
178
+ this .lifecycleHook = lifecycleHook ;
179
+ if (lifecycleHook != null ){
180
+ putQueryParameter ("LifecycleHook" , lifecycleHook .toString ());
181
+ }
143
182
}
144
183
145
184
@ Override
0 commit comments