GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 6ae909...69d36b )
by
unknown
06:29
created

ListMetaDataSourceClusterForOuter::withDataSourceId()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
c 0
b 0
f 0
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\Emr\V20160408;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddClusterService addClusterService(array $options = [])
9
 * @method AddScalingConfigItemV2 addScalingConfigItemV2(array $options = [])
10
 * @method AuthorizeSecurityGroup authorizeSecurityGroup(array $options = [])
11
 * @method CancelOrder cancelOrder(array $options = [])
12
 * @method CloneFlow cloneFlow(array $options = [])
13
 * @method CloneFlowJob cloneFlowJob(array $options = [])
14
 * @method CreateBackup createBackup(array $options = [])
15
 * @method CreateBackupPlan createBackupPlan(array $options = [])
16
 * @method CreateClusterBootstrapAction createClusterBootstrapAction(array $options = [])
17
 * @method CreateClusterHostGroup createClusterHostGroup(array $options = [])
18
 * @method CreateClusterTemplate createClusterTemplate(array $options = [])
19
 * @method CreateClusterV2 createClusterV2(array $options = [])
20
 * @method CreateClusterWithTemplate createClusterWithTemplate(array $options = [])
21
 * @method CreateDataSource createDataSource(array $options = [])
22
 * @method CreateExecutionPlan createExecutionPlan(array $options = [])
23
 * @method CreateFlow createFlow(array $options = [])
24
 * @method CreateFlowCategory createFlowCategory(array $options = [])
25
 * @method CreateFlowForWeb createFlowForWeb(array $options = [])
26
 * @method CreateFlowJob createFlowJob(array $options = [])
27
 * @method CreateFlowProject createFlowProject(array $options = [])
28
 * @method CreateFlowProjectClusterSetting createFlowProjectClusterSetting(array $options = [])
29
 * @method CreateFlowProjectUser createFlowProjectUser(array $options = [])
30
 * @method CreateJob createJob(array $options = [])
31
 * @method CreateLibrary createLibrary(array $options = [])
32
 * @method CreateMetaTablePreviewTask createMetaTablePreviewTask(array $options = [])
33
 * @method CreateResourcePool createResourcePool(array $options = [])
34
 * @method CreateResourceQueue createResourceQueue(array $options = [])
35
 * @method CreateScalingGroupV2 createScalingGroupV2(array $options = [])
36
 * @method CreateScalingRule createScalingRule(array $options = [])
37
 * @method CreateTag createTag(array $options = [])
38
 * @method CreateUser createUser(array $options = [])
39
 * @method CreateUsers createUsers(array $options = [])
40
 * @method DecommissionHostComponent decommissionHostComponent(array $options = [])
41
 * @method DeleteClusterTemplate deleteClusterTemplate(array $options = [])
42
 * @method DeleteExecutionPlan deleteExecutionPlan(array $options = [])
43
 * @method DeleteFlow deleteFlow(array $options = [])
44
 * @method DeleteFlowCategory deleteFlowCategory(array $options = [])
45
 * @method DeleteFlowJob deleteFlowJob(array $options = [])
46
 * @method DeleteFlowProject deleteFlowProject(array $options = [])
47
 * @method DeleteFlowProjectClusterSetting deleteFlowProjectClusterSetting(array $options = [])
48
 * @method DeleteFlowProjectUser deleteFlowProjectUser(array $options = [])
49
 * @method DeleteJob deleteJob(array $options = [])
50
 * @method DeleteLibraries deleteLibraries(array $options = [])
51
 * @method DeleteResourcePool deleteResourcePool(array $options = [])
52
 * @method DeleteResourceQueue deleteResourceQueue(array $options = [])
53
 * @method DeleteScalingRule deleteScalingRule(array $options = [])
54
 * @method DeleteTag deleteTag(array $options = [])
55
 * @method DeleteUser deleteUser(array $options = [])
56
 * @method DescribeClusterBasicInfo describeClusterBasicInfo(array $options = [])
57
 * @method DescribeClusterMetaCollect describeClusterMetaCollect(array $options = [])
58
 * @method DescribeClusterOperationHostTaskLog describeClusterOperationHostTaskLog(array $options = [])
59
 * @method DescribeClusterResourcePoolSchedulerType describeClusterResourcePoolSchedulerType(array $options = [])
60
 * @method DescribeClusterService describeClusterService(array $options = [])
61
 * @method DescribeClusterServiceConfig describeClusterServiceConfig(array $options = [])
62
 * @method DescribeClusterServiceConfigHistory describeClusterServiceConfigHistory(array $options = [])
63
 * @method DescribeClusterServiceConfigTag describeClusterServiceConfigTag(array $options = [])
64
 * @method DescribeClusterTemplate describeClusterTemplate(array $options = [])
65
 * @method DescribeClusterV2 describeClusterV2(array $options = [])
66
 * @method DescribeDataSource describeDataSource(array $options = [])
67
 * @method DescribeDiskOpsActivity describeDiskOpsActivity(array $options = [])
68
 * @method DescribeEmrMainVersion describeEmrMainVersion(array $options = [])
69
 * @method DescribeExecutionPlan describeExecutionPlan(array $options = [])
70
 * @method DescribeFlow describeFlow(array $options = [])
71
 * @method DescribeFlowCategory describeFlowCategory(array $options = [])
72
 * @method DescribeFlowCategoryTree describeFlowCategoryTree(array $options = [])
73
 * @method DescribeFlowInstance describeFlowInstance(array $options = [])
74
 * @method DescribeFlowJob describeFlowJob(array $options = [])
75
 * @method DescribeFlowNodeInstance describeFlowNodeInstance(array $options = [])
76
 * @method DescribeFlowNodeInstanceContainerLog describeFlowNodeInstanceContainerLog(array $options = [])
77
 * @method DescribeFlowNodeInstanceLauncherLog describeFlowNodeInstanceLauncherLog(array $options = [])
78
 * @method DescribeFlowProject describeFlowProject(array $options = [])
79
 * @method DescribeFlowProjectClusterSetting describeFlowProjectClusterSetting(array $options = [])
80
 * @method DescribeJob describeJob(array $options = [])
81
 * @method DescribeLibraryDetail describeLibraryDetail(array $options = [])
82
 * @method DescribeLibraryInstallTaskDetail describeLibraryInstallTaskDetail(array $options = [])
83
 * @method DescribeMetaTablePreviewTask describeMetaTablePreviewTask(array $options = [])
84
 * @method DescribeScalingActivity describeScalingActivity(array $options = [])
85
 * @method DescribeScalingCommonConfig describeScalingCommonConfig(array $options = [])
86
 * @method DescribeScalingConfigItemV2 describeScalingConfigItemV2(array $options = [])
87
 * @method DescribeScalingGroupInstanceV2 describeScalingGroupInstanceV2(array $options = [])
88
 * @method DescribeScalingGroupV2 describeScalingGroupV2(array $options = [])
89
 * @method DescribeScalingRule describeScalingRule(array $options = [])
90
 * @method DescribeSecurityGroupAttribute describeSecurityGroupAttribute(array $options = [])
91
 * @method DetachAndReleaseClusterEni detachAndReleaseClusterEni(array $options = [])
92
 * @method GetHdfsCapacityStatisticInfo getHdfsCapacityStatisticInfo(array $options = [])
93
 * @method GetJobInputStatisticInfo getJobInputStatisticInfo(array $options = [])
94
 * @method GetJobOutputStatisticInfo getJobOutputStatisticInfo(array $options = [])
95
 * @method GetJobRunningTimeStatisticInfo getJobRunningTimeStatisticInfo(array $options = [])
96
 * @method GetQueueInputStatisticInfo getQueueInputStatisticInfo(array $options = [])
97
 * @method GetQueueOutputStatisticInfo getQueueOutputStatisticInfo(array $options = [])
98
 * @method GetQueueSubmissionStatisticInfo getQueueSubmissionStatisticInfo(array $options = [])
99
 * @method GetUserInputStatisticInfo getUserInputStatisticInfo(array $options = [])
100
 * @method GetUserOutputStatisticInfo getUserOutputStatisticInfo(array $options = [])
101
 * @method GetUserSubmissionStatisticInfo getUserSubmissionStatisticInfo(array $options = [])
102
 * @method InstallLibraries installLibraries(array $options = [])
103
 * @method JoinResourceGroup joinResourceGroup(array $options = [])
104
 * @method KillFlowJob killFlowJob(array $options = [])
105
 * @method ListAdviceAction listAdviceAction(array $options = [])
106
 * @method ListApmApplication listApmApplication(array $options = [])
107
 * @method ListBackups listBackups(array $options = [])
108
 * @method ListClusterHost listClusterHost(array $options = [])
109
 * @method ListClusterHostComponent listClusterHostComponent(array $options = [])
110
 * @method ListClusterHostGroup listClusterHostGroup(array $options = [])
111
 * @method ListClusterInstalledService listClusterInstalledService(array $options = [])
112
 * @method ListClusterOperation listClusterOperation(array $options = [])
113
 * @method ListClusterOperationHost listClusterOperationHost(array $options = [])
114
 * @method ListClusterOperationHostTask listClusterOperationHostTask(array $options = [])
115
 * @method ListClusterOperationTask listClusterOperationTask(array $options = [])
116
 * @method ListClusters listClusters(array $options = [])
117
 * @method ListClusterService listClusterService(array $options = [])
118
 * @method ListClusterServiceComponent listClusterServiceComponent(array $options = [])
119
 * @method ListClusterServiceComponentHealthInfo listClusterServiceComponentHealthInfo(array $options = [])
120
 * @method ListClusterServiceConfigHistory listClusterServiceConfigHistory(array $options = [])
121
 * @method ListClusterServiceQuickLink listClusterServiceQuickLink(array $options = [])
122
 * @method ListClusterTemplates listClusterTemplates(array $options = [])
123
 * @method ListDataSource listDataSource(array $options = [])
124
 * @method ListDiskOpsEvents listDiskOpsEvents(array $options = [])
125
 * @method ListEmrAvailableConfig listEmrAvailableConfig(array $options = [])
126
 * @method ListEmrAvailableResource listEmrAvailableResource(array $options = [])
127
 * @method ListEmrMainVersion listEmrMainVersion(array $options = [])
128
 * @method ListExecutionPlanInstances listExecutionPlanInstances(array $options = [])
129
 * @method ListFlow listFlow(array $options = [])
130
 * @method ListFlowCategory listFlowCategory(array $options = [])
131
 * @method ListFlowCluster listFlowCluster(array $options = [])
132
 * @method ListFlowClusterAll listFlowClusterAll(array $options = [])
133
 * @method ListFlowClusterAllHosts listFlowClusterAllHosts(array $options = [])
134
 * @method ListFlowClusterHost listFlowClusterHost(array $options = [])
135
 * @method ListFlowInstance listFlowInstance(array $options = [])
136
 * @method ListFlowJob listFlowJob(array $options = [])
137
 * @method ListFlowJobHistory listFlowJobHistory(array $options = [])
138
 * @method ListFlowNodeInstance listFlowNodeInstance(array $options = [])
139
 * @method ListFlowNodeInstanceContainerStatus listFlowNodeInstanceContainerStatus(array $options = [])
140
 * @method ListFlowNodeSqlResult listFlowNodeSqlResult(array $options = [])
141
 * @method ListFlowProject listFlowProject(array $options = [])
142
 * @method ListFlowProjectClusterSetting listFlowProjectClusterSetting(array $options = [])
143
 * @method ListFlowProjectUser listFlowProjectUser(array $options = [])
144
 * @method ListJobExecutionInstances listJobExecutionInstances(array $options = [])
145
 * @method ListJobs listJobs(array $options = [])
146
 * @method ListLibraries listLibraries(array $options = [])
147
 * @method ListLibraryInstallTasks listLibraryInstallTasks(array $options = [])
148
 * @method ListLibraryStatus listLibraryStatus(array $options = [])
149
 * @method ListLocalDiskComponentInfo listLocalDiskComponentInfo(array $options = [])
150
 * @method ListResourcePool listResourcePool(array $options = [])
151
 * @method ListRoles listRoles(array $options = [])
152
 * @method ListScalingActivityV2 listScalingActivityV2(array $options = [])
153
 * @method ListScalingConfigItemV2 listScalingConfigItemV2(array $options = [])
154
 * @method ListScalingGroupV2 listScalingGroupV2(array $options = [])
155
 * @method ListSecurityGroup listSecurityGroup(array $options = [])
156
 * @method ListStack listStack(array $options = [])
157
 * @method ListTagKeys listTagKeys(array $options = [])
158
 * @method ListTagResources listTagResources(array $options = [])
159
 * @method ListTagValues listTagValues(array $options = [])
160
 * @method ListUsers listUsers(array $options = [])
161
 * @method ListVswitch listVswitch(array $options = [])
162
 * @method ModifyClusterBootstrapAction modifyClusterBootstrapAction(array $options = [])
163
 * @method ModifyClusterHostGroup modifyClusterHostGroup(array $options = [])
164
 * @method ModifyClusterMetaCollect modifyClusterMetaCollect(array $options = [])
165
 * @method ModifyClusterName modifyClusterName(array $options = [])
166
 * @method ModifyClusterSecurityGroupRule modifyClusterSecurityGroupRule(array $options = [])
167
 * @method ModifyClusterServiceConfig modifyClusterServiceConfig(array $options = [])
168
 * @method ModifyClusterTemplate modifyClusterTemplate(array $options = [])
169
 * @method ModifyExecutionPlan modifyExecutionPlan(array $options = [])
170
 * @method ModifyFlow modifyFlow(array $options = [])
171
 * @method ModifyFlowCategory modifyFlowCategory(array $options = [])
172
 * @method ModifyFlowForWeb modifyFlowForWeb(array $options = [])
173
 * @method ModifyFlowJob modifyFlowJob(array $options = [])
174
 * @method ModifyFlowProject modifyFlowProject(array $options = [])
175
 * @method ModifyFlowProjectClusterSetting modifyFlowProjectClusterSetting(array $options = [])
176
 * @method ModifyJob modifyJob(array $options = [])
177
 * @method ModifyResourcePool modifyResourcePool(array $options = [])
178
 * @method ModifyResourcePoolSchedulerType modifyResourcePoolSchedulerType(array $options = [])
179
 * @method ModifyResourceQueue modifyResourceQueue(array $options = [])
180
 * @method ModifyScalingConfigItemV2 modifyScalingConfigItemV2(array $options = [])
181
 * @method ModifyScalingGroupV2 modifyScalingGroupV2(array $options = [])
182
 * @method ModifyScalingRule modifyScalingRule(array $options = [])
183
 * @method ModifyScalingTaskGroup modifyScalingTaskGroup(array $options = [])
184
 * @method QueryEntity queryEntity(array $options = [])
185
 * @method QueryTag queryTag(array $options = [])
186
 * @method RefreshClusterResourcePool refreshClusterResourcePool(array $options = [])
187
 * @method ReleaseCluster releaseCluster(array $options = [])
188
 * @method ReleaseClusterHostGroup releaseClusterHostGroup(array $options = [])
189
 * @method RemoveScalingConfigItemV2 removeScalingConfigItemV2(array $options = [])
190
 * @method RerunFlow rerunFlow(array $options = [])
191
 * @method ResizeClusterV2 resizeClusterV2(array $options = [])
192
 * @method ResumeExecutionPlanScheduler resumeExecutionPlanScheduler(array $options = [])
193
 * @method ResumeFlow resumeFlow(array $options = [])
194
 * @method RetryOperation retryOperation(array $options = [])
195
 * @method RunClusterServiceAction runClusterServiceAction(array $options = [])
196
 * @method RunDiskOpsActivity runDiskOpsActivity(array $options = [])
197
 * @method RunExecutionPlan runExecutionPlan(array $options = [])
198
 * @method RunScalingActionV2 runScalingActionV2(array $options = [])
199
 * @method SearchLog searchLog(array $options = [])
200
 * @method StartFlow startFlow(array $options = [])
201
 * @method SubmitFlow submitFlow(array $options = [])
202
 * @method SubmitFlowJob submitFlowJob(array $options = [])
203
 * @method SuspendExecutionPlanScheduler suspendExecutionPlanScheduler(array $options = [])
204
 * @method SuspendFlow suspendFlow(array $options = [])
205
 * @method TagResources tagResources(array $options = [])
206
 * @method UninstallLibraries uninstallLibraries(array $options = [])
207
 * @method UntagResources untagResources(array $options = [])
208
 * @method UpdateDataSource updateDataSource(array $options = [])
209
 * @method UpdateLibraryInstallTaskStatus updateLibraryInstallTaskStatus(array $options = [])
210
 * @method UpdateTag updateTag(array $options = [])
211
 * @method UpdateUser updateUser(array $options = [])
212
 */
213
class EmrApiResolver extends ApiResolver
214
{
215
}
216
217
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
218
{
219
    /** @var string */
220
    public $product = 'Emr';
221
222
    /** @var string */
223
    public $version = '2016-04-08';
224
225
    /** @var string */
226
    public $method = 'POST';
227
228
    /** @var string */
229
    public $serviceCode = 'emr';
230
}
231
232
/**
233
 * @method string getResourceOwnerId()
234
 * @method $this withResourceOwnerId($value)
235
 * @method string getClusterId()
236
 * @method $this withClusterId($value)
237
 * @method array getService()
238
 * @method string getComment()
239
 * @method $this withComment($value)
240
 */
241
class AddClusterService extends Rpc
242
{
243
244
    /**
245
     * @param array $service
246
     *
247
     * @return $this
248
     */
249
	public function withService(array $service)
250
	{
251
	    $this->data['Service'] = $service;
252
		foreach ($service as $depth1 => $depth1Value) {
253
			if(isset($depth1Value['ServiceVersion'])){
254
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
255
			}
256
			if(isset($depth1Value['ServiceName'])){
257
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
258
			}
259
		}
260
261
		return $this;
262
    }
263
}
264
265
/**
266
 * @method string getConfigItemType()
267
 * @method $this withConfigItemType($value)
268
 * @method string getResourceOwnerId()
269
 * @method $this withResourceOwnerId($value)
270
 * @method string getScalingGroupBizId()
271
 * @method $this withScalingGroupBizId($value)
272
 * @method string getResourceGroupId()
273
 * @method $this withResourceGroupId($value)
274
 * @method string getConfigItemInformation()
275
 * @method $this withConfigItemInformation($value)
276
 */
277
class AddScalingConfigItemV2 extends Rpc
278
{
279
}
280
281
/**
282
 * @method string getResourceOwnerId()
283
 * @method $this withResourceOwnerId($value)
284
 * @method string getClusterId()
285
 * @method $this withClusterId($value)
286
 * @method string getBizType()
287
 * @method $this withBizType($value)
288
 * @method string getBizContent()
289
 * @method $this withBizContent($value)
290
 */
291
class AuthorizeSecurityGroup extends Rpc
292
{
293
}
294
295
/**
296
 * @method string getResourceOwnerId()
297
 * @method $this withResourceOwnerId($value)
298
 * @method string getClusterId()
299
 * @method $this withClusterId($value)
300
 */
301
class CancelOrder extends Rpc
302
{
303
}
304
305
/**
306
 * @method string getId()
307
 * @method $this withId($value)
308
 * @method string getProjectId()
309
 * @method $this withProjectId($value)
310
 */
311
class CloneFlow extends Rpc
312
{
313
}
314
315
/**
316
 * @method string getName()
317
 * @method $this withName($value)
318
 * @method string getId()
319
 * @method $this withId($value)
320
 * @method string getProjectId()
321
 * @method $this withProjectId($value)
322
 */
323
class CloneFlowJob extends Rpc
324
{
325
}
326
327
/**
328
 * @method string getResourceOwnerId()
329
 * @method $this withResourceOwnerId($value)
330
 * @method string getBackupPlanId()
331
 * @method $this withBackupPlanId($value)
332
 * @method string getMetadataType()
333
 * @method $this withMetadataType($value)
334
 */
335
class CreateBackup extends Rpc
336
{
337
}
338
339
/**
340
 * @method string getResourceOwnerId()
341
 * @method $this withResourceOwnerId($value)
342
 * @method string getDescription()
343
 * @method $this withDescription($value)
344
 * @method string getClusterId()
345
 * @method $this withClusterId($value)
346
 * @method string getName()
347
 * @method $this withName($value)
348
 * @method string getRootPath()
349
 * @method $this withRootPath($value)
350
 */
351
class CreateBackupPlan extends Rpc
352
{
353
}
354
355
/**
356
 * @method string getResourceOwnerId()
357
 * @method $this withResourceOwnerId($value)
358
 * @method string getClusterId()
359
 * @method $this withClusterId($value)
360
 * @method array getBootstrapAction()
361
 */
362
class CreateClusterBootstrapAction extends Rpc
363
{
364
365
    /**
366
     * @param array $bootstrapAction
367
     *
368
     * @return $this
369
     */
370
	public function withBootstrapAction(array $bootstrapAction)
371
	{
372
	    $this->data['BootstrapAction'] = $bootstrapAction;
373
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
374
			if(isset($depth1Value['Path'])){
375
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
376
			}
377
			if(isset($depth1Value['ExecutionTarget'])){
378
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
379
			}
380
			if(isset($depth1Value['ExecutionMoment'])){
381
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
382
			}
383
			if(isset($depth1Value['Arg'])){
384
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
385
			}
386
			if(isset($depth1Value['Name'])){
387
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
388
			}
389
			if(isset($depth1Value['ExecutionFailStrategy'])){
390
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
391
			}
392
		}
393
394
		return $this;
395
    }
396
}
397
398
/**
399
 * @method string getResourceOwnerId()
400
 * @method $this withResourceOwnerId($value)
401
 * @method string getHostGroupParams()
402
 * @method $this withHostGroupParams($value)
403
 * @method string getSecurityGroupId()
404
 * @method $this withSecurityGroupId($value)
405
 * @method string getHostGroupName()
406
 * @method $this withHostGroupName($value)
407
 * @method string getClusterId()
408
 * @method $this withClusterId($value)
409
 * @method string getVswitchId()
410
 * @method $this withVswitchId($value)
411
 * @method string getComment()
412
 * @method $this withComment($value)
413
 * @method string getPayType()
414
 * @method $this withPayType($value)
415
 * @method string getHostGroupType()
416
 * @method $this withHostGroupType($value)
417
 */
418
class CreateClusterHostGroup extends Rpc
419
{
420
}
421
422
/**
423
 * @method string getResourceOwnerId()
424
 * @method $this withResourceOwnerId($value)
425
 * @method string getLogPath()
426
 * @method $this withLogPath($value)
427
 * @method string getMasterPwd()
428
 * @method $this withMasterPwd($value)
429
 * @method string getConfigurations()
430
 * @method $this withConfigurations($value)
431
 * @method string getSshEnable()
432
 * @method $this withSshEnable($value)
433
 * @method string getKeyPairName()
434
 * @method $this withKeyPairName($value)
435
 * @method string getMetaStoreType()
436
 * @method $this withMetaStoreType($value)
437
 * @method string getSecurityGroupName()
438
 * @method $this withSecurityGroupName($value)
439
 * @method string getMachineType()
440
 * @method $this withMachineType($value)
441
 * @method string getResourceGroupId()
442
 * @method $this withResourceGroupId($value)
443
 * @method array getBootstrapAction()
444
 * @method string getMetaStoreConf()
445
 * @method $this withMetaStoreConf($value)
446
 * @method string getEmrVer()
447
 * @method $this withEmrVer($value)
448
 * @method array getTag()
449
 * @method string getIsOpenPublicIp()
450
 * @method $this withIsOpenPublicIp($value)
451
 * @method string getPeriod()
452
 * @method $this withPeriod($value)
453
 * @method string getInstanceGeneration()
454
 * @method $this withInstanceGeneration($value)
455
 * @method string getVSwitchId()
456
 * @method $this withVSwitchId($value)
457
 * @method string getClusterType()
458
 * @method $this withClusterType($value)
459
 * @method string getAutoRenew()
460
 * @method $this withAutoRenew($value)
461
 * @method array getOptionSoftWareList()
462
 * @method string getNetType()
463
 * @method $this withNetType($value)
464
 * @method string getZoneId()
465
 * @method $this withZoneId($value)
466
 * @method string getUseCustomHiveMetaDb()
467
 * @method $this withUseCustomHiveMetaDb($value)
468
 * @method string getInitCustomHiveMetaDb()
469
 * @method $this withInitCustomHiveMetaDb($value)
470
 * @method string getClientToken()
471
 * @method $this withClientToken($value)
472
 * @method string getIoOptimized()
473
 * @method $this withIoOptimized($value)
474
 * @method string getSecurityGroupId()
475
 * @method $this withSecurityGroupId($value)
476
 * @method string getEasEnable()
477
 * @method $this withEasEnable($value)
478
 * @method string getDepositType()
479
 * @method $this withDepositType($value)
480
 * @method string getUseLocalMetaDb()
481
 * @method $this withUseLocalMetaDb($value)
482
 * @method string getTemplateName()
483
 * @method $this withTemplateName($value)
484
 * @method string getUserDefinedEmrEcsRole()
485
 * @method $this withUserDefinedEmrEcsRole($value)
486
 * @method string getVpcId()
487
 * @method $this withVpcId($value)
488
 * @method array getHostGroup()
489
 * @method array getConfig()
490
 * @method string getHighAvailabilityEnable()
491
 * @method $this withHighAvailabilityEnable($value)
492
 */
493
class CreateClusterTemplate extends Rpc
494
{
495
496
    /**
497
     * @param array $bootstrapAction
498
     *
499
     * @return $this
500
     */
501
	public function withBootstrapAction(array $bootstrapAction)
502
	{
503
	    $this->data['BootstrapAction'] = $bootstrapAction;
504
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
505
			if(isset($depth1Value['Path'])){
506
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
507
			}
508
			if(isset($depth1Value['ExecutionTarget'])){
509
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
510
			}
511
			if(isset($depth1Value['ExecutionMoment'])){
512
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
513
			}
514
			if(isset($depth1Value['Arg'])){
515
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
516
			}
517
			if(isset($depth1Value['Name'])){
518
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
519
			}
520
			if(isset($depth1Value['ExecutionFailStrategy'])){
521
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
522
			}
523
		}
524
525
		return $this;
526
    }
527
528
    /**
529
     * @param array $tag
530
     *
531
     * @return $this
532
     */
533
	public function withTag(array $tag)
534
	{
535
	    $this->data['Tag'] = $tag;
536
		foreach ($tag as $depth1 => $depth1Value) {
537
			if(isset($depth1Value['Value'])){
538
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
539
			}
540
			if(isset($depth1Value['Key'])){
541
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
542
			}
543
		}
544
545
		return $this;
546
    }
547
548
    /**
549
     * @param array $optionSoftWareList
550
     *
551
     * @return $this
552
     */
553
	public function withOptionSoftWareList(array $optionSoftWareList)
554
	{
555
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
556
		foreach ($optionSoftWareList as $i => $iValue) {
557
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
558
		}
559
560
		return $this;
561
    }
562
563
    /**
564
     * @param array $hostGroup
565
     *
566
     * @return $this
567
     */
568
	public function withHostGroup(array $hostGroup)
569
	{
570
	    $this->data['HostGroup'] = $hostGroup;
571
		foreach ($hostGroup as $depth1 => $depth1Value) {
572
			if(isset($depth1Value['Period'])){
573
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
574
			}
575
			if(isset($depth1Value['SysDiskCapacity'])){
576
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
577
			}
578
			if(isset($depth1Value['PrivatePoolOptionsId'])){
579
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
580
			}
581
			if(isset($depth1Value['DiskCapacity'])){
582
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
583
			}
584
			if(isset($depth1Value['SysDiskType'])){
585
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
586
			}
587
			if(isset($depth1Value['ClusterId'])){
588
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
589
			}
590
			if(isset($depth1Value['DiskType'])){
591
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
592
			}
593
			if(isset($depth1Value['HostGroupName'])){
594
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
595
			}
596
			if(isset($depth1Value['VSwitchId'])){
597
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
598
			}
599
			if(isset($depth1Value['DiskCount'])){
600
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
601
			}
602
			if(isset($depth1Value['AutoRenew'])){
603
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
604
			}
605
			if(isset($depth1Value['HostGroupId'])){
606
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
607
			}
608
			if(isset($depth1Value['NodeCount'])){
609
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
610
			}
611
			if(isset($depth1Value['InstanceType'])){
612
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
613
			}
614
			if(isset($depth1Value['Comment'])){
615
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
616
			}
617
			if(isset($depth1Value['ChargeType'])){
618
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
619
			}
620
			if(isset($depth1Value['MultiInstanceTypes'])){
621
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
622
			}
623
			if(isset($depth1Value['CreateType'])){
624
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
625
			}
626
			if(isset($depth1Value['HostGroupType'])){
627
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
628
			}
629
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
630
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
631
			}
632
		}
633
634
		return $this;
635
    }
636
637
    /**
638
     * @param array $config
639
     *
640
     * @return $this
641
     */
642
	public function withConfig(array $config)
643
	{
644
	    $this->data['Config'] = $config;
645
		foreach ($config as $depth1 => $depth1Value) {
646
			if(isset($depth1Value['ConfigKey'])){
647
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
648
			}
649
			if(isset($depth1Value['FileName'])){
650
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
651
			}
652
			if(isset($depth1Value['Encrypt'])){
653
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
654
			}
655
			if(isset($depth1Value['Replace'])){
656
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
657
			}
658
			if(isset($depth1Value['ConfigValue'])){
659
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
660
			}
661
			if(isset($depth1Value['ServiceName'])){
662
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
663
			}
664
		}
665
666
		return $this;
667
    }
668
}
669
670
/**
671
 * @method string getAutoPayOrder()
672
 * @method $this withAutoPayOrder($value)
673
 * @method string getResourceOwnerId()
674
 * @method $this withResourceOwnerId($value)
675
 * @method string getLogPath()
676
 * @method $this withLogPath($value)
677
 * @method string getMasterPwd()
678
 * @method $this withMasterPwd($value)
679
 * @method string getConfigurations()
680
 * @method $this withConfigurations($value)
681
 * @method string getSshEnable()
682
 * @method $this withSshEnable($value)
683
 * @method string getKeyPairName()
684
 * @method $this withKeyPairName($value)
685
 * @method string getMetaStoreType()
686
 * @method $this withMetaStoreType($value)
687
 * @method string getSecurityGroupName()
688
 * @method $this withSecurityGroupName($value)
689
 * @method string getMachineType()
690
 * @method $this withMachineType($value)
691
 * @method string getResourceGroupId()
692
 * @method $this withResourceGroupId($value)
693
 * @method array getHostComponentInfo()
694
 * @method string getClickHouseConf()
695
 * @method $this withClickHouseConf($value)
696
 * @method array getBootstrapAction()
697
 * @method string getMetaStoreConf()
698
 * @method $this withMetaStoreConf($value)
699
 * @method string getEmrVer()
700
 * @method $this withEmrVer($value)
701
 * @method array getTag()
702
 * @method string getAuthorizeContent()
703
 * @method $this withAuthorizeContent($value)
704
 * @method string getIsOpenPublicIp()
705
 * @method $this withIsOpenPublicIp($value)
706
 * @method string getPeriod()
707
 * @method $this withPeriod($value)
708
 * @method string getInstanceGeneration()
709
 * @method $this withInstanceGeneration($value)
710
 * @method string getVSwitchId()
711
 * @method $this withVSwitchId($value)
712
 * @method string getClusterType()
713
 * @method $this withClusterType($value)
714
 * @method string getExtraAttributes()
715
 * @method $this withExtraAttributes($value)
716
 * @method string getAutoRenew()
717
 * @method $this withAutoRenew($value)
718
 * @method array getOptionSoftWareList()
719
 * @method string getNetType()
720
 * @method $this withNetType($value)
721
 * @method string getName()
722
 * @method $this withName($value)
723
 * @method string getZoneId()
724
 * @method $this withZoneId($value)
725
 * @method string getUseCustomHiveMetaDB()
726
 * @method $this withUseCustomHiveMetaDB($value)
727
 * @method string getInitCustomHiveMetaDB()
728
 * @method $this withInitCustomHiveMetaDB($value)
729
 * @method string getClientToken()
730
 * @method $this withClientToken($value)
731
 * @method string getIoOptimized()
732
 * @method $this withIoOptimized($value)
733
 * @method string getSecurityGroupId()
734
 * @method $this withSecurityGroupId($value)
735
 * @method string getEasEnable()
736
 * @method $this withEasEnable($value)
737
 * @method string getDepositType()
738
 * @method $this withDepositType($value)
739
 * @method string getUseLocalMetaDb()
740
 * @method $this withUseLocalMetaDb($value)
741
 * @method array getUserInfo()
742
 * @method string getUserDefinedEmrEcsRole()
743
 * @method $this withUserDefinedEmrEcsRole($value)
744
 * @method string getWhiteListType()
745
 * @method $this withWhiteListType($value)
746
 * @method string getRelatedClusterId()
747
 * @method $this withRelatedClusterId($value)
748
 * @method string getVpcId()
749
 * @method $this withVpcId($value)
750
 * @method array getPromotionInfo()
751
 * @method array getHostGroup()
752
 * @method string getChargeType()
753
 * @method $this withChargeType($value)
754
 * @method array getServiceInfo()
755
 * @method array getConfig()
756
 * @method string getHighAvailabilityEnable()
757
 * @method $this withHighAvailabilityEnable($value)
758
 */
759
class CreateClusterV2 extends Rpc
760
{
761
762
    /**
763
     * @param array $hostComponentInfo
764
     *
765
     * @return $this
766
     */
767
	public function withHostComponentInfo(array $hostComponentInfo)
768
	{
769
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
770
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
771
			if(isset($depth1Value['HostName'])){
772
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
773
			}
774
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
775
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
776
			}
777
			if(isset($depth1Value['ServiceName'])){
778
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
779
			}
780
		}
781
782
		return $this;
783
    }
784
785
    /**
786
     * @param array $bootstrapAction
787
     *
788
     * @return $this
789
     */
790
	public function withBootstrapAction(array $bootstrapAction)
791
	{
792
	    $this->data['BootstrapAction'] = $bootstrapAction;
793
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
794
			if(isset($depth1Value['Path'])){
795
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
796
			}
797
			if(isset($depth1Value['ExecutionTarget'])){
798
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
799
			}
800
			if(isset($depth1Value['ExecutionMoment'])){
801
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
802
			}
803
			if(isset($depth1Value['Arg'])){
804
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
805
			}
806
			if(isset($depth1Value['Name'])){
807
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
808
			}
809
			if(isset($depth1Value['ExecutionFailStrategy'])){
810
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
811
			}
812
		}
813
814
		return $this;
815
    }
816
817
    /**
818
     * @param array $tag
819
     *
820
     * @return $this
821
     */
822
	public function withTag(array $tag)
823
	{
824
	    $this->data['Tag'] = $tag;
825
		foreach ($tag as $depth1 => $depth1Value) {
826
			if(isset($depth1Value['Value'])){
827
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
828
			}
829
			if(isset($depth1Value['Key'])){
830
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
831
			}
832
		}
833
834
		return $this;
835
    }
836
837
    /**
838
     * @param array $optionSoftWareList
839
     *
840
     * @return $this
841
     */
842
	public function withOptionSoftWareList(array $optionSoftWareList)
843
	{
844
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
845
		foreach ($optionSoftWareList as $i => $iValue) {
846
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
847
		}
848
849
		return $this;
850
    }
851
852
    /**
853
     * @param array $userInfo
854
     *
855
     * @return $this
856
     */
857
	public function withUserInfo(array $userInfo)
858
	{
859
	    $this->data['UserInfo'] = $userInfo;
860
		foreach ($userInfo as $depth1 => $depth1Value) {
861
			if(isset($depth1Value['Password'])){
862
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
863
			}
864
			if(isset($depth1Value['UserId'])){
865
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
866
			}
867
			if(isset($depth1Value['UserName'])){
868
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
869
			}
870
		}
871
872
		return $this;
873
    }
874
875
    /**
876
     * @param array $promotionInfo
877
     *
878
     * @return $this
879
     */
880
	public function withPromotionInfo(array $promotionInfo)
881
	{
882
	    $this->data['PromotionInfo'] = $promotionInfo;
883
		foreach ($promotionInfo as $depth1 => $depth1Value) {
884
			if(isset($depth1Value['PromotionOptionCode'])){
885
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
886
			}
887
			if(isset($depth1Value['ProductCode'])){
888
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
889
			}
890
			if(isset($depth1Value['PromotionOptionNo'])){
891
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
892
			}
893
		}
894
895
		return $this;
896
    }
897
898
    /**
899
     * @param array $hostGroup
900
     *
901
     * @return $this
902
     */
903
	public function withHostGroup(array $hostGroup)
904
	{
905
	    $this->data['HostGroup'] = $hostGroup;
906
		foreach ($hostGroup as $depth1 => $depth1Value) {
907
			if(isset($depth1Value['Period'])){
908
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
909
			}
910
			if(isset($depth1Value['SysDiskCapacity'])){
911
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
912
			}
913
			if(isset($depth1Value['PrivatePoolOptionsId'])){
914
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
915
			}
916
			if(isset($depth1Value['DiskCapacity'])){
917
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
918
			}
919
			if(isset($depth1Value['SysDiskType'])){
920
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
921
			}
922
			if(isset($depth1Value['ClusterId'])){
923
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
924
			}
925
			if(isset($depth1Value['DiskType'])){
926
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
927
			}
928
			if(isset($depth1Value['HostGroupName'])){
929
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
930
			}
931
			if(isset($depth1Value['VSwitchId'])){
932
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
933
			}
934
			if(isset($depth1Value['DiskCount'])){
935
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
936
			}
937
			if(isset($depth1Value['AutoRenew'])){
938
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
939
			}
940
			if(isset($depth1Value['GpuDriver'])){
941
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.GpuDriver'] = $depth1Value['GpuDriver'];
942
			}
943
			if(isset($depth1Value['HostGroupId'])){
944
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
945
			}
946
			if(isset($depth1Value['NodeCount'])){
947
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
948
			}
949
			if(isset($depth1Value['InstanceType'])){
950
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
951
			}
952
			if(isset($depth1Value['Comment'])){
953
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
954
			}
955
			if(isset($depth1Value['ChargeType'])){
956
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
957
			}
958
			if(isset($depth1Value['CreateType'])){
959
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
960
			}
961
			if(isset($depth1Value['HostGroupType'])){
962
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
963
			}
964
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
965
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
966
			}
967
		}
968
969
		return $this;
970
    }
971
972
    /**
973
     * @param array $serviceInfo
974
     *
975
     * @return $this
976
     */
977
	public function withServiceInfo(array $serviceInfo)
978
	{
979
	    $this->data['ServiceInfo'] = $serviceInfo;
980
		foreach ($serviceInfo as $depth1 => $depth1Value) {
981
			if(isset($depth1Value['ServiceVersion'])){
982
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
983
			}
984
			if(isset($depth1Value['ServiceName'])){
985
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
986
			}
987
		}
988
989
		return $this;
990
    }
991
992
    /**
993
     * @param array $config
994
     *
995
     * @return $this
996
     */
997
	public function withConfig(array $config)
998
	{
999
	    $this->data['Config'] = $config;
1000
		foreach ($config as $depth1 => $depth1Value) {
1001
			if(isset($depth1Value['ConfigKey'])){
1002
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1003
			}
1004
			if(isset($depth1Value['FileName'])){
1005
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
1006
			}
1007
			if(isset($depth1Value['Encrypt'])){
1008
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
1009
			}
1010
			if(isset($depth1Value['Replace'])){
1011
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
1012
			}
1013
			if(isset($depth1Value['ConfigValue'])){
1014
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1015
			}
1016
			if(isset($depth1Value['ServiceName'])){
1017
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
1018
			}
1019
		}
1020
1021
		return $this;
1022
    }
1023
}
1024
1025
/**
1026
 * @method string getResourceOwnerId()
1027
 * @method $this withResourceOwnerId($value)
1028
 * @method string getUniqueTag()
1029
 * @method $this withUniqueTag($value)
1030
 * @method string getClusterName()
1031
 * @method $this withClusterName($value)
1032
 * @method string getResourceGroupId()
1033
 * @method $this withResourceGroupId($value)
1034
 * @method string getTemplateBizId()
1035
 * @method $this withTemplateBizId($value)
1036
 */
1037
class CreateClusterWithTemplate extends Rpc
1038
{
1039
}
1040
1041
/**
1042
 * @method string getResourceOwnerId()
1043
 * @method $this withResourceOwnerId($value)
1044
 * @method string getNavParentId()
1045
 * @method $this withNavParentId($value)
1046
 * @method string getDescription()
1047
 * @method $this withDescription($value)
1048
 * @method string getConf()
1049
 * @method $this withConf($value)
1050
 * @method string getClusterId()
1051
 * @method $this withClusterId($value)
1052
 * @method string getResourceGroupId()
1053
 * @method $this withResourceGroupId($value)
1054
 * @method string getName()
1055
 * @method $this withName($value)
1056
 * @method string getSourceType()
1057
 * @method $this withSourceType($value)
1058
 */
1059
class CreateDataSource extends Rpc
1060
{
1061
}
1062
1063
/**
1064
 * @method string getResourceOwnerId()
1065
 * @method $this withResourceOwnerId($value)
1066
 * @method string getTimeInterval()
1067
 * @method $this withTimeInterval($value)
1068
 * @method string getLogPath()
1069
 * @method $this withLogPath($value)
1070
 * @method string getClusterName()
1071
 * @method $this withClusterName($value)
1072
 * @method string getConfigurations()
1073
 * @method $this withConfigurations($value)
1074
 * @method string getCreateClusterOnDemand()
1075
 * @method $this withCreateClusterOnDemand($value)
1076
 * @method string getStartTime()
1077
 * @method $this withStartTime($value)
1078
 * @method array getBootstrapAction()
1079
 * @method string getEmrVer()
1080
 * @method $this withEmrVer($value)
1081
 * @method string getIsOpenPublicIp()
1082
 * @method $this withIsOpenPublicIp($value)
1083
 * @method string getInstanceGeneration()
1084
 * @method $this withInstanceGeneration($value)
1085
 * @method string getClusterType()
1086
 * @method $this withClusterType($value)
1087
 * @method string getVSwitchId()
1088
 * @method $this withVSwitchId($value)
1089
 * @method array getOptionSoftWareList()
1090
 * @method string getNetType()
1091
 * @method $this withNetType($value)
1092
 * @method array getEcsOrder()
1093
 * @method string getName()
1094
 * @method $this withName($value)
1095
 * @method string getZoneId()
1096
 * @method $this withZoneId($value)
1097
 * @method string getUseCustomHiveMetaDB()
1098
 * @method $this withUseCustomHiveMetaDB($value)
1099
 * @method string getInitCustomHiveMetaDB()
1100
 * @method $this withInitCustomHiveMetaDB($value)
1101
 * @method string getIoOptimized()
1102
 * @method $this withIoOptimized($value)
1103
 * @method string getSecurityGroupId()
1104
 * @method $this withSecurityGroupId($value)
1105
 * @method string getEasEnable()
1106
 * @method $this withEasEnable($value)
1107
 * @method array getJobIdList()
1108
 * @method string getDayOfMonth()
1109
 * @method $this withDayOfMonth($value)
1110
 * @method string getUseLocalMetaDb()
1111
 * @method $this withUseLocalMetaDb($value)
1112
 * @method string getUserDefinedEmrEcsRole()
1113
 * @method $this withUserDefinedEmrEcsRole($value)
1114
 * @method string getClusterId()
1115
 * @method $this withClusterId($value)
1116
 * @method string getTimeUnit()
1117
 * @method $this withTimeUnit($value)
1118
 * @method string getVpcId()
1119
 * @method $this withVpcId($value)
1120
 * @method string getWorkflowDefinition()
1121
 * @method $this withWorkflowDefinition($value)
1122
 * @method string getDayOfWeek()
1123
 * @method $this withDayOfWeek($value)
1124
 * @method string getStrategy()
1125
 * @method $this withStrategy($value)
1126
 * @method array getConfig()
1127
 * @method string getHighAvailabilityEnable()
1128
 * @method $this withHighAvailabilityEnable($value)
1129
 * @method string getLogEnable()
1130
 * @method $this withLogEnable($value)
1131
 */
1132
class CreateExecutionPlan extends Rpc
1133
{
1134
1135
    /**
1136
     * @param array $bootstrapAction
1137
     *
1138
     * @return $this
1139
     */
1140
	public function withBootstrapAction(array $bootstrapAction)
1141
	{
1142
	    $this->data['BootstrapAction'] = $bootstrapAction;
1143
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
1144
			if(isset($depth1Value['Path'])){
1145
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
1146
			}
1147
			if(isset($depth1Value['ExecutionTarget'])){
1148
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
1149
			}
1150
			if(isset($depth1Value['ExecutionMoment'])){
1151
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
1152
			}
1153
			if(isset($depth1Value['Arg'])){
1154
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
1155
			}
1156
			if(isset($depth1Value['Name'])){
1157
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1158
			}
1159
			if(isset($depth1Value['ExecutionFailStrategy'])){
1160
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
1161
			}
1162
		}
1163
1164
		return $this;
1165
    }
1166
1167
    /**
1168
     * @param array $optionSoftWareList
1169
     *
1170
     * @return $this
1171
     */
1172
	public function withOptionSoftWareList(array $optionSoftWareList)
1173
	{
1174
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
1175
		foreach ($optionSoftWareList as $i => $iValue) {
1176
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
1177
		}
1178
1179
		return $this;
1180
    }
1181
1182
    /**
1183
     * @param array $ecsOrder
1184
     *
1185
     * @return $this
1186
     */
1187
	public function withEcsOrder(array $ecsOrder)
1188
	{
1189
	    $this->data['EcsOrder'] = $ecsOrder;
1190
		foreach ($ecsOrder as $depth1 => $depth1Value) {
1191
			if(isset($depth1Value['NodeType'])){
1192
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
1193
			}
1194
			if(isset($depth1Value['DiskCount'])){
1195
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
1196
			}
1197
			if(isset($depth1Value['NodeCount'])){
1198
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
1199
			}
1200
			if(isset($depth1Value['DiskCapacity'])){
1201
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
1202
			}
1203
			if(isset($depth1Value['Index'])){
1204
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
1205
			}
1206
			if(isset($depth1Value['InstanceType'])){
1207
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
1208
			}
1209
			if(isset($depth1Value['DiskType'])){
1210
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
1211
			}
1212
		}
1213
1214
		return $this;
1215
    }
1216
1217
    /**
1218
     * @param array $jobIdList
1219
     *
1220
     * @return $this
1221
     */
1222
	public function withJobIdList(array $jobIdList)
1223
	{
1224
	    $this->data['JobIdList'] = $jobIdList;
1225
		foreach ($jobIdList as $i => $iValue) {
1226
			$this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
1227
		}
1228
1229
		return $this;
1230
    }
1231
1232
    /**
1233
     * @param array $config
1234
     *
1235
     * @return $this
1236
     */
1237
	public function withConfig(array $config)
1238
	{
1239
	    $this->data['Config'] = $config;
1240
		foreach ($config as $depth1 => $depth1Value) {
1241
			if(isset($depth1Value['ConfigKey'])){
1242
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1243
			}
1244
			if(isset($depth1Value['FileName'])){
1245
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
1246
			}
1247
			if(isset($depth1Value['Encrypt'])){
1248
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
1249
			}
1250
			if(isset($depth1Value['Replace'])){
1251
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
1252
			}
1253
			if(isset($depth1Value['ConfigValue'])){
1254
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1255
			}
1256
			if(isset($depth1Value['ServiceName'])){
1257
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
1258
			}
1259
		}
1260
1261
		return $this;
1262
    }
1263
}
1264
1265
/**
1266
 * @method string getCronExpr()
1267
 * @method $this withCronExpr($value)
1268
 * @method string getDescription()
1269
 * @method $this withDescription($value)
1270
 * @method string getAlertUserGroupBizId()
1271
 * @method $this withAlertUserGroupBizId($value)
1272
 * @method string getLifecycle()
1273
 * @method $this withLifecycle($value)
1274
 * @method string getHostName()
1275
 * @method $this withHostName($value)
1276
 * @method string getCreateCluster()
1277
 * @method $this withCreateCluster($value)
1278
 * @method string getEndSchedule()
1279
 * @method $this withEndSchedule($value)
1280
 * @method string getAlertConf()
1281
 * @method $this withAlertConf($value)
1282
 * @method string getProjectId()
1283
 * @method $this withProjectId($value)
1284
 * @method string getParentFlowList()
1285
 * @method $this withParentFlowList($value)
1286
 * @method string getLogArchiveLocation()
1287
 * @method $this withLogArchiveLocation($value)
1288
 * @method string getAlertDingDingGroupBizId()
1289
 * @method $this withAlertDingDingGroupBizId($value)
1290
 * @method string getStartSchedule()
1291
 * @method $this withStartSchedule($value)
1292
 * @method string getClusterId()
1293
 * @method $this withClusterId($value)
1294
 * @method string getApplication()
1295
 * @method $this withApplication($value)
1296
 * @method string getName()
1297
 * @method $this withName($value)
1298
 * @method string getNamespace()
1299
 * @method $this withNamespace($value)
1300
 * @method string getParentCategory()
1301
 * @method $this withParentCategory($value)
1302
 */
1303
class CreateFlow extends Rpc
1304
{
1305
}
1306
1307
/**
1308
 * @method string getType()
1309
 * @method $this withType($value)
1310
 * @method string getParentId()
1311
 * @method $this withParentId($value)
1312
 * @method string getName()
1313
 * @method $this withName($value)
1314
 * @method string getProjectId()
1315
 * @method $this withProjectId($value)
1316
 */
1317
class CreateFlowCategory extends Rpc
1318
{
1319
}
1320
1321
/**
1322
 * @method string getCronExpr()
1323
 * @method $this withCronExpr($value)
1324
 * @method string getDescription()
1325
 * @method $this withDescription($value)
1326
 * @method string getAlertUserGroupBizId()
1327
 * @method $this withAlertUserGroupBizId($value)
1328
 * @method string getLifecycle()
1329
 * @method $this withLifecycle($value)
1330
 * @method string getHostName()
1331
 * @method $this withHostName($value)
1332
 * @method string getCreateCluster()
1333
 * @method $this withCreateCluster($value)
1334
 * @method string getEndSchedule()
1335
 * @method $this withEndSchedule($value)
1336
 * @method string getAlertConf()
1337
 * @method $this withAlertConf($value)
1338
 * @method string getProjectId()
1339
 * @method $this withProjectId($value)
1340
 * @method string getParentFlowList()
1341
 * @method $this withParentFlowList($value)
1342
 * @method string getLogArchiveLocation()
1343
 * @method $this withLogArchiveLocation($value)
1344
 * @method string getAlertDingDingGroupBizId()
1345
 * @method $this withAlertDingDingGroupBizId($value)
1346
 * @method string getStartSchedule()
1347
 * @method $this withStartSchedule($value)
1348
 * @method string getClusterId()
1349
 * @method $this withClusterId($value)
1350
 * @method string getGraph()
1351
 * @method $this withGraph($value)
1352
 * @method string getName()
1353
 * @method $this withName($value)
1354
 * @method string getNamespace()
1355
 * @method $this withNamespace($value)
1356
 * @method string getParentCategory()
1357
 * @method $this withParentCategory($value)
1358
 */
1359
class CreateFlowForWeb extends Rpc
1360
{
1361
}
1362
1363
/**
1364
 * @method string getRetryPolicy()
1365
 * @method $this withRetryPolicy($value)
1366
 * @method string getRunConf()
1367
 * @method string getDescription()
1368
 * @method string getType()
1369
 * @method $this withType($value)
1370
 * @method string getParamConf()
1371
 * @method array getResourceList()
1372
 * @method string getFailAct()
1373
 * @method $this withFailAct($value)
1374
 * @method string getMode()
1375
 * @method $this withMode($value)
1376
 * @method string getMonitorConf()
1377
 * @method string getMaxRetry()
1378
 * @method $this withMaxRetry($value)
1379
 * @method string getAlertConf()
1380
 * @method $this withAlertConf($value)
1381
 * @method string getProjectId()
1382
 * @method $this withProjectId($value)
1383
 * @method string getEnvConf()
1384
 * @method string getMaxRunningTimeSec()
1385
 * @method $this withMaxRunningTimeSec($value)
1386
 * @method string getClusterId()
1387
 * @method $this withClusterId($value)
1388
 * @method string getParams()
1389
 * @method string getCustomVariables()
1390
 * @method string getRetryInterval()
1391
 * @method $this withRetryInterval($value)
1392
 * @method string getName()
1393
 * @method $this withName($value)
1394
 * @method string getAdhoc()
1395
 * @method $this withAdhoc($value)
1396
 * @method string getParentCategory()
1397
 * @method $this withParentCategory($value)
1398
 */
1399
class CreateFlowJob extends Rpc
1400
{
1401
1402
    /**
1403
     * @param string $value
1404
     *
1405
     * @return $this
1406
     */
1407
    public function withRunConf($value)
1408
    {
1409
        $this->data['RunConf'] = $value;
1410
        $this->options['form_params']['RunConf'] = $value;
1411
1412
        return $this;
1413
    }
1414
1415
    /**
1416
     * @param string $value
1417
     *
1418
     * @return $this
1419
     */
1420
    public function withDescription($value)
1421
    {
1422
        $this->data['Description'] = $value;
1423
        $this->options['form_params']['Description'] = $value;
1424
1425
        return $this;
1426
    }
1427
1428
    /**
1429
     * @param string $value
1430
     *
1431
     * @return $this
1432
     */
1433
    public function withParamConf($value)
1434
    {
1435
        $this->data['ParamConf'] = $value;
1436
        $this->options['form_params']['ParamConf'] = $value;
1437
1438
        return $this;
1439
    }
1440
1441
    /**
1442
     * @param array $resourceList
1443
     *
1444
     * @return $this
1445
     */
1446
	public function withResourceList(array $resourceList)
1447
	{
1448
	    $this->data['ResourceList'] = $resourceList;
1449
		foreach ($resourceList as $depth1 => $depth1Value) {
1450
			if(isset($depth1Value['Path'])){
1451
				$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
1452
			}
1453
			if(isset($depth1Value['Alias'])){
1454
				$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
1455
			}
1456
		}
1457
1458
		return $this;
1459
    }
1460
1461
    /**
1462
     * @param string $value
1463
     *
1464
     * @return $this
1465
     */
1466
    public function withMonitorConf($value)
1467
    {
1468
        $this->data['MonitorConf'] = $value;
1469
        $this->options['form_params']['MonitorConf'] = $value;
1470
1471
        return $this;
1472
    }
1473
1474
    /**
1475
     * @param string $value
1476
     *
1477
     * @return $this
1478
     */
1479
    public function withEnvConf($value)
1480
    {
1481
        $this->data['EnvConf'] = $value;
1482
        $this->options['form_params']['EnvConf'] = $value;
1483
1484
        return $this;
1485
    }
1486
1487
    /**
1488
     * @param string $value
1489
     *
1490
     * @return $this
1491
     */
1492
    public function withParams($value)
1493
    {
1494
        $this->data['Params'] = $value;
1495
        $this->options['form_params']['Params'] = $value;
1496
1497
        return $this;
1498
    }
1499
1500
    /**
1501
     * @param string $value
1502
     *
1503
     * @return $this
1504
     */
1505
    public function withCustomVariables($value)
1506
    {
1507
        $this->data['CustomVariables'] = $value;
1508
        $this->options['form_params']['CustomVariables'] = $value;
1509
1510
        return $this;
1511
    }
1512
}
1513
1514
/**
1515
 * @method string getDescription()
1516
 * @method $this withDescription($value)
1517
 * @method string getProductType()
1518
 * @method $this withProductType($value)
1519
 * @method string getResourceGroupId()
1520
 * @method $this withResourceGroupId($value)
1521
 * @method string getName()
1522
 * @method $this withName($value)
1523
 */
1524
class CreateFlowProject extends Rpc
1525
{
1526
}
1527
1528
/**
1529
 * @method array getUserList()
1530
 * @method array getHostList()
1531
 * @method string getClusterId()
1532
 * @method $this withClusterId($value)
1533
 * @method string getDefaultQueue()
1534
 * @method $this withDefaultQueue($value)
1535
 * @method string getDefaultUser()
1536
 * @method $this withDefaultUser($value)
1537
 * @method array getQueueList()
1538
 * @method string getProjectId()
1539
 * @method $this withProjectId($value)
1540
 */
1541
class CreateFlowProjectClusterSetting extends Rpc
1542
{
1543
1544
    /**
1545
     * @param array $userList
1546
     *
1547
     * @return $this
1548
     */
1549
	public function withUserList(array $userList)
1550
	{
1551
	    $this->data['UserList'] = $userList;
1552
		foreach ($userList as $i => $iValue) {
1553
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
1554
		}
1555
1556
		return $this;
1557
    }
1558
1559
    /**
1560
     * @param array $hostList
1561
     *
1562
     * @return $this
1563
     */
1564
	public function withHostList(array $hostList)
1565
	{
1566
	    $this->data['HostList'] = $hostList;
1567
		foreach ($hostList as $i => $iValue) {
1568
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
1569
		}
1570
1571
		return $this;
1572
    }
1573
1574
    /**
1575
     * @param array $queueList
1576
     *
1577
     * @return $this
1578
     */
1579
	public function withQueueList(array $queueList)
1580
	{
1581
	    $this->data['QueueList'] = $queueList;
1582
		foreach ($queueList as $i => $iValue) {
1583
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
1584
		}
1585
1586
		return $this;
1587
    }
1588
}
1589
1590
/**
1591
 * @method string getProjectId()
1592
 * @method $this withProjectId($value)
1593
 * @method array getUser()
1594
 */
1595
class CreateFlowProjectUser extends Rpc
1596
{
1597
1598
    /**
1599
     * @param array $user
1600
     *
1601
     * @return $this
1602
     */
1603
	public function withUser(array $user)
1604
	{
1605
	    $this->data['User'] = $user;
1606
		foreach ($user as $depth1 => $depth1Value) {
1607
			if(isset($depth1Value['UserId'])){
1608
				$this->options['query']['User.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1609
			}
1610
			if(isset($depth1Value['UserName'])){
1611
				$this->options['query']['User.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
1612
			}
1613
		}
1614
1615
		return $this;
1616
    }
1617
}
1618
1619
/**
1620
 * @method string getResourceOwnerId()
1621
 * @method $this withResourceOwnerId($value)
1622
 * @method string getType()
1623
 * @method $this withType($value)
1624
 * @method string getFailAct()
1625
 * @method $this withFailAct($value)
1626
 * @method string getRunParameter()
1627
 * @method $this withRunParameter($value)
1628
 * @method string getRetryInterval()
1629
 * @method $this withRetryInterval($value)
1630
 * @method string getResourceGroupId()
1631
 * @method $this withResourceGroupId($value)
1632
 * @method string getName()
1633
 * @method $this withName($value)
1634
 * @method string getMaxRetry()
1635
 * @method $this withMaxRetry($value)
1636
 */
1637
class CreateJob extends Rpc
1638
{
1639
}
1640
1641
/**
1642
 * @method string getResourceOwnerId()
1643
 * @method $this withResourceOwnerId($value)
1644
 * @method string getLibraryVersion()
1645
 * @method $this withLibraryVersion($value)
1646
 * @method string getType()
1647
 * @method $this withType($value)
1648
 * @method string getScope()
1649
 * @method $this withScope($value)
1650
 * @method string getName()
1651
 * @method $this withName($value)
1652
 * @method string getSourceType()
1653
 * @method $this withSourceType($value)
1654
 * @method string getProperties()
1655
 * @method $this withProperties($value)
1656
 * @method string getSourceLocation()
1657
 * @method $this withSourceLocation($value)
1658
 */
1659
class CreateLibrary extends Rpc
1660
{
1661
}
1662
1663
/**
1664
 * @method string getResourceOwnerId()
1665
 * @method $this withResourceOwnerId($value)
1666
 * @method string getClusterId()
1667
 * @method $this withClusterId($value)
1668
 * @method string getResourceGroupId()
1669
 * @method $this withResourceGroupId($value)
1670
 * @method string getPassword()
1671
 * @method $this withPassword($value)
1672
 * @method string getTableId()
1673
 * @method $this withTableId($value)
1674
 * @method string getDatabaseId()
1675
 * @method $this withDatabaseId($value)
1676
 * @method string getUser()
1677
 * @method $this withUser($value)
1678
 */
1679
class CreateMetaTablePreviewTask extends Rpc
1680
{
1681
}
1682
1683
/**
1684
 * @method string getNote()
1685
 * @method $this withNote($value)
1686
 * @method string getResourceOwnerId()
1687
 * @method $this withResourceOwnerId($value)
1688
 * @method string getActive()
1689
 * @method $this withActive($value)
1690
 * @method string getClusterId()
1691
 * @method $this withClusterId($value)
1692
 * @method string getYarnSiteConfig()
1693
 * @method $this withYarnSiteConfig($value)
1694
 * @method string getName()
1695
 * @method $this withName($value)
1696
 * @method array getConfig()
1697
 * @method string getPoolType()
1698
 * @method $this withPoolType($value)
1699
 */
1700
class CreateResourcePool extends Rpc
1701
{
1702
1703
    /**
1704
     * @param array $config
1705
     *
1706
     * @return $this
1707
     */
1708
	public function withConfig(array $config)
1709
	{
1710
	    $this->data['Config'] = $config;
1711
		foreach ($config as $depth1 => $depth1Value) {
1712
			if(isset($depth1Value['ConfigKey'])){
1713
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1714
			}
1715
			if(isset($depth1Value['Note'])){
1716
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1717
			}
1718
			if(isset($depth1Value['ConfigType'])){
1719
				$this->options['query']['Config.' . ($depth1 + 1) . '.configType'] = $depth1Value['ConfigType'];
1720
			}
1721
			if(isset($depth1Value['TargetId'])){
1722
				$this->options['query']['Config.' . ($depth1 + 1) . '.TargetId'] = $depth1Value['TargetId'];
1723
			}
1724
			if(isset($depth1Value['ConfigValue'])){
1725
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1726
			}
1727
			if(isset($depth1Value['Category'])){
1728
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1729
			}
1730
		}
1731
1732
		return $this;
1733
    }
1734
}
1735
1736
/**
1737
 * @method string getResourceOwnerId()
1738
 * @method $this withResourceOwnerId($value)
1739
 * @method string getQualifiedName()
1740
 * @method $this withQualifiedName($value)
1741
 * @method string getResourcePoolId()
1742
 * @method $this withResourcePoolId($value)
1743
 * @method string getClusterId()
1744
 * @method $this withClusterId($value)
1745
 * @method string getLeaf()
1746
 * @method $this withLeaf($value)
1747
 * @method string getParentQueueId()
1748
 * @method $this withParentQueueId($value)
1749
 * @method string getName()
1750
 * @method $this withName($value)
1751
 * @method array getConfig()
1752
 */
1753
class CreateResourceQueue extends Rpc
1754
{
1755
1756
    /**
1757
     * @param array $config
1758
     *
1759
     * @return $this
1760
     */
1761
	public function withConfig(array $config)
1762
	{
1763
	    $this->data['Config'] = $config;
1764
		foreach ($config as $depth1 => $depth1Value) {
1765
			if(isset($depth1Value['ConfigKey'])){
1766
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1767
			}
1768
			if(isset($depth1Value['Note'])){
1769
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1770
			}
1771
			if(isset($depth1Value['ConfigValue'])){
1772
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1773
			}
1774
			if(isset($depth1Value['Category'])){
1775
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1776
			}
1777
		}
1778
1779
		return $this;
1780
    }
1781
}
1782
1783
/**
1784
 * @method string getResourceOwnerId()
1785
 * @method $this withResourceOwnerId($value)
1786
 * @method string getDescription()
1787
 * @method $this withDescription($value)
1788
 * @method string getResourceGroupId()
1789
 * @method $this withResourceGroupId($value)
1790
 * @method string getHostGroupId()
1791
 * @method $this withHostGroupId($value)
1792
 * @method string getName()
1793
 * @method $this withName($value)
1794
 */
1795
class CreateScalingGroupV2 extends Rpc
1796
{
1797
}
1798
1799
/**
1800
 * @method string getResourceOwnerId()
1801
 * @method $this withResourceOwnerId($value)
1802
 * @method string getRuleName()
1803
 * @method $this withRuleName($value)
1804
 * @method string getRecurrenceEndTime()
1805
 * @method $this withRecurrenceEndTime($value)
1806
 * @method array getCloudWatchTrigger()
1807
 * @method string getTimeoutWithGrace()
1808
 * @method $this withTimeoutWithGrace($value)
1809
 * @method string getCooldown()
1810
 * @method $this withCooldown($value)
1811
 * @method string getLaunchTime()
1812
 * @method $this withLaunchTime($value)
1813
 * @method string getWithGrace()
1814
 * @method $this withWithGrace($value)
1815
 * @method string getRuleCategory()
1816
 * @method $this withRuleCategory($value)
1817
 * @method string getAdjustmentValue()
1818
 * @method $this withAdjustmentValue($value)
1819
 * @method string getAdjustmentType()
1820
 * @method $this withAdjustmentType($value)
1821
 * @method string getClusterId()
1822
 * @method $this withClusterId($value)
1823
 * @method string getLaunchExpirationTime()
1824
 * @method $this withLaunchExpirationTime($value)
1825
 * @method string getRecurrenceValue()
1826
 * @method $this withRecurrenceValue($value)
1827
 * @method string getHostGroupId()
1828
 * @method $this withHostGroupId($value)
1829
 * @method array getSchedulerTrigger()
1830
 * @method string getRecurrenceType()
1831
 * @method $this withRecurrenceType($value)
1832
 */
1833
class CreateScalingRule extends Rpc
1834
{
1835
1836
    /**
1837
     * @param array $cloudWatchTrigger
1838
     *
1839
     * @return $this
1840
     */
1841
	public function withCloudWatchTrigger(array $cloudWatchTrigger)
1842
	{
1843
	    $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
1844
		foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
1845
			if(isset($depth1Value['Period'])){
1846
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
1847
			}
1848
			if(isset($depth1Value['EvaluationCount'])){
1849
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
1850
			}
1851
			if(isset($depth1Value['Threshold'])){
1852
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
1853
			}
1854
			if(isset($depth1Value['MetricName'])){
1855
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
1856
			}
1857
			if(isset($depth1Value['ComparisonOperator'])){
1858
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
1859
			}
1860
			if(isset($depth1Value['Statistics'])){
1861
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
1862
			}
1863
		}
1864
1865
		return $this;
1866
    }
1867
1868
    /**
1869
     * @param array $schedulerTrigger
1870
     *
1871
     * @return $this
1872
     */
1873
	public function withSchedulerTrigger(array $schedulerTrigger)
1874
	{
1875
	    $this->data['SchedulerTrigger'] = $schedulerTrigger;
1876
		foreach ($schedulerTrigger as $depth1 => $depth1Value) {
1877
			if(isset($depth1Value['LaunchTime'])){
1878
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
1879
			}
1880
			if(isset($depth1Value['LaunchExpirationTime'])){
1881
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
1882
			}
1883
			if(isset($depth1Value['RecurrenceValue'])){
1884
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
1885
			}
1886
			if(isset($depth1Value['RecurrenceEndTime'])){
1887
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
1888
			}
1889
			if(isset($depth1Value['RecurrenceType'])){
1890
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
1891
			}
1892
		}
1893
1894
		return $this;
1895
    }
1896
}
1897
1898
/**
1899
 * @method string getResourceOwnerId()
1900
 * @method $this withResourceOwnerId($value)
1901
 * @method string getDescription()
1902
 * @method $this withDescription($value)
1903
 * @method string getName()
1904
 * @method $this withName($value)
1905
 * @method string getId()
1906
 * @method $this withId($value)
1907
 * @method string getCategory()
1908
 * @method $this withCategory($value)
1909
 */
1910
class CreateTag extends Rpc
1911
{
1912
}
1913
1914
/**
1915
 * @method string getResourceOwnerId()
1916
 * @method $this withResourceOwnerId($value)
1917
 * @method string getUserType()
1918
 * @method $this withUserType($value)
1919
 * @method string getDescription()
1920
 * @method $this withDescription($value)
1921
 * @method array getUserAccountParamList()
1922
 * @method array getGroupIdList()
1923
 * @method array getRoleIdList()
1924
 * @method string getAliyunUserId()
1925
 * @method $this withAliyunUserId($value)
1926
 * @method string getUserName()
1927
 * @method $this withUserName($value)
1928
 * @method string getStatus()
1929
 * @method $this withStatus($value)
1930
 */
1931
class CreateUser extends Rpc
1932
{
1933
1934
    /**
1935
     * @param array $userAccountParamList
1936
     *
1937
     * @return $this
1938
     */
1939
	public function withUserAccountParamList(array $userAccountParamList)
1940
	{
1941
	    $this->data['UserAccountParamList'] = $userAccountParamList;
1942
		foreach ($userAccountParamList as $depth1 => $depth1Value) {
1943
			if(isset($depth1Value['AccountType'])){
1944
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
1945
			}
1946
			if(isset($depth1Value['AuthType'])){
1947
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AuthType'] = $depth1Value['AuthType'];
1948
			}
1949
			if(isset($depth1Value['AccountPassword'])){
1950
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountPassword'] = $depth1Value['AccountPassword'];
1951
			}
1952
		}
1953
1954
		return $this;
1955
    }
1956
1957
    /**
1958
     * @param array $groupIdList
1959
     *
1960
     * @return $this
1961
     */
1962
	public function withGroupIdList(array $groupIdList)
1963
	{
1964
	    $this->data['GroupIdList'] = $groupIdList;
1965
		foreach ($groupIdList as $i => $iValue) {
1966
			$this->options['query']['GroupIdList.' . ($i + 1)] = $iValue;
1967
		}
1968
1969
		return $this;
1970
    }
1971
1972
    /**
1973
     * @param array $roleIdList
1974
     *
1975
     * @return $this
1976
     */
1977
	public function withRoleIdList(array $roleIdList)
1978
	{
1979
	    $this->data['RoleIdList'] = $roleIdList;
1980
		foreach ($roleIdList as $i => $iValue) {
1981
			$this->options['query']['RoleIdList.' . ($i + 1)] = $iValue;
1982
		}
1983
1984
		return $this;
1985
    }
1986
}
1987
1988
/**
1989
 * @method string getResourceOwnerId()
1990
 * @method $this withResourceOwnerId($value)
1991
 * @method string getClusterId()
1992
 * @method $this withClusterId($value)
1993
 * @method array getUserInfo()
1994
 */
1995
class CreateUsers extends Rpc
1996
{
1997
1998
    /**
1999
     * @param array $userInfo
2000
     *
2001
     * @return $this
2002
     */
2003
	public function withUserInfo(array $userInfo)
2004
	{
2005
	    $this->data['UserInfo'] = $userInfo;
2006
		foreach ($userInfo as $depth1 => $depth1Value) {
2007
			if(isset($depth1Value['Type'])){
2008
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2009
			}
2010
			if(isset($depth1Value['UserId'])){
2011
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
2012
			}
2013
			if(isset($depth1Value['UserName'])){
2014
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
2015
			}
2016
		}
2017
2018
		return $this;
2019
    }
2020
}
2021
2022
/**
2023
 * @method string getResourceOwnerId()
2024
 * @method $this withResourceOwnerId($value)
2025
 * @method string getHostInstanceId()
2026
 * @method $this withHostInstanceId($value)
2027
 * @method string getComponentName()
2028
 * @method $this withComponentName($value)
2029
 * @method string getClusterId()
2030
 * @method $this withClusterId($value)
2031
 * @method string getTimeoutSeconds()
2032
 * @method $this withTimeoutSeconds($value)
2033
 * @method string getServiceName()
2034
 * @method $this withServiceName($value)
2035
 */
2036
class DecommissionHostComponent extends Rpc
2037
{
2038
}
2039
2040
/**
2041
 * @method string getResourceOwnerId()
2042
 * @method $this withResourceOwnerId($value)
2043
 * @method string getResourceGroupId()
2044
 * @method $this withResourceGroupId($value)
2045
 * @method string getBizId()
2046
 * @method $this withBizId($value)
2047
 */
2048
class DeleteClusterTemplate extends Rpc
2049
{
2050
}
2051
2052
/**
2053
 * @method string getResourceOwnerId()
2054
 * @method $this withResourceOwnerId($value)
2055
 * @method string getId()
2056
 * @method $this withId($value)
2057
 */
2058
class DeleteExecutionPlan extends Rpc
2059
{
2060
}
2061
2062
/**
2063
 * @method string getId()
2064
 * @method $this withId($value)
2065
 * @method string getProjectId()
2066
 * @method $this withProjectId($value)
2067
 */
2068
class DeleteFlow extends Rpc
2069
{
2070
}
2071
2072
/**
2073
 * @method string getId()
2074
 * @method $this withId($value)
2075
 * @method string getProjectId()
2076
 * @method $this withProjectId($value)
2077
 */
2078
class DeleteFlowCategory extends Rpc
2079
{
2080
}
2081
2082
/**
2083
 * @method string getId()
2084
 * @method $this withId($value)
2085
 * @method string getProjectId()
2086
 * @method $this withProjectId($value)
2087
 */
2088
class DeleteFlowJob extends Rpc
2089
{
2090
}
2091
2092
/**
2093
 * @method string getProjectId()
2094
 * @method $this withProjectId($value)
2095
 */
2096
class DeleteFlowProject extends Rpc
2097
{
2098
}
2099
2100
/**
2101
 * @method string getClusterId()
2102
 * @method $this withClusterId($value)
2103
 * @method string getProjectId()
2104
 * @method $this withProjectId($value)
2105
 */
2106
class DeleteFlowProjectClusterSetting extends Rpc
2107
{
2108
}
2109
2110
/**
2111
 * @method string getProjectId()
2112
 * @method $this withProjectId($value)
2113
 * @method string getUserName()
2114
 * @method $this withUserName($value)
2115
 */
2116
class DeleteFlowProjectUser extends Rpc
2117
{
2118
}
2119
2120
/**
2121
 * @method string getResourceOwnerId()
2122
 * @method $this withResourceOwnerId($value)
2123
 * @method string getResourceGroupId()
2124
 * @method $this withResourceGroupId($value)
2125
 * @method string getId()
2126
 * @method $this withId($value)
2127
 */
2128
class DeleteJob extends Rpc
2129
{
2130
}
2131
2132
/**
2133
 * @method string getResourceOwnerId()
2134
 * @method $this withResourceOwnerId($value)
2135
 * @method array getLibraryBizIdList()
2136
 */
2137
class DeleteLibraries extends Rpc
2138
{
2139
2140
    /**
2141
     * @param array $libraryBizIdList
2142
     *
2143
     * @return $this
2144
     */
2145
	public function withLibraryBizIdList(array $libraryBizIdList)
2146
	{
2147
	    $this->data['LibraryBizIdList'] = $libraryBizIdList;
2148
		foreach ($libraryBizIdList as $i => $iValue) {
2149
			$this->options['query']['LibraryBizIdList.' . ($i + 1)] = $iValue;
2150
		}
2151
2152
		return $this;
2153
    }
2154
}
2155
2156
/**
2157
 * @method string getResourceOwnerId()
2158
 * @method $this withResourceOwnerId($value)
2159
 * @method string getResourcePoolId()
2160
 * @method $this withResourcePoolId($value)
2161
 * @method string getClusterId()
2162
 * @method $this withClusterId($value)
2163
 */
2164
class DeleteResourcePool extends Rpc
2165
{
2166
}
2167
2168
/**
2169
 * @method string getResourceOwnerId()
2170
 * @method $this withResourceOwnerId($value)
2171
 * @method string getClusterId()
2172
 * @method $this withClusterId($value)
2173
 * @method string getResourceQueueId()
2174
 * @method $this withResourceQueueId($value)
2175
 */
2176
class DeleteResourceQueue extends Rpc
2177
{
2178
}
2179
2180
/**
2181
 * @method string getResourceOwnerId()
2182
 * @method $this withResourceOwnerId($value)
2183
 * @method string getClusterId()
2184
 * @method $this withClusterId($value)
2185
 * @method string getScalingRuleId()
2186
 * @method $this withScalingRuleId($value)
2187
 * @method string getHostGroupId()
2188
 * @method $this withHostGroupId($value)
2189
 */
2190
class DeleteScalingRule extends Rpc
2191
{
2192
}
2193
2194
/**
2195
 * @method string getResourceOwnerId()
2196
 * @method $this withResourceOwnerId($value)
2197
 * @method string getDescription()
2198
 * @method $this withDescription($value)
2199
 * @method string getName()
2200
 * @method $this withName($value)
2201
 * @method string getId()
2202
 * @method $this withId($value)
2203
 * @method string getCategory()
2204
 * @method $this withCategory($value)
2205
 */
2206
class DeleteTag extends Rpc
2207
{
2208
}
2209
2210
/**
2211
 * @method string getResourceOwnerId()
2212
 * @method $this withResourceOwnerId($value)
2213
 * @method string getClusterId()
2214
 * @method $this withClusterId($value)
2215
 * @method string getType()
2216
 * @method $this withType($value)
2217
 * @method string getUserId()
2218
 * @method $this withUserId($value)
2219
 */
2220
class DeleteUser extends Rpc
2221
{
2222
}
2223
2224
/**
2225
 * @method string getResourceOwnerId()
2226
 * @method $this withResourceOwnerId($value)
2227
 * @method string getClusterId()
2228
 * @method $this withClusterId($value)
2229
 */
2230
class DescribeClusterBasicInfo extends Rpc
2231
{
2232
}
2233
2234
/**
2235
 * @method string getResourceOwnerId()
2236
 * @method $this withResourceOwnerId($value)
2237
 * @method string getClusterId()
2238
 * @method $this withClusterId($value)
2239
 */
2240
class DescribeClusterMetaCollect extends Rpc
2241
{
2242
}
2243
2244
/**
2245
 * @method string getResourceOwnerId()
2246
 * @method $this withResourceOwnerId($value)
2247
 * @method string getHostId()
2248
 * @method $this withHostId($value)
2249
 * @method string getClusterId()
2250
 * @method $this withClusterId($value)
2251
 * @method string getOperationId()
2252
 * @method $this withOperationId($value)
2253
 * @method string getTaskId()
2254
 * @method $this withTaskId($value)
2255
 * @method string getStatus()
2256
 * @method $this withStatus($value)
2257
 */
2258
class DescribeClusterOperationHostTaskLog extends Rpc
2259
{
2260
}
2261
2262
/**
2263
 * @method string getResourceOwnerId()
2264
 * @method $this withResourceOwnerId($value)
2265
 * @method string getClusterId()
2266
 * @method $this withClusterId($value)
2267
 */
2268
class DescribeClusterResourcePoolSchedulerType extends Rpc
2269
{
2270
}
2271
2272
/**
2273
 * @method string getResourceOwnerId()
2274
 * @method $this withResourceOwnerId($value)
2275
 * @method string getClusterId()
2276
 * @method $this withClusterId($value)
2277
 * @method string getServiceName()
2278
 * @method $this withServiceName($value)
2279
 */
2280
class DescribeClusterService extends Rpc
2281
{
2282
}
2283
2284
/**
2285
 * @method string getResourceOwnerId()
2286
 * @method $this withResourceOwnerId($value)
2287
 * @method string getHostInstanceId()
2288
 * @method $this withHostInstanceId($value)
2289
 * @method string getTagValue()
2290
 * @method $this withTagValue($value)
2291
 * @method string getGroupId()
2292
 * @method $this withGroupId($value)
2293
 * @method string getClusterId()
2294
 * @method $this withClusterId($value)
2295
 * @method string getConfigVersion()
2296
 * @method $this withConfigVersion($value)
2297
 * @method string getServiceName()
2298
 * @method $this withServiceName($value)
2299
 */
2300
class DescribeClusterServiceConfig extends Rpc
2301
{
2302
}
2303
2304
/**
2305
 * @method string getResourceOwnerId()
2306
 * @method $this withResourceOwnerId($value)
2307
 * @method string getClusterId()
2308
 * @method $this withClusterId($value)
2309
 * @method string getConfigVersion()
2310
 * @method $this withConfigVersion($value)
2311
 * @method string getServiceName()
2312
 * @method $this withServiceName($value)
2313
 */
2314
class DescribeClusterServiceConfigHistory extends Rpc
2315
{
2316
}
2317
2318
/**
2319
 * @method string getResourceOwnerId()
2320
 * @method $this withResourceOwnerId($value)
2321
 * @method string getClusterId()
2322
 * @method $this withClusterId($value)
2323
 * @method string getConfigTag()
2324
 * @method $this withConfigTag($value)
2325
 * @method string getServiceName()
2326
 * @method $this withServiceName($value)
2327
 */
2328
class DescribeClusterServiceConfigTag extends Rpc
2329
{
2330
}
2331
2332
/**
2333
 * @method string getResourceOwnerId()
2334
 * @method $this withResourceOwnerId($value)
2335
 * @method string getResourceGroupId()
2336
 * @method $this withResourceGroupId($value)
2337
 * @method string getBizId()
2338
 * @method $this withBizId($value)
2339
 */
2340
class DescribeClusterTemplate extends Rpc
2341
{
2342
}
2343
2344
/**
2345
 * @method string getResourceOwnerId()
2346
 * @method $this withResourceOwnerId($value)
2347
 * @method string getId()
2348
 * @method $this withId($value)
2349
 */
2350
class DescribeClusterV2 extends Rpc
2351
{
2352
}
2353
2354
/**
2355
 * @method string getResourceOwnerId()
2356
 * @method $this withResourceOwnerId($value)
2357
 * @method string getResourceGroupId()
2358
 * @method $this withResourceGroupId($value)
2359
 * @method string getId()
2360
 * @method $this withId($value)
2361
 */
2362
class DescribeDataSource extends Rpc
2363
{
2364
}
2365
2366
/**
2367
 * @method string getEventId()
2368
 * @method $this withEventId($value)
2369
 * @method string getResourceOwnerId()
2370
 * @method $this withResourceOwnerId($value)
2371
 * @method string getCurrentStage()
2372
 * @method $this withCurrentStage($value)
2373
 * @method string getClusterId()
2374
 * @method $this withClusterId($value)
2375
 * @method string getInstanceId()
2376
 * @method $this withInstanceId($value)
2377
 * @method string getDiskId()
2378
 * @method $this withDiskId($value)
2379
 * @method string getCurrentState()
2380
 * @method $this withCurrentState($value)
2381
 */
2382
class DescribeDiskOpsActivity extends Rpc
2383
{
2384
}
2385
2386
/**
2387
 * @method string getResourceOwnerId()
2388
 * @method $this withResourceOwnerId($value)
2389
 * @method string getEmrVersion()
2390
 * @method $this withEmrVersion($value)
2391
 */
2392
class DescribeEmrMainVersion extends Rpc
2393
{
2394
}
2395
2396
/**
2397
 * @method string getResourceOwnerId()
2398
 * @method $this withResourceOwnerId($value)
2399
 * @method string getId()
2400
 * @method $this withId($value)
2401
 */
2402
class DescribeExecutionPlan extends Rpc
2403
{
2404
}
2405
2406
/**
2407
 * @method string getId()
2408
 * @method $this withId($value)
2409
 * @method string getProjectId()
2410
 * @method $this withProjectId($value)
2411
 */
2412
class DescribeFlow extends Rpc
2413
{
2414
}
2415
2416
/**
2417
 * @method string getId()
2418
 * @method $this withId($value)
2419
 * @method string getProjectId()
2420
 * @method $this withProjectId($value)
2421
 */
2422
class DescribeFlowCategory extends Rpc
2423
{
2424
}
2425
2426
/**
2427
 * @method string getType()
2428
 * @method $this withType($value)
2429
 * @method string getMode()
2430
 * @method $this withMode($value)
2431
 * @method string getKeyword()
2432
 * @method $this withKeyword($value)
2433
 * @method string getProjectId()
2434
 * @method $this withProjectId($value)
2435
 * @method string getCategoryId()
2436
 * @method $this withCategoryId($value)
2437
 */
2438
class DescribeFlowCategoryTree extends Rpc
2439
{
2440
}
2441
2442
/**
2443
 * @method string getId()
2444
 * @method $this withId($value)
2445
 * @method string getProjectId()
2446
 * @method $this withProjectId($value)
2447
 */
2448
class DescribeFlowInstance extends Rpc
2449
{
2450
}
2451
2452
/**
2453
 * @method string getId()
2454
 * @method $this withId($value)
2455
 * @method string getProjectId()
2456
 * @method $this withProjectId($value)
2457
 */
2458
class DescribeFlowJob extends Rpc
2459
{
2460
}
2461
2462
/**
2463
 * @method string getId()
2464
 * @method $this withId($value)
2465
 * @method string getProjectId()
2466
 * @method $this withProjectId($value)
2467
 */
2468
class DescribeFlowNodeInstance extends Rpc
2469
{
2470
}
2471
2472
/**
2473
 * @method string getOffset()
2474
 * @method $this withOffset($value)
2475
 * @method string getLogName()
2476
 * @method $this withLogName($value)
2477
 * @method string getLength()
2478
 * @method $this withLength($value)
2479
 * @method string getNodeInstanceId()
2480
 * @method $this withNodeInstanceId($value)
2481
 * @method string getAppId()
2482
 * @method $this withAppId($value)
2483
 * @method string getContainerId()
2484
 * @method $this withContainerId($value)
2485
 * @method string getProjectId()
2486
 * @method $this withProjectId($value)
2487
 */
2488
class DescribeFlowNodeInstanceContainerLog extends Rpc
2489
{
2490
}
2491
2492
/**
2493
 * @method string getOffset()
2494
 * @method $this withOffset($value)
2495
 * @method string getStart()
2496
 * @method $this withStart($value)
2497
 * @method string getLength()
2498
 * @method $this withLength($value)
2499
 * @method string getEndTime()
2500
 * @method $this withEndTime($value)
2501
 * @method string getStartTime()
2502
 * @method $this withStartTime($value)
2503
 * @method string getReverse()
2504
 * @method $this withReverse($value)
2505
 * @method string getNodeInstanceId()
2506
 * @method $this withNodeInstanceId($value)
2507
 * @method string getLines()
2508
 * @method $this withLines($value)
2509
 * @method string getProjectId()
2510
 * @method $this withProjectId($value)
2511
 */
2512
class DescribeFlowNodeInstanceLauncherLog extends Rpc
2513
{
2514
}
2515
2516
/**
2517
 * @method string getProjectId()
2518
 * @method $this withProjectId($value)
2519
 */
2520
class DescribeFlowProject extends Rpc
2521
{
2522
}
2523
2524
/**
2525
 * @method string getClusterId()
2526
 * @method $this withClusterId($value)
2527
 * @method string getProjectId()
2528
 * @method $this withProjectId($value)
2529
 */
2530
class DescribeFlowProjectClusterSetting extends Rpc
2531
{
2532
}
2533
2534
/**
2535
 * @method string getResourceOwnerId()
2536
 * @method $this withResourceOwnerId($value)
2537
 * @method string getResourceGroupId()
2538
 * @method $this withResourceGroupId($value)
2539
 * @method string getId()
2540
 * @method $this withId($value)
2541
 */
2542
class DescribeJob extends Rpc
2543
{
2544
}
2545
2546
/**
2547
 * @method string getResourceOwnerId()
2548
 * @method $this withResourceOwnerId($value)
2549
 * @method string getLibraryBizId()
2550
 * @method $this withLibraryBizId($value)
2551
 */
2552
class DescribeLibraryDetail extends Rpc
2553
{
2554
}
2555
2556
/**
2557
 * @method string getResourceOwnerId()
2558
 * @method $this withResourceOwnerId($value)
2559
 * @method string getTaskBizId()
2560
 * @method $this withTaskBizId($value)
2561
 */
2562
class DescribeLibraryInstallTaskDetail extends Rpc
2563
{
2564
}
2565
2566
/**
2567
 * @method string getResourceOwnerId()
2568
 * @method $this withResourceOwnerId($value)
2569
 * @method string getResourceGroupId()
2570
 * @method $this withResourceGroupId($value)
2571
 * @method string getTaskId()
2572
 * @method $this withTaskId($value)
2573
 */
2574
class DescribeMetaTablePreviewTask extends Rpc
2575
{
2576
}
2577
2578
/**
2579
 * @method string getResourceOwnerId()
2580
 * @method $this withResourceOwnerId($value)
2581
 * @method string getClusterId()
2582
 * @method $this withClusterId($value)
2583
 * @method string getScalingActivityId()
2584
 * @method $this withScalingActivityId($value)
2585
 * @method string getHostGroupId()
2586
 * @method $this withHostGroupId($value)
2587
 */
2588
class DescribeScalingActivity extends Rpc
2589
{
2590
}
2591
2592
/**
2593
 * @method string getResourceOwnerId()
2594
 * @method $this withResourceOwnerId($value)
2595
 * @method string getResourceGroupId()
2596
 * @method $this withResourceGroupId($value)
2597
 */
2598
class DescribeScalingCommonConfig extends Rpc
2599
{
2600
}
2601
2602
/**
2603
 * @method string getConfigItemType()
2604
 * @method $this withConfigItemType($value)
2605
 * @method string getResourceOwnerId()
2606
 * @method $this withResourceOwnerId($value)
2607
 * @method string getScalingGroupBizId()
2608
 * @method $this withScalingGroupBizId($value)
2609
 * @method string getResourceGroupId()
2610
 * @method $this withResourceGroupId($value)
2611
 * @method string getScalingConfigItemId()
2612
 * @method $this withScalingConfigItemId($value)
2613
 */
2614
class DescribeScalingConfigItemV2 extends Rpc
2615
{
2616
}
2617
2618
/**
2619
 * @method string getResourceOwnerId()
2620
 * @method $this withResourceOwnerId($value)
2621
 * @method string getScalingGroupBizId()
2622
 * @method $this withScalingGroupBizId($value)
2623
 * @method string getResourceGroupId()
2624
 * @method $this withResourceGroupId($value)
2625
 * @method string getHostGroupBizId()
2626
 * @method $this withHostGroupBizId($value)
2627
 */
2628
class DescribeScalingGroupInstanceV2 extends Rpc
2629
{
2630
}
2631
2632
/**
2633
 * @method string getResourceOwnerId()
2634
 * @method $this withResourceOwnerId($value)
2635
 * @method string getScalingGroupBizId()
2636
 * @method $this withScalingGroupBizId($value)
2637
 * @method string getResourceGroupId()
2638
 * @method $this withResourceGroupId($value)
2639
 * @method string getHostGroupBizId()
2640
 * @method $this withHostGroupBizId($value)
2641
 */
2642
class DescribeScalingGroupV2 extends Rpc
2643
{
2644
}
2645
2646
/**
2647
 * @method string getResourceOwnerId()
2648
 * @method $this withResourceOwnerId($value)
2649
 * @method string getClusterId()
2650
 * @method $this withClusterId($value)
2651
 * @method string getScalingRuleId()
2652
 * @method $this withScalingRuleId($value)
2653
 * @method string getHostGroupId()
2654
 * @method $this withHostGroupId($value)
2655
 */
2656
class DescribeScalingRule extends Rpc
2657
{
2658
}
2659
2660
/**
2661
 * @method string getResourceOwnerId()
2662
 * @method $this withResourceOwnerId($value)
2663
 * @method string getClusterId()
2664
 * @method $this withClusterId($value)
2665
 * @method string getResourceGroupId()
2666
 * @method $this withResourceGroupId($value)
2667
 */
2668
class DescribeSecurityGroupAttribute extends Rpc
2669
{
2670
}
2671
2672
/**
2673
 * @method string getResourceOwnerId()
2674
 * @method $this withResourceOwnerId($value)
2675
 * @method string getTargetClusterId()
2676
 * @method $this withTargetClusterId($value)
2677
 * @method string getVswitchId()
2678
 * @method $this withVswitchId($value)
2679
 */
2680
class DetachAndReleaseClusterEni extends Rpc
2681
{
2682
}
2683
2684
/**
2685
 * @method string getFromDatetime()
2686
 * @method $this withFromDatetime($value)
2687
 * @method string getResourceOwnerId()
2688
 * @method $this withResourceOwnerId($value)
2689
 * @method string getClusterId()
2690
 * @method $this withClusterId($value)
2691
 * @method string getToDatetime()
2692
 * @method $this withToDatetime($value)
2693
 */
2694
class GetHdfsCapacityStatisticInfo extends Rpc
2695
{
2696
}
2697
2698
/**
2699
 * @method string getFromDatetime()
2700
 * @method $this withFromDatetime($value)
2701
 * @method string getResourceOwnerId()
2702
 * @method $this withResourceOwnerId($value)
2703
 * @method string getClusterId()
2704
 * @method $this withClusterId($value)
2705
 * @method string getToDatetime()
2706
 * @method $this withToDatetime($value)
2707
 * @method string getPageNumber()
2708
 * @method $this withPageNumber($value)
2709
 * @method string getPageSize()
2710
 * @method $this withPageSize($value)
2711
 */
2712
class GetJobInputStatisticInfo extends Rpc
2713
{
2714
}
2715
2716
/**
2717
 * @method string getFromDatetime()
2718
 * @method $this withFromDatetime($value)
2719
 * @method string getResourceOwnerId()
2720
 * @method $this withResourceOwnerId($value)
2721
 * @method string getClusterId()
2722
 * @method $this withClusterId($value)
2723
 * @method string getToDatetime()
2724
 * @method $this withToDatetime($value)
2725
 * @method string getPageNumber()
2726
 * @method $this withPageNumber($value)
2727
 * @method string getPageSize()
2728
 * @method $this withPageSize($value)
2729
 */
2730
class GetJobOutputStatisticInfo extends Rpc
2731
{
2732
}
2733
2734
/**
2735
 * @method string getFromDatetime()
2736
 * @method $this withFromDatetime($value)
2737
 * @method string getResourceOwnerId()
2738
 * @method $this withResourceOwnerId($value)
2739
 * @method string getClusterId()
2740
 * @method $this withClusterId($value)
2741
 * @method string getToDatetime()
2742
 * @method $this withToDatetime($value)
2743
 * @method string getPageNumber()
2744
 * @method $this withPageNumber($value)
2745
 * @method string getPageSize()
2746
 * @method $this withPageSize($value)
2747
 */
2748
class GetJobRunningTimeStatisticInfo extends Rpc
2749
{
2750
}
2751
2752
/**
2753
 * @method string getFromDatetime()
2754
 * @method $this withFromDatetime($value)
2755
 * @method string getResourceOwnerId()
2756
 * @method $this withResourceOwnerId($value)
2757
 * @method string getClusterId()
2758
 * @method $this withClusterId($value)
2759
 * @method string getToDatetime()
2760
 * @method $this withToDatetime($value)
2761
 */
2762
class GetQueueInputStatisticInfo extends Rpc
2763
{
2764
}
2765
2766
/**
2767
 * @method string getFromDatetime()
2768
 * @method $this withFromDatetime($value)
2769
 * @method string getResourceOwnerId()
2770
 * @method $this withResourceOwnerId($value)
2771
 * @method string getClusterId()
2772
 * @method $this withClusterId($value)
2773
 * @method string getToDatetime()
2774
 * @method $this withToDatetime($value)
2775
 */
2776
class GetQueueOutputStatisticInfo extends Rpc
2777
{
2778
}
2779
2780
/**
2781
 * @method string getFromDatetime()
2782
 * @method $this withFromDatetime($value)
2783
 * @method string getResourceOwnerId()
2784
 * @method $this withResourceOwnerId($value)
2785
 * @method string getClusterId()
2786
 * @method $this withClusterId($value)
2787
 * @method string getToDatetime()
2788
 * @method $this withToDatetime($value)
2789
 * @method string getFinalStatus()
2790
 * @method $this withFinalStatus($value)
2791
 * @method string getApplicationType()
2792
 * @method $this withApplicationType($value)
2793
 */
2794
class GetQueueSubmissionStatisticInfo extends Rpc
2795
{
2796
}
2797
2798
/**
2799
 * @method string getFromDatetime()
2800
 * @method $this withFromDatetime($value)
2801
 * @method string getResourceOwnerId()
2802
 * @method $this withResourceOwnerId($value)
2803
 * @method string getClusterId()
2804
 * @method $this withClusterId($value)
2805
 * @method string getToDatetime()
2806
 * @method $this withToDatetime($value)
2807
 */
2808
class GetUserInputStatisticInfo extends Rpc
2809
{
2810
}
2811
2812
/**
2813
 * @method string getFromDatetime()
2814
 * @method $this withFromDatetime($value)
2815
 * @method string getResourceOwnerId()
2816
 * @method $this withResourceOwnerId($value)
2817
 * @method string getClusterId()
2818
 * @method $this withClusterId($value)
2819
 * @method string getToDatetime()
2820
 * @method $this withToDatetime($value)
2821
 */
2822
class GetUserOutputStatisticInfo extends Rpc
2823
{
2824
}
2825
2826
/**
2827
 * @method string getFromDatetime()
2828
 * @method $this withFromDatetime($value)
2829
 * @method string getResourceOwnerId()
2830
 * @method $this withResourceOwnerId($value)
2831
 * @method string getClusterId()
2832
 * @method $this withClusterId($value)
2833
 * @method string getToDatetime()
2834
 * @method $this withToDatetime($value)
2835
 * @method string getFinalStatus()
2836
 * @method $this withFinalStatus($value)
2837
 * @method string getApplicationType()
2838
 * @method $this withApplicationType($value)
2839
 */
2840
class GetUserSubmissionStatisticInfo extends Rpc
2841
{
2842
}
2843
2844
/**
2845
 * @method string getResourceOwnerId()
2846
 * @method $this withResourceOwnerId($value)
2847
 * @method string getLibraryBizId()
2848
 * @method $this withLibraryBizId($value)
2849
 * @method array getClusterBizIdList()
2850
 */
2851
class InstallLibraries extends Rpc
2852
{
2853
2854
    /**
2855
     * @param array $clusterBizIdList
2856
     *
2857
     * @return $this
2858
     */
2859
	public function withClusterBizIdList(array $clusterBizIdList)
2860
	{
2861
	    $this->data['ClusterBizIdList'] = $clusterBizIdList;
2862
		foreach ($clusterBizIdList as $i => $iValue) {
2863
			$this->options['query']['ClusterBizIdList.' . ($i + 1)] = $iValue;
2864
		}
2865
2866
		return $this;
2867
    }
2868
}
2869
2870
/**
2871
 * @method string getResourceOwnerId()
2872
 * @method $this withResourceOwnerId($value)
2873
 * @method string getResourceId()
2874
 * @method $this withResourceId($value)
2875
 * @method string getResourceType()
2876
 * @method $this withResourceType($value)
2877
 * @method string getResourceGroupId()
2878
 * @method $this withResourceGroupId($value)
2879
 */
2880
class JoinResourceGroup extends Rpc
2881
{
2882
}
2883
2884
/**
2885
 * @method string getJobInstanceId()
2886
 * @method $this withJobInstanceId($value)
2887
 * @method string getProjectId()
2888
 * @method $this withProjectId($value)
2889
 */
2890
class KillFlowJob extends Rpc
2891
{
2892
}
2893
2894
/**
2895
 * @method string getResourceOwnerId()
2896
 * @method $this withResourceOwnerId($value)
2897
 * @method string getClusterId()
2898
 * @method $this withClusterId($value)
2899
 * @method string getPageNumber()
2900
 * @method $this withPageNumber($value)
2901
 * @method string getComponent()
2902
 * @method $this withComponent($value)
2903
 * @method string getPageSize()
2904
 * @method $this withPageSize($value)
2905
 * @method string getServiceName()
2906
 * @method $this withServiceName($value)
2907
 */
2908
class ListAdviceAction extends Rpc
2909
{
2910
}
2911
2912
/**
2913
 * @method string getResourceOwnerId()
2914
 * @method $this withResourceOwnerId($value)
2915
 * @method string getPageNumber()
2916
 * @method $this withPageNumber($value)
2917
 * @method string getFinalStatus()
2918
 * @method $this withFinalStatus($value)
2919
 * @method string getPageSize()
2920
 * @method $this withPageSize($value)
2921
 * @method string getState()
2922
 * @method $this withState($value)
2923
 * @method string getStartTimeTo()
2924
 * @method $this withStartTimeTo($value)
2925
 * @method string getDiagnoseResult()
2926
 * @method $this withDiagnoseResult($value)
2927
 * @method string getEndTimeFrom()
2928
 * @method $this withEndTimeFrom($value)
2929
 * @method string getOrderBy()
2930
 * @method $this withOrderBy($value)
2931
 * @method string getClusterId()
2932
 * @method $this withClusterId($value)
2933
 * @method string getJobType()
2934
 * @method $this withJobType($value)
2935
 * @method string getStartTimeFrom()
2936
 * @method $this withStartTimeFrom($value)
2937
 * @method string getAppId()
2938
 * @method $this withAppId($value)
2939
 * @method string getName()
2940
 * @method $this withName($value)
2941
 * @method string getUser()
2942
 * @method $this withUser($value)
2943
 * @method string getEndTimeTo()
2944
 * @method $this withEndTimeTo($value)
2945
 * @method string getQueue()
2946
 * @method $this withQueue($value)
2947
 */
2948
class ListApmApplication extends Rpc
2949
{
2950
}
2951
2952
/**
2953
 * @method string getResourceOwnerId()
2954
 * @method $this withResourceOwnerId($value)
2955
 * @method string getPageCount()
2956
 * @method $this withPageCount($value)
2957
 * @method string getOrderMode()
2958
 * @method $this withOrderMode($value)
2959
 * @method string getBackupPlanId()
2960
 * @method $this withBackupPlanId($value)
2961
 * @method string getPageNumber()
2962
 * @method $this withPageNumber($value)
2963
 * @method string getLimit()
2964
 * @method $this withLimit($value)
2965
 * @method string getPageSize()
2966
 * @method $this withPageSize($value)
2967
 * @method string getServiceName()
2968
 * @method $this withServiceName($value)
2969
 * @method string getId()
2970
 * @method $this withId($value)
2971
 * @method string getCurrentSize()
2972
 * @method $this withCurrentSize($value)
2973
 * @method array getBackupId()
2974
 * @method string getClusterId()
2975
 * @method $this withClusterId($value)
2976
 * @method string getMetadataType()
2977
 * @method $this withMetadataType($value)
2978
 * @method string getBizId()
2979
 * @method $this withBizId($value)
2980
 * @method string getStatus()
2981
 * @method $this withStatus($value)
2982
 */
2983
class ListBackups extends Rpc
2984
{
2985
2986
    /**
2987
     * @param array $backupId
2988
     *
2989
     * @return $this
2990
     */
2991
	public function withBackupId(array $backupId)
2992
	{
2993
	    $this->data['BackupId'] = $backupId;
2994
		foreach ($backupId as $i => $iValue) {
2995
			$this->options['query']['BackupId.' . ($i + 1)] = $iValue;
2996
		}
2997
2998
		return $this;
2999
    }
3000
}
3001
3002
/**
3003
 * @method string getResourceOwnerId()
3004
 * @method $this withResourceOwnerId($value)
3005
 * @method string getHostInstanceId()
3006
 * @method $this withHostInstanceId($value)
3007
 * @method array getStatusList()
3008
 * @method string getComponentName()
3009
 * @method $this withComponentName($value)
3010
 * @method string getPublicIp()
3011
 * @method $this withPublicIp($value)
3012
 * @method string getPageNumber()
3013
 * @method $this withPageNumber($value)
3014
 * @method string getHostName()
3015
 * @method $this withHostName($value)
3016
 * @method string getGroupType()
3017
 * @method $this withGroupType($value)
3018
 * @method string getPageSize()
3019
 * @method $this withPageSize($value)
3020
 * @method string getPrivateIp()
3021
 * @method $this withPrivateIp($value)
3022
 * @method string getClusterId()
3023
 * @method $this withClusterId($value)
3024
 * @method string getHostGroupId()
3025
 * @method $this withHostGroupId($value)
3026
 */
3027
class ListClusterHost extends Rpc
3028
{
3029
3030
    /**
3031
     * @param array $statusList
3032
     *
3033
     * @return $this
3034
     */
3035
	public function withStatusList(array $statusList)
3036
	{
3037
	    $this->data['StatusList'] = $statusList;
3038
		foreach ($statusList as $i => $iValue) {
3039
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3040
		}
3041
3042
		return $this;
3043
    }
3044
}
3045
3046
/**
3047
 * @method string getResourceOwnerId()
3048
 * @method $this withResourceOwnerId($value)
3049
 * @method string getHostInstanceId()
3050
 * @method $this withHostInstanceId($value)
3051
 * @method string getComponentName()
3052
 * @method $this withComponentName($value)
3053
 * @method string getPageNumber()
3054
 * @method $this withPageNumber($value)
3055
 * @method string getComponentStatus()
3056
 * @method $this withComponentStatus($value)
3057
 * @method string getHostName()
3058
 * @method $this withHostName($value)
3059
 * @method string getPageSize()
3060
 * @method $this withPageSize($value)
3061
 * @method string getServiceName()
3062
 * @method $this withServiceName($value)
3063
 * @method string getClusterId()
3064
 * @method $this withClusterId($value)
3065
 * @method string getHostRole()
3066
 * @method $this withHostRole($value)
3067
 */
3068
class ListClusterHostComponent extends Rpc
3069
{
3070
}
3071
3072
/**
3073
 * @method string getResourceOwnerId()
3074
 * @method $this withResourceOwnerId($value)
3075
 * @method array getStatusList()
3076
 * @method string getClusterId()
3077
 * @method $this withClusterId($value)
3078
 * @method string getHostGroupName()
3079
 * @method $this withHostGroupName($value)
3080
 * @method string getPageNumber()
3081
 * @method $this withPageNumber($value)
3082
 * @method string getHostGroupId()
3083
 * @method $this withHostGroupId($value)
3084
 * @method string getPageSize()
3085
 * @method $this withPageSize($value)
3086
 * @method string getHostGroupType()
3087
 * @method $this withHostGroupType($value)
3088
 */
3089
class ListClusterHostGroup extends Rpc
3090
{
3091
3092
    /**
3093
     * @param array $statusList
3094
     *
3095
     * @return $this
3096
     */
3097
	public function withStatusList(array $statusList)
3098
	{
3099
	    $this->data['StatusList'] = $statusList;
3100
		foreach ($statusList as $i => $iValue) {
3101
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3102
		}
3103
3104
		return $this;
3105
    }
3106
}
3107
3108
/**
3109
 * @method string getResourceOwnerId()
3110
 * @method $this withResourceOwnerId($value)
3111
 * @method string getClusterId()
3112
 * @method $this withClusterId($value)
3113
 * @method string getPageNumber()
3114
 * @method $this withPageNumber($value)
3115
 * @method string getPageSize()
3116
 * @method $this withPageSize($value)
3117
 */
3118
class ListClusterInstalledService extends Rpc
3119
{
3120
}
3121
3122
/**
3123
 * @method string getResourceOwnerId()
3124
 * @method $this withResourceOwnerId($value)
3125
 * @method string getClusterId()
3126
 * @method $this withClusterId($value)
3127
 * @method string getPageNumber()
3128
 * @method $this withPageNumber($value)
3129
 * @method string getPageSize()
3130
 * @method $this withPageSize($value)
3131
 * @method string getOperationId()
3132
 * @method $this withOperationId($value)
3133
 * @method string getServiceName()
3134
 * @method $this withServiceName($value)
3135
 * @method string getStatus()
3136
 * @method $this withStatus($value)
3137
 */
3138
class ListClusterOperation extends Rpc
3139
{
3140
}
3141
3142
/**
3143
 * @method string getResourceOwnerId()
3144
 * @method $this withResourceOwnerId($value)
3145
 * @method string getClusterId()
3146
 * @method $this withClusterId($value)
3147
 * @method string getPageNumber()
3148
 * @method $this withPageNumber($value)
3149
 * @method string getPageSize()
3150
 * @method $this withPageSize($value)
3151
 * @method string getOperationId()
3152
 * @method $this withOperationId($value)
3153
 * @method string getStatus()
3154
 * @method $this withStatus($value)
3155
 */
3156
class ListClusterOperationHost extends Rpc
3157
{
3158
}
3159
3160
/**
3161
 * @method string getResourceOwnerId()
3162
 * @method $this withResourceOwnerId($value)
3163
 * @method string getHostId()
3164
 * @method $this withHostId($value)
3165
 * @method string getClusterId()
3166
 * @method $this withClusterId($value)
3167
 * @method string getPageNumber()
3168
 * @method $this withPageNumber($value)
3169
 * @method string getPageSize()
3170
 * @method $this withPageSize($value)
3171
 * @method string getOperationId()
3172
 * @method $this withOperationId($value)
3173
 * @method string getStatus()
3174
 * @method $this withStatus($value)
3175
 */
3176
class ListClusterOperationHostTask extends Rpc
3177
{
3178
}
3179
3180
/**
3181
 * @method string getResourceOwnerId()
3182
 * @method $this withResourceOwnerId($value)
3183
 * @method string getClusterId()
3184
 * @method $this withClusterId($value)
3185
 * @method string getPageNumber()
3186
 * @method $this withPageNumber($value)
3187
 * @method string getPageSize()
3188
 * @method $this withPageSize($value)
3189
 * @method string getOperationId()
3190
 * @method $this withOperationId($value)
3191
 * @method string getStatus()
3192
 * @method $this withStatus($value)
3193
 */
3194
class ListClusterOperationTask extends Rpc
3195
{
3196
}
3197
3198
/**
3199
 * @method string getResourceOwnerId()
3200
 * @method $this withResourceOwnerId($value)
3201
 * @method array getStatusList()
3202
 * @method string getIsDesc()
3203
 * @method $this withIsDesc($value)
3204
 * @method string getDepositType()
3205
 * @method $this withDepositType($value)
3206
 * @method string getPageNumber()
3207
 * @method $this withPageNumber($value)
3208
 * @method string getMachineType()
3209
 * @method $this withMachineType($value)
3210
 * @method string getResourceGroupId()
3211
 * @method $this withResourceGroupId($value)
3212
 * @method string getPageSize()
3213
 * @method $this withPageSize($value)
3214
 * @method array getTag()
3215
 * @method string getCreateType()
3216
 * @method $this withCreateType($value)
3217
 * @method array getExpiredTagList()
3218
 * @method string getDefaultStatus()
3219
 * @method $this withDefaultStatus($value)
3220
 * @method string getVpcId()
3221
 * @method $this withVpcId($value)
3222
 * @method string getName()
3223
 * @method $this withName($value)
3224
 * @method array getClusterTypeList()
3225
 */
3226
class ListClusters extends Rpc
3227
{
3228
3229
    /**
3230
     * @param array $statusList
3231
     *
3232
     * @return $this
3233
     */
3234
	public function withStatusList(array $statusList)
3235
	{
3236
	    $this->data['StatusList'] = $statusList;
3237
		foreach ($statusList as $i => $iValue) {
3238
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3239
		}
3240
3241
		return $this;
3242
    }
3243
3244
    /**
3245
     * @param array $tag
3246
     *
3247
     * @return $this
3248
     */
3249
	public function withTag(array $tag)
3250
	{
3251
	    $this->data['Tag'] = $tag;
3252
		foreach ($tag as $depth1 => $depth1Value) {
3253
			if(isset($depth1Value['Value'])){
3254
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3255
			}
3256
			if(isset($depth1Value['Key'])){
3257
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3258
			}
3259
		}
3260
3261
		return $this;
3262
    }
3263
3264
    /**
3265
     * @param array $expiredTagList
3266
     *
3267
     * @return $this
3268
     */
3269
	public function withExpiredTagList(array $expiredTagList)
3270
	{
3271
	    $this->data['ExpiredTagList'] = $expiredTagList;
3272
		foreach ($expiredTagList as $i => $iValue) {
3273
			$this->options['query']['ExpiredTagList.' . ($i + 1)] = $iValue;
3274
		}
3275
3276
		return $this;
3277
    }
3278
3279
    /**
3280
     * @param array $clusterTypeList
3281
     *
3282
     * @return $this
3283
     */
3284
	public function withClusterTypeList(array $clusterTypeList)
3285
	{
3286
	    $this->data['ClusterTypeList'] = $clusterTypeList;
3287
		foreach ($clusterTypeList as $i => $iValue) {
3288
			$this->options['query']['ClusterTypeList.' . ($i + 1)] = $iValue;
3289
		}
3290
3291
		return $this;
3292
    }
3293
}
3294
3295
/**
3296
 * @method string getResourceOwnerId()
3297
 * @method $this withResourceOwnerId($value)
3298
 * @method string getClusterId()
3299
 * @method $this withClusterId($value)
3300
 * @method string getPageNumber()
3301
 * @method $this withPageNumber($value)
3302
 * @method string getPageSize()
3303
 * @method $this withPageSize($value)
3304
 */
3305
class ListClusterService extends Rpc
3306
{
3307
}
3308
3309
/**
3310
 * @method string getResourceOwnerId()
3311
 * @method $this withResourceOwnerId($value)
3312
 * @method string getPodName()
3313
 * @method $this withPodName($value)
3314
 * @method string getComponentName()
3315
 * @method $this withComponentName($value)
3316
 * @method string getClusterId()
3317
 * @method $this withClusterId($value)
3318
 * @method string getPageNumber()
3319
 * @method $this withPageNumber($value)
3320
 * @method string getComponentStatus()
3321
 * @method $this withComponentStatus($value)
3322
 * @method string getPageSize()
3323
 * @method $this withPageSize($value)
3324
 * @method string getServiceName()
3325
 * @method $this withServiceName($value)
3326
 */
3327
class ListClusterServiceComponent extends Rpc
3328
{
3329
}
3330
3331
/**
3332
 * @method string getResourceOwnerId()
3333
 * @method $this withResourceOwnerId($value)
3334
 * @method string getComponentName()
3335
 * @method $this withComponentName($value)
3336
 * @method string getClusterId()
3337
 * @method $this withClusterId($value)
3338
 * @method string getServiceName()
3339
 * @method $this withServiceName($value)
3340
 */
3341
class ListClusterServiceComponentHealthInfo extends Rpc
3342
{
3343
}
3344
3345
/**
3346
 * @method string getResourceOwnerId()
3347
 * @method $this withResourceOwnerId($value)
3348
 * @method string getHostInstanceId()
3349
 * @method $this withHostInstanceId($value)
3350
 * @method string getPageNumber()
3351
 * @method $this withPageNumber($value)
3352
 * @method string getConfigVersion()
3353
 * @method $this withConfigVersion($value)
3354
 * @method string getPageSize()
3355
 * @method $this withPageSize($value)
3356
 * @method string getServiceName()
3357
 * @method $this withServiceName($value)
3358
 * @method string getAuthor()
3359
 * @method $this withAuthor($value)
3360
 * @method string getClusterId()
3361
 * @method $this withClusterId($value)
3362
 * @method string getConfigFileName()
3363
 * @method $this withConfigFileName($value)
3364
 * @method string getConfigItemKey()
3365
 * @method $this withConfigItemKey($value)
3366
 * @method string getHostGroupId()
3367
 * @method $this withHostGroupId($value)
3368
 * @method string getComment()
3369
 * @method $this withComment($value)
3370
 */
3371
class ListClusterServiceConfigHistory extends Rpc
3372
{
3373
}
3374
3375
/**
3376
 * @method string getResourceOwnerId()
3377
 * @method $this withResourceOwnerId($value)
3378
 * @method string getDirectType()
3379
 * @method $this withDirectType($value)
3380
 * @method string getClusterId()
3381
 * @method $this withClusterId($value)
3382
 * @method string getServiceName()
3383
 * @method $this withServiceName($value)
3384
 */
3385
class ListClusterServiceQuickLink extends Rpc
3386
{
3387
}
3388
3389
/**
3390
 * @method string getResourceOwnerId()
3391
 * @method $this withResourceOwnerId($value)
3392
 * @method string getPageNumber()
3393
 * @method $this withPageNumber($value)
3394
 * @method string getProductType()
3395
 * @method $this withProductType($value)
3396
 * @method string getResourceGroupId()
3397
 * @method $this withResourceGroupId($value)
3398
 * @method string getBizId()
3399
 * @method $this withBizId($value)
3400
 * @method string getPageSize()
3401
 * @method $this withPageSize($value)
3402
 */
3403
class ListClusterTemplates extends Rpc
3404
{
3405
}
3406
3407
/**
3408
 * @method string getResourceOwnerId()
3409
 * @method $this withResourceOwnerId($value)
3410
 * @method string getCreateFrom()
3411
 * @method $this withCreateFrom($value)
3412
 * @method string getPageNumber()
3413
 * @method $this withPageNumber($value)
3414
 * @method string getResourceGroupId()
3415
 * @method $this withResourceGroupId($value)
3416
 * @method string getPageSize()
3417
 * @method $this withPageSize($value)
3418
 * @method string getName()
3419
 * @method $this withName($value)
3420
 * @method string getSourceType()
3421
 * @method $this withSourceType($value)
3422
 * @method string getId()
3423
 * @method $this withId($value)
3424
 * @method string getProjectId()
3425
 * @method $this withProjectId($value)
3426
 */
3427
class ListDataSource extends Rpc
3428
{
3429
}
3430
3431
/**
3432
 * @method string getResourceOwnerId()
3433
 * @method $this withResourceOwnerId($value)
3434
 * @method string getEndTime()
3435
 * @method $this withEndTime($value)
3436
 * @method string getClusterId()
3437
 * @method $this withClusterId($value)
3438
 * @method string getStartTime()
3439
 * @method $this withStartTime($value)
3440
 * @method string getPageNumber()
3441
 * @method $this withPageNumber($value)
3442
 * @method string getPageSize()
3443
 * @method $this withPageSize($value)
3444
 */
3445
class ListDiskOpsEvents extends Rpc
3446
{
3447
}
3448
3449
/**
3450
 * @method string getResourceOwnerId()
3451
 * @method $this withResourceOwnerId($value)
3452
 * @method string getResourceGroupId()
3453
 * @method $this withResourceGroupId($value)
3454
 */
3455
class ListEmrAvailableConfig extends Rpc
3456
{
3457
}
3458
3459
/**
3460
 * @method string getResourceOwnerId()
3461
 * @method $this withResourceOwnerId($value)
3462
 * @method string getDepositType()
3463
 * @method $this withDepositType($value)
3464
 * @method string getSystemDiskType()
3465
 * @method $this withSystemDiskType($value)
3466
 * @method string getResourceGroupId()
3467
 * @method $this withResourceGroupId($value)
3468
 * @method string getInstanceType()
3469
 * @method $this withInstanceType($value)
3470
 * @method string getEmrVersion()
3471
 * @method $this withEmrVersion($value)
3472
 * @method string getInstanceChargeType()
3473
 * @method $this withInstanceChargeType($value)
3474
 * @method string getClusterId()
3475
 * @method $this withClusterId($value)
3476
 * @method string getDestinationResource()
3477
 * @method $this withDestinationResource($value)
3478
 * @method string getClusterType()
3479
 * @method $this withClusterType($value)
3480
 * @method string getSpotStrategy()
3481
 * @method $this withSpotStrategy($value)
3482
 * @method string getNetType()
3483
 * @method $this withNetType($value)
3484
 * @method string getZoneId()
3485
 * @method $this withZoneId($value)
3486
 * @method string getDataDiskType()
3487
 * @method $this withDataDiskType($value)
3488
 */
3489
class ListEmrAvailableResource extends Rpc
3490
{
3491
}
3492
3493
/**
3494
 * @method string getResourceOwnerId()
3495
 * @method $this withResourceOwnerId($value)
3496
 * @method string getPageNumber()
3497
 * @method $this withPageNumber($value)
3498
 * @method string getPageSize()
3499
 * @method $this withPageSize($value)
3500
 * @method string getEmrVersion()
3501
 * @method $this withEmrVersion($value)
3502
 * @method string getStackName()
3503
 * @method $this withStackName($value)
3504
 * @method string getStackVersion()
3505
 * @method $this withStackVersion($value)
3506
 */
3507
class ListEmrMainVersion extends Rpc
3508
{
3509
}
3510
3511
/**
3512
 * @method string getOnlyLastInstance()
3513
 * @method $this withOnlyLastInstance($value)
3514
 * @method string getResourceOwnerId()
3515
 * @method $this withResourceOwnerId($value)
3516
 * @method array getExecutionPlanIdList()
3517
 * @method array getStatusList()
3518
 * @method string getIsDesc()
3519
 * @method $this withIsDesc($value)
3520
 * @method string getPageNumber()
3521
 * @method $this withPageNumber($value)
3522
 * @method string getPageSize()
3523
 * @method $this withPageSize($value)
3524
 */
3525
class ListExecutionPlanInstances extends Rpc
3526
{
3527
3528
    /**
3529
     * @param array $executionPlanIdList
3530
     *
3531
     * @return $this
3532
     */
3533
	public function withExecutionPlanIdList(array $executionPlanIdList)
3534
	{
3535
	    $this->data['ExecutionPlanIdList'] = $executionPlanIdList;
3536
		foreach ($executionPlanIdList as $i => $iValue) {
3537
			$this->options['query']['ExecutionPlanIdList.' . ($i + 1)] = $iValue;
3538
		}
3539
3540
		return $this;
3541
    }
3542
3543
    /**
3544
     * @param array $statusList
3545
     *
3546
     * @return $this
3547
     */
3548
	public function withStatusList(array $statusList)
3549
	{
3550
	    $this->data['StatusList'] = $statusList;
3551
		foreach ($statusList as $i => $iValue) {
3552
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3553
		}
3554
3555
		return $this;
3556
    }
3557
}
3558
3559
/**
3560
 * @method string getPeriodic()
3561
 * @method $this withPeriodic($value)
3562
 * @method string getClusterId()
3563
 * @method $this withClusterId($value)
3564
 * @method string getPageNumber()
3565
 * @method $this withPageNumber($value)
3566
 * @method string getJobId()
3567
 * @method $this withJobId($value)
3568
 * @method string getName()
3569
 * @method $this withName($value)
3570
 * @method string getPageSize()
3571
 * @method $this withPageSize($value)
3572
 * @method string getId()
3573
 * @method $this withId($value)
3574
 * @method string getProjectId()
3575
 * @method $this withProjectId($value)
3576
 * @method string getStatus()
3577
 * @method $this withStatus($value)
3578
 */
3579
class ListFlow extends Rpc
3580
{
3581
}
3582
3583
/**
3584
 * @method string getParentId()
3585
 * @method $this withParentId($value)
3586
 * @method string getPageNumber()
3587
 * @method $this withPageNumber($value)
3588
 * @method string getRoot()
3589
 * @method $this withRoot($value)
3590
 * @method string getPageSize()
3591
 * @method $this withPageSize($value)
3592
 * @method string getProjectId()
3593
 * @method $this withProjectId($value)
3594
 */
3595
class ListFlowCategory extends Rpc
3596
{
3597
}
3598
3599
/**
3600
 * @method string getPageNumber()
3601
 * @method $this withPageNumber($value)
3602
 * @method string getResourceGroupId()
3603
 * @method $this withResourceGroupId($value)
3604
 * @method string getPageSize()
3605
 * @method $this withPageSize($value)
3606
 * @method string getProjectId()
3607
 * @method $this withProjectId($value)
3608
 */
3609
class ListFlowCluster extends Rpc
3610
{
3611
}
3612
3613
/**
3614
 * @method string getProductType()
3615
 * @method $this withProductType($value)
3616
 * @method string getResourceGroupId()
3617
 * @method $this withResourceGroupId($value)
3618
 */
3619
class ListFlowClusterAll extends Rpc
3620
{
3621
}
3622
3623
/**
3624
 * @method string getClusterId()
3625
 * @method $this withClusterId($value)
3626
 * @method string getResourceGroupId()
3627
 * @method $this withResourceGroupId($value)
3628
 * @method string getProjectId()
3629
 * @method $this withProjectId($value)
3630
 */
3631
class ListFlowClusterAllHosts extends Rpc
3632
{
3633
}
3634
3635
/**
3636
 * @method string getClusterId()
3637
 * @method $this withClusterId($value)
3638
 * @method string getResourceGroupId()
3639
 * @method $this withResourceGroupId($value)
3640
 * @method string getProjectId()
3641
 * @method $this withProjectId($value)
3642
 */
3643
class ListFlowClusterHost extends Rpc
3644
{
3645
}
3646
3647
/**
3648
 * @method array getStatusList()
3649
 * @method string getNodeInstanceId()
3650
 * @method $this withNodeInstanceId($value)
3651
 * @method string getPageNumber()
3652
 * @method $this withPageNumber($value)
3653
 * @method string getPageSize()
3654
 * @method $this withPageSize($value)
3655
 * @method string getId()
3656
 * @method $this withId($value)
3657
 * @method string getProjectId()
3658
 * @method $this withProjectId($value)
3659
 * @method string getOwner()
3660
 * @method $this withOwner($value)
3661
 * @method string getTimeRange()
3662
 * @method $this withTimeRange($value)
3663
 * @method string getOrderBy()
3664
 * @method $this withOrderBy($value)
3665
 * @method string getInstanceId()
3666
 * @method $this withInstanceId($value)
3667
 * @method string getFlowName()
3668
 * @method $this withFlowName($value)
3669
 * @method string getFlowId()
3670
 * @method $this withFlowId($value)
3671
 * @method string getOrderType()
3672
 * @method $this withOrderType($value)
3673
 */
3674
class ListFlowInstance extends Rpc
3675
{
3676
3677
    /**
3678
     * @param array $statusList
3679
     *
3680
     * @return $this
3681
     */
3682
	public function withStatusList(array $statusList)
3683
	{
3684
	    $this->data['StatusList'] = $statusList;
3685
		foreach ($statusList as $i => $iValue) {
3686
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3687
		}
3688
3689
		return $this;
3690
    }
3691
}
3692
3693
/**
3694
 * @method string getType()
3695
 * @method $this withType($value)
3696
 * @method string getPageNumber()
3697
 * @method $this withPageNumber($value)
3698
 * @method string getName()
3699
 * @method $this withName($value)
3700
 * @method string getPageSize()
3701
 * @method $this withPageSize($value)
3702
 * @method string getId()
3703
 * @method $this withId($value)
3704
 * @method string getAdhoc()
3705
 * @method $this withAdhoc($value)
3706
 * @method string getProjectId()
3707
 * @method $this withProjectId($value)
3708
 */
3709
class ListFlowJob extends Rpc
3710
{
3711
}
3712
3713
/**
3714
 * @method string getTimeRange()
3715
 * @method $this withTimeRange($value)
3716
 * @method array getStatusList()
3717
 * @method string getJobType()
3718
 * @method $this withJobType($value)
3719
 * @method string getPageNumber()
3720
 * @method $this withPageNumber($value)
3721
 * @method string getInstanceId()
3722
 * @method $this withInstanceId($value)
3723
 * @method string getPageSize()
3724
 * @method $this withPageSize($value)
3725
 * @method string getId()
3726
 * @method $this withId($value)
3727
 * @method string getProjectId()
3728
 * @method $this withProjectId($value)
3729
 */
3730
class ListFlowJobHistory extends Rpc
3731
{
3732
3733
    /**
3734
     * @param array $statusList
3735
     *
3736
     * @return $this
3737
     */
3738
	public function withStatusList(array $statusList)
3739
	{
3740
	    $this->data['StatusList'] = $statusList;
3741
		foreach ($statusList as $i => $iValue) {
3742
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3743
		}
3744
3745
		return $this;
3746
    }
3747
}
3748
3749
/**
3750
 * @method array getStatusList()
3751
 * @method string getOrderBy()
3752
 * @method $this withOrderBy($value)
3753
 * @method string getStartTime()
3754
 * @method $this withStartTime($value)
3755
 * @method string getPageNumber()
3756
 * @method $this withPageNumber($value)
3757
 * @method string getResourceGroupId()
3758
 * @method $this withResourceGroupId($value)
3759
 * @method string getPageSize()
3760
 * @method $this withPageSize($value)
3761
 * @method string getProjectId()
3762
 * @method $this withProjectId($value)
3763
 * @method string getOrderType()
3764
 * @method $this withOrderType($value)
3765
 */
3766
class ListFlowNodeInstance extends Rpc
3767
{
3768
3769
    /**
3770
     * @param array $statusList
3771
     *
3772
     * @return $this
3773
     */
3774
	public function withStatusList(array $statusList)
3775
	{
3776
	    $this->data['StatusList'] = $statusList;
3777
		foreach ($statusList as $i => $iValue) {
3778
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3779
		}
3780
3781
		return $this;
3782
    }
3783
}
3784
3785
/**
3786
 * @method string getNodeInstanceId()
3787
 * @method $this withNodeInstanceId($value)
3788
 * @method string getPageNumber()
3789
 * @method $this withPageNumber($value)
3790
 * @method string getPageSize()
3791
 * @method $this withPageSize($value)
3792
 * @method string getProjectId()
3793
 * @method $this withProjectId($value)
3794
 */
3795
class ListFlowNodeInstanceContainerStatus extends Rpc
3796
{
3797
}
3798
3799
/**
3800
 * @method string getOffset()
3801
 * @method $this withOffset($value)
3802
 * @method string getLength()
3803
 * @method $this withLength($value)
3804
 * @method string getSqlIndex()
3805
 * @method $this withSqlIndex($value)
3806
 * @method string getNodeInstanceId()
3807
 * @method $this withNodeInstanceId($value)
3808
 * @method string getProjectId()
3809
 * @method $this withProjectId($value)
3810
 */
3811
class ListFlowNodeSqlResult extends Rpc
3812
{
3813
}
3814
3815
/**
3816
 * @method string getPageNumber()
3817
 * @method $this withPageNumber($value)
3818
 * @method string getProductType()
3819
 * @method $this withProductType($value)
3820
 * @method string getResourceGroupId()
3821
 * @method $this withResourceGroupId($value)
3822
 * @method string getName()
3823
 * @method $this withName($value)
3824
 * @method string getPageSize()
3825
 * @method $this withPageSize($value)
3826
 * @method string getProjectId()
3827
 * @method $this withProjectId($value)
3828
 */
3829
class ListFlowProject extends Rpc
3830
{
3831
}
3832
3833
/**
3834
 * @method string getPageNumber()
3835
 * @method $this withPageNumber($value)
3836
 * @method string getPageSize()
3837
 * @method $this withPageSize($value)
3838
 * @method string getProjectId()
3839
 * @method $this withProjectId($value)
3840
 */
3841
class ListFlowProjectClusterSetting extends Rpc
3842
{
3843
}
3844
3845
/**
3846
 * @method string getPageNumber()
3847
 * @method $this withPageNumber($value)
3848
 * @method string getPageSize()
3849
 * @method $this withPageSize($value)
3850
 * @method string getProjectId()
3851
 * @method $this withProjectId($value)
3852
 */
3853
class ListFlowProjectUser extends Rpc
3854
{
3855
}
3856
3857
/**
3858
 * @method string getResourceOwnerId()
3859
 * @method $this withResourceOwnerId($value)
3860
 * @method string getIsDesc()
3861
 * @method $this withIsDesc($value)
3862
 * @method string getPageNumber()
3863
 * @method $this withPageNumber($value)
3864
 * @method string getExecutionPlanInstanceId()
3865
 * @method $this withExecutionPlanInstanceId($value)
3866
 * @method string getPageSize()
3867
 * @method $this withPageSize($value)
3868
 */
3869
class ListJobExecutionInstances extends Rpc
3870
{
3871
}
3872
3873
/**
3874
 * @method string getResourceOwnerId()
3875
 * @method $this withResourceOwnerId($value)
3876
 * @method string getQueryString()
3877
 * @method $this withQueryString($value)
3878
 * @method string getIsDesc()
3879
 * @method $this withIsDesc($value)
3880
 * @method string getPageNumber()
3881
 * @method $this withPageNumber($value)
3882
 * @method string getResourceGroupId()
3883
 * @method $this withResourceGroupId($value)
3884
 * @method string getPageSize()
3885
 * @method $this withPageSize($value)
3886
 * @method string getQueryType()
3887
 * @method $this withQueryType($value)
3888
 */
3889
class ListJobs extends Rpc
3890
{
3891
}
3892
3893
/**
3894
 * @method string getResourceOwnerId()
3895
 * @method $this withResourceOwnerId($value)
3896
 * @method string getPageCount()
3897
 * @method $this withPageCount($value)
3898
 * @method string getOrderMode()
3899
 * @method $this withOrderMode($value)
3900
 * @method string getClusterBizId()
3901
 * @method $this withClusterBizId($value)
3902
 * @method string getPageNumber()
3903
 * @method $this withPageNumber($value)
3904
 * @method string getLimit()
3905
 * @method $this withLimit($value)
3906
 * @method string getPageSize()
3907
 * @method $this withPageSize($value)
3908
 * @method string getCurrentSize()
3909
 * @method $this withCurrentSize($value)
3910
 * @method string getOrderField()
3911
 * @method $this withOrderField($value)
3912
 */
3913
class ListLibraries extends Rpc
3914
{
3915
}
3916
3917
/**
3918
 * @method string getResourceOwnerId()
3919
 * @method $this withResourceOwnerId($value)
3920
 * @method string getPageCount()
3921
 * @method $this withPageCount($value)
3922
 * @method string getOrderMode()
3923
 * @method $this withOrderMode($value)
3924
 * @method string getClusterBizId()
3925
 * @method $this withClusterBizId($value)
3926
 * @method string getPageNumber()
3927
 * @method $this withPageNumber($value)
3928
 * @method string getLimit()
3929
 * @method $this withLimit($value)
3930
 * @method string getPageSize()
3931
 * @method $this withPageSize($value)
3932
 * @method string getCurrentSize()
3933
 * @method $this withCurrentSize($value)
3934
 * @method string getOrderField()
3935
 * @method $this withOrderField($value)
3936
 * @method string getLibraryBizId()
3937
 * @method $this withLibraryBizId($value)
3938
 */
3939
class ListLibraryInstallTasks extends Rpc
3940
{
3941
}
3942
3943
/**
3944
 * @method string getResourceOwnerId()
3945
 * @method $this withResourceOwnerId($value)
3946
 * @method string getPageCount()
3947
 * @method $this withPageCount($value)
3948
 * @method string getOrderMode()
3949
 * @method $this withOrderMode($value)
3950
 * @method string getClusterBizId()
3951
 * @method $this withClusterBizId($value)
3952
 * @method string getPageNumber()
3953
 * @method $this withPageNumber($value)
3954
 * @method string getLimit()
3955
 * @method $this withLimit($value)
3956
 * @method string getPageSize()
3957
 * @method $this withPageSize($value)
3958
 * @method string getCurrentSize()
3959
 * @method $this withCurrentSize($value)
3960
 * @method string getOrderField()
3961
 * @method $this withOrderField($value)
3962
 * @method string getLibraryBizId()
3963
 * @method $this withLibraryBizId($value)
3964
 */
3965
class ListLibraryStatus extends Rpc
3966
{
3967
}
3968
3969
/**
3970
 * @method string getResourceOwnerId()
3971
 * @method $this withResourceOwnerId($value)
3972
 * @method string getClusterId()
3973
 * @method $this withClusterId($value)
3974
 * @method string getInstanceId()
3975
 * @method $this withInstanceId($value)
3976
 */
3977
class ListLocalDiskComponentInfo extends Rpc
3978
{
3979
}
3980
3981
/**
3982
 * @method string getResourceOwnerId()
3983
 * @method $this withResourceOwnerId($value)
3984
 * @method string getClusterId()
3985
 * @method $this withClusterId($value)
3986
 * @method string getPageNumber()
3987
 * @method $this withPageNumber($value)
3988
 * @method string getPageSize()
3989
 * @method $this withPageSize($value)
3990
 * @method string getPoolType()
3991
 * @method $this withPoolType($value)
3992
 */
3993
class ListResourcePool extends Rpc
3994
{
3995
}
3996
3997
/**
3998
 * @method string getResourceOwnerId()
3999
 * @method $this withResourceOwnerId($value)
4000
 * @method string getResourceType()
4001
 * @method $this withResourceType($value)
4002
 */
4003
class ListRoles extends Rpc
4004
{
4005
}
4006
4007
/**
4008
 * @method string getResourceOwnerId()
4009
 * @method $this withResourceOwnerId($value)
4010
 * @method string getPageCount()
4011
 * @method $this withPageCount($value)
4012
 * @method string getOrderMode()
4013
 * @method $this withOrderMode($value)
4014
 * @method string getClusterBizId()
4015
 * @method $this withClusterBizId($value)
4016
 * @method string getPageNumber()
4017
 * @method $this withPageNumber($value)
4018
 * @method string getHostGroupName()
4019
 * @method $this withHostGroupName($value)
4020
 * @method string getScalingGroupBizId()
4021
 * @method $this withScalingGroupBizId($value)
4022
 * @method string getScalingRuleName()
4023
 * @method $this withScalingRuleName($value)
4024
 * @method string getResourceGroupId()
4025
 * @method $this withResourceGroupId($value)
4026
 * @method string getLimit()
4027
 * @method $this withLimit($value)
4028
 * @method string getPageSize()
4029
 * @method $this withPageSize($value)
4030
 * @method string getCurrentSize()
4031
 * @method $this withCurrentSize($value)
4032
 * @method string getOrderField()
4033
 * @method $this withOrderField($value)
4034
 * @method string getHostGroupId()
4035
 * @method $this withHostGroupId($value)
4036
 * @method string getStatus()
4037
 * @method $this withStatus($value)
4038
 */
4039
class ListScalingActivityV2 extends Rpc
4040
{
4041
}
4042
4043
/**
4044
 * @method string getConfigItemType()
4045
 * @method $this withConfigItemType($value)
4046
 * @method string getResourceOwnerId()
4047
 * @method $this withResourceOwnerId($value)
4048
 * @method string getPageNumber()
4049
 * @method $this withPageNumber($value)
4050
 * @method string getScalingGroupBizId()
4051
 * @method $this withScalingGroupBizId($value)
4052
 * @method string getResourceGroupId()
4053
 * @method $this withResourceGroupId($value)
4054
 * @method string getPageSize()
4055
 * @method $this withPageSize($value)
4056
 */
4057
class ListScalingConfigItemV2 extends Rpc
4058
{
4059
}
4060
4061
/**
4062
 * @method string getResourceOwnerId()
4063
 * @method $this withResourceOwnerId($value)
4064
 * @method string getPageCount()
4065
 * @method $this withPageCount($value)
4066
 * @method string getOrderMode()
4067
 * @method $this withOrderMode($value)
4068
 * @method string getClusterBizId()
4069
 * @method $this withClusterBizId($value)
4070
 * @method string getPageNumber()
4071
 * @method $this withPageNumber($value)
4072
 * @method string getResourceGroupId()
4073
 * @method $this withResourceGroupId($value)
4074
 * @method string getLimit()
4075
 * @method $this withLimit($value)
4076
 * @method string getPageSize()
4077
 * @method $this withPageSize($value)
4078
 * @method string getCurrentSize()
4079
 * @method $this withCurrentSize($value)
4080
 * @method string getOrderField()
4081
 * @method $this withOrderField($value)
4082
 */
4083
class ListScalingGroupV2 extends Rpc
4084
{
4085
}
4086
4087
/**
4088
 * @method string getDepositType()
4089
 * @method $this withDepositType($value)
4090
 * @method string getProductType()
4091
 * @method $this withProductType($value)
4092
 * @method string getNetType()
4093
 * @method $this withNetType($value)
4094
 * @method string getVpcId()
4095
 * @method $this withVpcId($value)
4096
 */
4097
class ListSecurityGroup extends Rpc
4098
{
4099
}
4100
4101
/**
4102
 * @method string getResourceOwnerId()
4103
 * @method $this withResourceOwnerId($value)
4104
 * @method string getPageNumber()
4105
 * @method $this withPageNumber($value)
4106
 * @method string getPageSize()
4107
 * @method $this withPageSize($value)
4108
 * @method string getStackName()
4109
 * @method $this withStackName($value)
4110
 * @method string getStackVersion()
4111
 * @method $this withStackVersion($value)
4112
 */
4113
class ListStack extends Rpc
4114
{
4115
}
4116
4117
/**
4118
 * @method string getResourceOwnerId()
4119
 * @method $this withResourceOwnerId($value)
4120
 * @method string getResourceType()
4121
 * @method $this withResourceType($value)
4122
 * @method string getNextToken()
4123
 * @method $this withNextToken($value)
4124
 * @method string getScope()
4125
 * @method $this withScope($value)
4126
 * @method string getPageSize()
4127
 * @method $this withPageSize($value)
4128
 * @method string getCategory()
4129
 * @method $this withCategory($value)
4130
 */
4131
class ListTagKeys extends Rpc
4132
{
4133
}
4134
4135
/**
4136
 * @method string getResourceOwnerId()
4137
 * @method $this withResourceOwnerId($value)
4138
 * @method array getResourceId()
4139
 * @method string getResourceType()
4140
 * @method $this withResourceType($value)
4141
 * @method string getNextToken()
4142
 * @method $this withNextToken($value)
4143
 * @method array getTag()
4144
 */
4145
class ListTagResources extends Rpc
4146
{
4147
4148
    /**
4149
     * @param array $resourceId
4150
     *
4151
     * @return $this
4152
     */
4153
	public function withResourceId(array $resourceId)
4154
	{
4155
	    $this->data['ResourceId'] = $resourceId;
4156
		foreach ($resourceId as $i => $iValue) {
4157
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
4158
		}
4159
4160
		return $this;
4161
    }
4162
4163
    /**
4164
     * @param array $tag
4165
     *
4166
     * @return $this
4167
     */
4168
	public function withTag(array $tag)
4169
	{
4170
	    $this->data['Tag'] = $tag;
4171
		foreach ($tag as $depth1 => $depth1Value) {
4172
			if(isset($depth1Value['Key'])){
4173
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4174
			}
4175
			if(isset($depth1Value['Value'])){
4176
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4177
			}
4178
		}
4179
4180
		return $this;
4181
    }
4182
}
4183
4184
/**
4185
 * @method string getResourceOwnerId()
4186
 * @method $this withResourceOwnerId($value)
4187
 * @method string getResourceType()
4188
 * @method $this withResourceType($value)
4189
 * @method string getNextToken()
4190
 * @method $this withNextToken($value)
4191
 * @method string getScope()
4192
 * @method $this withScope($value)
4193
 * @method string getPageSize()
4194
 * @method $this withPageSize($value)
4195
 * @method string getKey()
4196
 * @method $this withKey($value)
4197
 */
4198
class ListTagValues extends Rpc
4199
{
4200
}
4201
4202
/**
4203
 * @method string getResourceOwnerId()
4204
 * @method $this withResourceOwnerId($value)
4205
 * @method string getClusterId()
4206
 * @method $this withClusterId($value)
4207
 * @method string getType()
4208
 * @method $this withType($value)
4209
 */
4210
class ListUsers extends Rpc
4211
{
4212
}
4213
4214
/**
4215
 * @method string getDepositType()
4216
 * @method $this withDepositType($value)
4217
 * @method string getProductType()
4218
 * @method $this withProductType($value)
4219
 * @method string getVpcId()
4220
 * @method $this withVpcId($value)
4221
 * @method string getZoneId()
4222
 * @method $this withZoneId($value)
4223
 */
4224
class ListVswitch extends Rpc
4225
{
4226
}
4227
4228
/**
4229
 * @method string getResourceOwnerId()
4230
 * @method $this withResourceOwnerId($value)
4231
 * @method string getClusterId()
4232
 * @method $this withClusterId($value)
4233
 * @method array getBootstrapAction()
4234
 * @method string getId()
4235
 * @method $this withId($value)
4236
 */
4237
class ModifyClusterBootstrapAction extends Rpc
4238
{
4239
4240
    /**
4241
     * @param array $bootstrapAction
4242
     *
4243
     * @return $this
4244
     */
4245
	public function withBootstrapAction(array $bootstrapAction)
4246
	{
4247
	    $this->data['BootstrapAction'] = $bootstrapAction;
4248
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4249
			if(isset($depth1Value['Path'])){
4250
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4251
			}
4252
			if(isset($depth1Value['ExecutionTarget'])){
4253
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4254
			}
4255
			if(isset($depth1Value['ExecutionMoment'])){
4256
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4257
			}
4258
			if(isset($depth1Value['Arg'])){
4259
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4260
			}
4261
			if(isset($depth1Value['Name'])){
4262
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4263
			}
4264
			if(isset($depth1Value['ExecutionFailStrategy'])){
4265
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4266
			}
4267
		}
4268
4269
		return $this;
4270
    }
4271
}
4272
4273
/**
4274
 * @method string getResourceOwnerId()
4275
 * @method $this withResourceOwnerId($value)
4276
 * @method string getSecurityGroupId()
4277
 * @method $this withSecurityGroupId($value)
4278
 * @method string getClusterId()
4279
 * @method $this withClusterId($value)
4280
 * @method string getHostGroupName()
4281
 * @method $this withHostGroupName($value)
4282
 * @method string getVswitchId()
4283
 * @method $this withVswitchId($value)
4284
 * @method string getHostGroupId()
4285
 * @method $this withHostGroupId($value)
4286
 * @method string getComment()
4287
 * @method $this withComment($value)
4288
 */
4289
class ModifyClusterHostGroup extends Rpc
4290
{
4291
}
4292
4293
/**
4294
 * @method string getResourceOwnerId()
4295
 * @method $this withResourceOwnerId($value)
4296
 * @method string getClusterId()
4297
 * @method $this withClusterId($value)
4298
 * @method string getSwitchOn()
4299
 * @method $this withSwitchOn($value)
4300
 */
4301
class ModifyClusterMetaCollect extends Rpc
4302
{
4303
}
4304
4305
/**
4306
 * @method string getResourceOwnerId()
4307
 * @method $this withResourceOwnerId($value)
4308
 * @method string getName()
4309
 * @method $this withName($value)
4310
 * @method string getId()
4311
 * @method $this withId($value)
4312
 */
4313
class ModifyClusterName extends Rpc
4314
{
4315
}
4316
4317
/**
4318
 * @method string getNicType()
4319
 * @method $this withNicType($value)
4320
 * @method string getResourceOwnerId()
4321
 * @method $this withResourceOwnerId($value)
4322
 * @method string getPortRange()
4323
 * @method $this withPortRange($value)
4324
 * @method string getIpProtocol()
4325
 * @method $this withIpProtocol($value)
4326
 * @method string getClusterId()
4327
 * @method $this withClusterId($value)
4328
 * @method string getWhiteIp()
4329
 * @method $this withWhiteIp($value)
4330
 * @method string getModifyType()
4331
 * @method $this withModifyType($value)
4332
 */
4333
class ModifyClusterSecurityGroupRule extends Rpc
4334
{
4335
}
4336
4337
/**
4338
 * @method string getRefreshHostConfig()
4339
 * @method $this withRefreshHostConfig($value)
4340
 * @method string getResourceOwnerId()
4341
 * @method $this withResourceOwnerId($value)
4342
 * @method string getHostInstanceId()
4343
 * @method $this withHostInstanceId($value)
4344
 * @method string getServiceName()
4345
 * @method $this withServiceName($value)
4346
 * @method array getGatewayClusterIdList()
4347
 * @method string getConfigParams()
4348
 * @method $this withConfigParams($value)
4349
 * @method string getConfigType()
4350
 * @method $this withConfigType($value)
4351
 * @method string getGroupId()
4352
 * @method $this withGroupId($value)
4353
 * @method string getClusterId()
4354
 * @method $this withClusterId($value)
4355
 * @method string getCustomConfigParams()
4356
 * @method $this withCustomConfigParams($value)
4357
 * @method string getComment()
4358
 * @method $this withComment($value)
4359
 */
4360
class ModifyClusterServiceConfig extends Rpc
4361
{
4362
4363
    /**
4364
     * @param array $gatewayClusterIdList
4365
     *
4366
     * @return $this
4367
     */
4368
	public function withGatewayClusterIdList(array $gatewayClusterIdList)
4369
	{
4370
	    $this->data['GatewayClusterIdList'] = $gatewayClusterIdList;
4371
		foreach ($gatewayClusterIdList as $i => $iValue) {
4372
			$this->options['query']['GatewayClusterIdList.' . ($i + 1)] = $iValue;
4373
		}
4374
4375
		return $this;
4376
    }
4377
}
4378
4379
/**
4380
 * @method string getResourceOwnerId()
4381
 * @method $this withResourceOwnerId($value)
4382
 * @method string getLogPath()
4383
 * @method $this withLogPath($value)
4384
 * @method string getMasterPwd()
4385
 * @method $this withMasterPwd($value)
4386
 * @method string getConfigurations()
4387
 * @method $this withConfigurations($value)
4388
 * @method string getSshEnable()
4389
 * @method $this withSshEnable($value)
4390
 * @method string getKeyPairName()
4391
 * @method $this withKeyPairName($value)
4392
 * @method string getMetaStoreType()
4393
 * @method $this withMetaStoreType($value)
4394
 * @method string getSecurityGroupName()
4395
 * @method $this withSecurityGroupName($value)
4396
 * @method string getMachineType()
4397
 * @method $this withMachineType($value)
4398
 * @method string getResourceGroupId()
4399
 * @method $this withResourceGroupId($value)
4400
 * @method array getBootstrapAction()
4401
 * @method string getMetaStoreConf()
4402
 * @method $this withMetaStoreConf($value)
4403
 * @method string getEmrVer()
4404
 * @method $this withEmrVer($value)
4405
 * @method array getTag()
4406
 * @method string getIsOpenPublicIp()
4407
 * @method $this withIsOpenPublicIp($value)
4408
 * @method string getPeriod()
4409
 * @method $this withPeriod($value)
4410
 * @method string getInstanceGeneration()
4411
 * @method $this withInstanceGeneration($value)
4412
 * @method string getVSwitchId()
4413
 * @method $this withVSwitchId($value)
4414
 * @method string getClusterType()
4415
 * @method $this withClusterType($value)
4416
 * @method string getAutoRenew()
4417
 * @method $this withAutoRenew($value)
4418
 * @method array getOptionSoftWareList()
4419
 * @method string getNetType()
4420
 * @method $this withNetType($value)
4421
 * @method string getZoneId()
4422
 * @method $this withZoneId($value)
4423
 * @method string getUseCustomHiveMetaDb()
4424
 * @method $this withUseCustomHiveMetaDb($value)
4425
 * @method string getInitCustomHiveMetaDb()
4426
 * @method $this withInitCustomHiveMetaDb($value)
4427
 * @method string getIoOptimized()
4428
 * @method $this withIoOptimized($value)
4429
 * @method string getSecurityGroupId()
4430
 * @method $this withSecurityGroupId($value)
4431
 * @method string getEasEnable()
4432
 * @method $this withEasEnable($value)
4433
 * @method string getDepositType()
4434
 * @method $this withDepositType($value)
4435
 * @method string getUseLocalMetaDb()
4436
 * @method $this withUseLocalMetaDb($value)
4437
 * @method string getTemplateName()
4438
 * @method $this withTemplateName($value)
4439
 * @method string getUserDefinedEmrEcsRole()
4440
 * @method $this withUserDefinedEmrEcsRole($value)
4441
 * @method string getVpcId()
4442
 * @method $this withVpcId($value)
4443
 * @method string getBizId()
4444
 * @method $this withBizId($value)
4445
 * @method array getHostGroup()
4446
 * @method string getChargeType()
4447
 * @method $this withChargeType($value)
4448
 * @method array getConfig()
4449
 * @method string getHighAvailabilityEnable()
4450
 * @method $this withHighAvailabilityEnable($value)
4451
 */
4452
class ModifyClusterTemplate extends Rpc
4453
{
4454
4455
    /**
4456
     * @param array $bootstrapAction
4457
     *
4458
     * @return $this
4459
     */
4460
	public function withBootstrapAction(array $bootstrapAction)
4461
	{
4462
	    $this->data['BootstrapAction'] = $bootstrapAction;
4463
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4464
			if(isset($depth1Value['Path'])){
4465
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4466
			}
4467
			if(isset($depth1Value['ExecutionTarget'])){
4468
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4469
			}
4470
			if(isset($depth1Value['ExecutionMoment'])){
4471
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4472
			}
4473
			if(isset($depth1Value['Arg'])){
4474
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4475
			}
4476
			if(isset($depth1Value['Name'])){
4477
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4478
			}
4479
			if(isset($depth1Value['ExecutionFailStrategy'])){
4480
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4481
			}
4482
		}
4483
4484
		return $this;
4485
    }
4486
4487
    /**
4488
     * @param array $tag
4489
     *
4490
     * @return $this
4491
     */
4492
	public function withTag(array $tag)
4493
	{
4494
	    $this->data['Tag'] = $tag;
4495
		foreach ($tag as $depth1 => $depth1Value) {
4496
			if(isset($depth1Value['Value'])){
4497
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4498
			}
4499
			if(isset($depth1Value['Key'])){
4500
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4501
			}
4502
		}
4503
4504
		return $this;
4505
    }
4506
4507
    /**
4508
     * @param array $optionSoftWareList
4509
     *
4510
     * @return $this
4511
     */
4512
	public function withOptionSoftWareList(array $optionSoftWareList)
4513
	{
4514
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
4515
		foreach ($optionSoftWareList as $i => $iValue) {
4516
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4517
		}
4518
4519
		return $this;
4520
    }
4521
4522
    /**
4523
     * @param array $hostGroup
4524
     *
4525
     * @return $this
4526
     */
4527
	public function withHostGroup(array $hostGroup)
4528
	{
4529
	    $this->data['HostGroup'] = $hostGroup;
4530
		foreach ($hostGroup as $depth1 => $depth1Value) {
4531
			if(isset($depth1Value['Period'])){
4532
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
4533
			}
4534
			if(isset($depth1Value['SysDiskCapacity'])){
4535
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
4536
			}
4537
			if(isset($depth1Value['DiskCapacity'])){
4538
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4539
			}
4540
			if(isset($depth1Value['SysDiskType'])){
4541
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
4542
			}
4543
			if(isset($depth1Value['ClusterId'])){
4544
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
4545
			}
4546
			if(isset($depth1Value['DiskType'])){
4547
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
4548
			}
4549
			if(isset($depth1Value['HostGroupName'])){
4550
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
4551
			}
4552
			if(isset($depth1Value['VSwitchId'])){
4553
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
4554
			}
4555
			if(isset($depth1Value['DiskCount'])){
4556
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4557
			}
4558
			if(isset($depth1Value['AutoRenew'])){
4559
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
4560
			}
4561
			if(isset($depth1Value['HostGroupId'])){
4562
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
4563
			}
4564
			if(isset($depth1Value['NodeCount'])){
4565
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4566
			}
4567
			if(isset($depth1Value['InstanceType'])){
4568
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
4569
			}
4570
			if(isset($depth1Value['Comment'])){
4571
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
4572
			}
4573
			if(isset($depth1Value['ChargeType'])){
4574
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
4575
			}
4576
			if(isset($depth1Value['MultiInstanceTypes'])){
4577
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
4578
			}
4579
			if(isset($depth1Value['CreateType'])){
4580
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
4581
			}
4582
			if(isset($depth1Value['HostGroupType'])){
4583
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
4584
			}
4585
		}
4586
4587
		return $this;
4588
    }
4589
4590
    /**
4591
     * @param array $config
4592
     *
4593
     * @return $this
4594
     */
4595
	public function withConfig(array $config)
4596
	{
4597
	    $this->data['Config'] = $config;
4598
		foreach ($config as $depth1 => $depth1Value) {
4599
			if(isset($depth1Value['ConfigKey'])){
4600
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4601
			}
4602
			if(isset($depth1Value['FileName'])){
4603
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
4604
			}
4605
			if(isset($depth1Value['Encrypt'])){
4606
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
4607
			}
4608
			if(isset($depth1Value['Replace'])){
4609
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
4610
			}
4611
			if(isset($depth1Value['ConfigValue'])){
4612
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4613
			}
4614
			if(isset($depth1Value['ServiceName'])){
4615
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
4616
			}
4617
		}
4618
4619
		return $this;
4620
    }
4621
}
4622
4623
/**
4624
 * @method string getResourceOwnerId()
4625
 * @method $this withResourceOwnerId($value)
4626
 * @method string getLogPath()
4627
 * @method $this withLogPath($value)
4628
 * @method string getTimeInterval()
4629
 * @method $this withTimeInterval($value)
4630
 * @method string getClusterName()
4631
 * @method $this withClusterName($value)
4632
 * @method string getConfigurations()
4633
 * @method $this withConfigurations($value)
4634
 * @method string getCreateClusterOnDemand()
4635
 * @method $this withCreateClusterOnDemand($value)
4636
 * @method string getStartTime()
4637
 * @method $this withStartTime($value)
4638
 * @method array getBootstrapAction()
4639
 * @method string getEmrVer()
4640
 * @method $this withEmrVer($value)
4641
 * @method string getId()
4642
 * @method $this withId($value)
4643
 * @method string getIsOpenPublicIp()
4644
 * @method $this withIsOpenPublicIp($value)
4645
 * @method string getExecutionPlanVersion()
4646
 * @method $this withExecutionPlanVersion($value)
4647
 * @method string getInstanceGeneration()
4648
 * @method $this withInstanceGeneration($value)
4649
 * @method string getClusterType()
4650
 * @method $this withClusterType($value)
4651
 * @method string getVSwitchId()
4652
 * @method $this withVSwitchId($value)
4653
 * @method array getOptionSoftWareList()
4654
 * @method string getNetType()
4655
 * @method $this withNetType($value)
4656
 * @method array getEcsOrder()
4657
 * @method string getName()
4658
 * @method $this withName($value)
4659
 * @method string getZoneId()
4660
 * @method $this withZoneId($value)
4661
 * @method string getUseCustomHiveMetaDB()
4662
 * @method $this withUseCustomHiveMetaDB($value)
4663
 * @method string getInitCustomHiveMetaDB()
4664
 * @method $this withInitCustomHiveMetaDB($value)
4665
 * @method string getIoOptimized()
4666
 * @method $this withIoOptimized($value)
4667
 * @method string getSecurityGroupId()
4668
 * @method $this withSecurityGroupId($value)
4669
 * @method string getEasEnable()
4670
 * @method $this withEasEnable($value)
4671
 * @method array getJobIdList()
4672
 * @method string getDayOfMonth()
4673
 * @method $this withDayOfMonth($value)
4674
 * @method string getUseLocalMetaDb()
4675
 * @method $this withUseLocalMetaDb($value)
4676
 * @method string getUserDefinedEmrEcsRole()
4677
 * @method $this withUserDefinedEmrEcsRole($value)
4678
 * @method string getClusterId()
4679
 * @method $this withClusterId($value)
4680
 * @method string getTimeUnit()
4681
 * @method $this withTimeUnit($value)
4682
 * @method string getVpcId()
4683
 * @method $this withVpcId($value)
4684
 * @method string getWorkflowDefinition()
4685
 * @method $this withWorkflowDefinition($value)
4686
 * @method string getDayOfWeek()
4687
 * @method $this withDayOfWeek($value)
4688
 * @method string getStrategy()
4689
 * @method $this withStrategy($value)
4690
 * @method array getConfig()
4691
 * @method string getHighAvailabilityEnable()
4692
 * @method $this withHighAvailabilityEnable($value)
4693
 * @method string getLogEnable()
4694
 * @method $this withLogEnable($value)
4695
 */
4696
class ModifyExecutionPlan extends Rpc
4697
{
4698
4699
    /**
4700
     * @param array $bootstrapAction
4701
     *
4702
     * @return $this
4703
     */
4704
	public function withBootstrapAction(array $bootstrapAction)
4705
	{
4706
	    $this->data['BootstrapAction'] = $bootstrapAction;
4707
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4708
			if(isset($depth1Value['Path'])){
4709
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4710
			}
4711
			if(isset($depth1Value['ExecutionTarget'])){
4712
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4713
			}
4714
			if(isset($depth1Value['ExecutionMoment'])){
4715
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4716
			}
4717
			if(isset($depth1Value['Arg'])){
4718
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4719
			}
4720
			if(isset($depth1Value['Name'])){
4721
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4722
			}
4723
			if(isset($depth1Value['ExecutionFailStrategy'])){
4724
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4725
			}
4726
		}
4727
4728
		return $this;
4729
    }
4730
4731
    /**
4732
     * @param array $optionSoftWareList
4733
     *
4734
     * @return $this
4735
     */
4736
	public function withOptionSoftWareList(array $optionSoftWareList)
4737
	{
4738
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
4739
		foreach ($optionSoftWareList as $i => $iValue) {
4740
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4741
		}
4742
4743
		return $this;
4744
    }
4745
4746
    /**
4747
     * @param array $ecsOrder
4748
     *
4749
     * @return $this
4750
     */
4751
	public function withEcsOrder(array $ecsOrder)
4752
	{
4753
	    $this->data['EcsOrder'] = $ecsOrder;
4754
		foreach ($ecsOrder as $depth1 => $depth1Value) {
4755
			if(isset($depth1Value['NodeType'])){
4756
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
4757
			}
4758
			if(isset($depth1Value['DiskCount'])){
4759
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4760
			}
4761
			if(isset($depth1Value['NodeCount'])){
4762
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4763
			}
4764
			if(isset($depth1Value['DiskCapacity'])){
4765
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4766
			}
4767
			if(isset($depth1Value['Index'])){
4768
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
4769
			}
4770
			if(isset($depth1Value['InstanceType'])){
4771
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
4772
			}
4773
			if(isset($depth1Value['DiskType'])){
4774
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
4775
			}
4776
		}
4777
4778
		return $this;
4779
    }
4780
4781
    /**
4782
     * @param array $jobIdList
4783
     *
4784
     * @return $this
4785
     */
4786
	public function withJobIdList(array $jobIdList)
4787
	{
4788
	    $this->data['JobIdList'] = $jobIdList;
4789
		foreach ($jobIdList as $i => $iValue) {
4790
			$this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
4791
		}
4792
4793
		return $this;
4794
    }
4795
4796
    /**
4797
     * @param array $config
4798
     *
4799
     * @return $this
4800
     */
4801
	public function withConfig(array $config)
4802
	{
4803
	    $this->data['Config'] = $config;
4804
		foreach ($config as $depth1 => $depth1Value) {
4805
			if(isset($depth1Value['ConfigKey'])){
4806
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4807
			}
4808
			if(isset($depth1Value['FileName'])){
4809
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
4810
			}
4811
			if(isset($depth1Value['Encrypt'])){
4812
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
4813
			}
4814
			if(isset($depth1Value['Replace'])){
4815
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
4816
			}
4817
			if(isset($depth1Value['ConfigValue'])){
4818
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4819
			}
4820
			if(isset($depth1Value['ServiceName'])){
4821
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
4822
			}
4823
		}
4824
4825
		return $this;
4826
    }
4827
}
4828
4829
/**
4830
 * @method string getCronExpr()
4831
 * @method $this withCronExpr($value)
4832
 * @method string getPeriodic()
4833
 * @method $this withPeriodic($value)
4834
 * @method string getDescription()
4835
 * @method $this withDescription($value)
4836
 * @method string getAlertUserGroupBizId()
4837
 * @method $this withAlertUserGroupBizId($value)
4838
 * @method string getLifecycle()
4839
 * @method $this withLifecycle($value)
4840
 * @method string getHostName()
4841
 * @method $this withHostName($value)
4842
 * @method string getCreateCluster()
4843
 * @method $this withCreateCluster($value)
4844
 * @method string getEndSchedule()
4845
 * @method $this withEndSchedule($value)
4846
 * @method string getId()
4847
 * @method $this withId($value)
4848
 * @method string getAlertConf()
4849
 * @method $this withAlertConf($value)
4850
 * @method string getProjectId()
4851
 * @method $this withProjectId($value)
4852
 * @method string getParentFlowList()
4853
 * @method $this withParentFlowList($value)
4854
 * @method string getLogArchiveLocation()
4855
 * @method $this withLogArchiveLocation($value)
4856
 * @method string getAlertDingDingGroupBizId()
4857
 * @method $this withAlertDingDingGroupBizId($value)
4858
 * @method string getStartSchedule()
4859
 * @method $this withStartSchedule($value)
4860
 * @method string getClusterId()
4861
 * @method $this withClusterId($value)
4862
 * @method string getApplication()
4863
 * @method $this withApplication($value)
4864
 * @method string getName()
4865
 * @method $this withName($value)
4866
 * @method string getNamespace()
4867
 * @method $this withNamespace($value)
4868
 * @method string getStatus()
4869
 * @method $this withStatus($value)
4870
 * @method string getParentCategory()
4871
 * @method $this withParentCategory($value)
4872
 */
4873
class ModifyFlow extends Rpc
4874
{
4875
}
4876
4877
/**
4878
 * @method string getParentId()
4879
 * @method $this withParentId($value)
4880
 * @method string getName()
4881
 * @method $this withName($value)
4882
 * @method string getId()
4883
 * @method $this withId($value)
4884
 * @method string getProjectId()
4885
 * @method $this withProjectId($value)
4886
 */
4887
class ModifyFlowCategory extends Rpc
4888
{
4889
}
4890
4891
/**
4892
 * @method string getCronExpr()
4893
 * @method $this withCronExpr($value)
4894
 * @method string getPeriodic()
4895
 * @method $this withPeriodic($value)
4896
 * @method string getDescription()
4897
 * @method $this withDescription($value)
4898
 * @method string getAlertUserGroupBizId()
4899
 * @method $this withAlertUserGroupBizId($value)
4900
 * @method string getLifecycle()
4901
 * @method $this withLifecycle($value)
4902
 * @method string getHostName()
4903
 * @method $this withHostName($value)
4904
 * @method string getCreateCluster()
4905
 * @method $this withCreateCluster($value)
4906
 * @method string getEndSchedule()
4907
 * @method $this withEndSchedule($value)
4908
 * @method string getId()
4909
 * @method $this withId($value)
4910
 * @method string getAlertConf()
4911
 * @method $this withAlertConf($value)
4912
 * @method string getProjectId()
4913
 * @method $this withProjectId($value)
4914
 * @method string getParentFlowList()
4915
 * @method $this withParentFlowList($value)
4916
 * @method string getLogArchiveLocation()
4917
 * @method $this withLogArchiveLocation($value)
4918
 * @method string getAlertDingDingGroupBizId()
4919
 * @method $this withAlertDingDingGroupBizId($value)
4920
 * @method string getStartSchedule()
4921
 * @method $this withStartSchedule($value)
4922
 * @method string getClusterId()
4923
 * @method $this withClusterId($value)
4924
 * @method string getGraph()
4925
 * @method $this withGraph($value)
4926
 * @method string getName()
4927
 * @method $this withName($value)
4928
 * @method string getNamespace()
4929
 * @method $this withNamespace($value)
4930
 * @method string getStatus()
4931
 * @method $this withStatus($value)
4932
 * @method string getParentCategory()
4933
 * @method $this withParentCategory($value)
4934
 */
4935
class ModifyFlowForWeb extends Rpc
4936
{
4937
}
4938
4939
/**
4940
 * @method string getRetryPolicy()
4941
 * @method $this withRetryPolicy($value)
4942
 * @method string getRunConf()
4943
 * @method $this withRunConf($value)
4944
 * @method string getDescription()
4945
 * @method $this withDescription($value)
4946
 * @method string getParamConf()
4947
 * @method $this withParamConf($value)
4948
 * @method array getResourceList()
4949
 * @method string getFailAct()
4950
 * @method $this withFailAct($value)
4951
 * @method string getMode()
4952
 * @method $this withMode($value)
4953
 * @method string getMonitorConf()
4954
 * @method $this withMonitorConf($value)
4955
 * @method string getId()
4956
 * @method $this withId($value)
4957
 * @method string getMaxRetry()
4958
 * @method $this withMaxRetry($value)
4959
 * @method string getAlertConf()
4960
 * @method $this withAlertConf($value)
4961
 * @method string getProjectId()
4962
 * @method $this withProjectId($value)
4963
 * @method string getEnvConf()
4964
 * @method $this withEnvConf($value)
4965
 * @method string getMaxRunningTimeSec()
4966
 * @method $this withMaxRunningTimeSec($value)
4967
 * @method string getClusterId()
4968
 * @method $this withClusterId($value)
4969
 * @method string getParams()
4970
 * @method $this withParams($value)
4971
 * @method string getCustomVariables()
4972
 * @method $this withCustomVariables($value)
4973
 * @method string getRetryInterval()
4974
 * @method $this withRetryInterval($value)
4975
 * @method string getName()
4976
 * @method $this withName($value)
4977
 */
4978
class ModifyFlowJob extends Rpc
4979
{
4980
4981
    /**
4982
     * @param array $resourceList
4983
     *
4984
     * @return $this
4985
     */
4986
	public function withResourceList(array $resourceList)
4987
	{
4988
	    $this->data['ResourceList'] = $resourceList;
4989
		foreach ($resourceList as $depth1 => $depth1Value) {
4990
			if(isset($depth1Value['Path'])){
4991
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4992
			}
4993
			if(isset($depth1Value['Alias'])){
4994
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
4995
			}
4996
		}
4997
4998
		return $this;
4999
    }
5000
}
5001
5002
/**
5003
 * @method string getDescription()
5004
 * @method $this withDescription($value)
5005
 * @method string getName()
5006
 * @method $this withName($value)
5007
 * @method string getProjectId()
5008
 * @method $this withProjectId($value)
5009
 */
5010
class ModifyFlowProject extends Rpc
5011
{
5012
}
5013
5014
/**
5015
 * @method array getUserList()
5016
 * @method array getHostList()
5017
 * @method string getClusterId()
5018
 * @method $this withClusterId($value)
5019
 * @method string getDefaultQueue()
5020
 * @method $this withDefaultQueue($value)
5021
 * @method string getDefaultUser()
5022
 * @method $this withDefaultUser($value)
5023
 * @method array getQueueList()
5024
 * @method string getProjectId()
5025
 * @method $this withProjectId($value)
5026
 */
5027
class ModifyFlowProjectClusterSetting extends Rpc
5028
{
5029
5030
    /**
5031
     * @param array $userList
5032
     *
5033
     * @return $this
5034
     */
5035
	public function withUserList(array $userList)
5036
	{
5037
	    $this->data['UserList'] = $userList;
5038
		foreach ($userList as $i => $iValue) {
5039
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
5040
		}
5041
5042
		return $this;
5043
    }
5044
5045
    /**
5046
     * @param array $hostList
5047
     *
5048
     * @return $this
5049
     */
5050
	public function withHostList(array $hostList)
5051
	{
5052
	    $this->data['HostList'] = $hostList;
5053
		foreach ($hostList as $i => $iValue) {
5054
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
5055
		}
5056
5057
		return $this;
5058
    }
5059
5060
    /**
5061
     * @param array $queueList
5062
     *
5063
     * @return $this
5064
     */
5065
	public function withQueueList(array $queueList)
5066
	{
5067
	    $this->data['QueueList'] = $queueList;
5068
		foreach ($queueList as $i => $iValue) {
5069
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
5070
		}
5071
5072
		return $this;
5073
    }
5074
}
5075
5076
/**
5077
 * @method string getResourceOwnerId()
5078
 * @method $this withResourceOwnerId($value)
5079
 * @method string getType()
5080
 * @method $this withType($value)
5081
 * @method string getFailAct()
5082
 * @method $this withFailAct($value)
5083
 * @method string getRunParameter()
5084
 * @method $this withRunParameter($value)
5085
 * @method string getRetryInterval()
5086
 * @method $this withRetryInterval($value)
5087
 * @method string getResourceGroupId()
5088
 * @method $this withResourceGroupId($value)
5089
 * @method string getName()
5090
 * @method $this withName($value)
5091
 * @method string getId()
5092
 * @method $this withId($value)
5093
 * @method string getMaxRetry()
5094
 * @method $this withMaxRetry($value)
5095
 */
5096
class ModifyJob extends Rpc
5097
{
5098
}
5099
5100
/**
5101
 * @method string getResourceOwnerId()
5102
 * @method $this withResourceOwnerId($value)
5103
 * @method string getActive()
5104
 * @method $this withActive($value)
5105
 * @method string getClusterId()
5106
 * @method $this withClusterId($value)
5107
 * @method string getYarnsiteconfig()
5108
 * @method $this withYarnsiteconfig($value)
5109
 * @method string getName()
5110
 * @method $this withName($value)
5111
 * @method string getId()
5112
 * @method $this withId($value)
5113
 * @method array getConfig()
5114
 */
5115
class ModifyResourcePool extends Rpc
5116
{
5117
5118
    /**
5119
     * @param array $config
5120
     *
5121
     * @return $this
5122
     */
5123
	public function withConfig(array $config)
5124
	{
5125
	    $this->data['Config'] = $config;
5126
		foreach ($config as $depth1 => $depth1Value) {
5127
			if(isset($depth1Value['ConfigKey'])){
5128
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5129
			}
5130
			if(isset($depth1Value['Note'])){
5131
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
5132
			}
5133
			if(isset($depth1Value['ConfigValue'])){
5134
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5135
			}
5136
			if(isset($depth1Value['Id'])){
5137
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
5138
			}
5139
			if(isset($depth1Value['Category'])){
5140
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
5141
			}
5142
		}
5143
5144
		return $this;
5145
    }
5146
}
5147
5148
/**
5149
 * @method string getResourceOwnerId()
5150
 * @method $this withResourceOwnerId($value)
5151
 * @method string getClusterId()
5152
 * @method $this withClusterId($value)
5153
 * @method string getSchedulerType()
5154
 * @method $this withSchedulerType($value)
5155
 */
5156
class ModifyResourcePoolSchedulerType extends Rpc
5157
{
5158
}
5159
5160
/**
5161
 * @method string getResourceOwnerId()
5162
 * @method $this withResourceOwnerId($value)
5163
 * @method string getQualifiedName()
5164
 * @method $this withQualifiedName($value)
5165
 * @method string getResourcePoolId()
5166
 * @method $this withResourcePoolId($value)
5167
 * @method string getClusterId()
5168
 * @method $this withClusterId($value)
5169
 * @method string getLeaf()
5170
 * @method $this withLeaf($value)
5171
 * @method string getParentQueueId()
5172
 * @method $this withParentQueueId($value)
5173
 * @method string getName()
5174
 * @method $this withName($value)
5175
 * @method string getId()
5176
 * @method $this withId($value)
5177
 * @method array getConfig()
5178
 */
5179
class ModifyResourceQueue extends Rpc
5180
{
5181
5182
    /**
5183
     * @param array $config
5184
     *
5185
     * @return $this
5186
     */
5187
	public function withConfig(array $config)
5188
	{
5189
	    $this->data['Config'] = $config;
5190
		foreach ($config as $depth1 => $depth1Value) {
5191
			if(isset($depth1Value['ConfigKey'])){
5192
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5193
			}
5194
			if(isset($depth1Value['Note'])){
5195
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
5196
			}
5197
			if(isset($depth1Value['ConfigValue'])){
5198
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5199
			}
5200
			if(isset($depth1Value['Id'])){
5201
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
5202
			}
5203
			if(isset($depth1Value['Category'])){
5204
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
5205
			}
5206
		}
5207
5208
		return $this;
5209
    }
5210
}
5211
5212
/**
5213
 * @method string getConfigItemBizId()
5214
 * @method $this withConfigItemBizId($value)
5215
 * @method string getConfigItemType()
5216
 * @method $this withConfigItemType($value)
5217
 * @method string getResourceOwnerId()
5218
 * @method $this withResourceOwnerId($value)
5219
 * @method string getScalingGroupBizId()
5220
 * @method $this withScalingGroupBizId($value)
5221
 * @method string getResourceGroupId()
5222
 * @method $this withResourceGroupId($value)
5223
 * @method string getConfigItemInformation()
5224
 * @method $this withConfigItemInformation($value)
5225
 */
5226
class ModifyScalingConfigItemV2 extends Rpc
5227
{
5228
}
5229
5230
/**
5231
 * @method string getResourceOwnerId()
5232
 * @method $this withResourceOwnerId($value)
5233
 * @method string getDescription()
5234
 * @method $this withDescription($value)
5235
 * @method string getScalingGroupBizId()
5236
 * @method $this withScalingGroupBizId($value)
5237
 * @method string getResourceGroupId()
5238
 * @method $this withResourceGroupId($value)
5239
 * @method string getName()
5240
 * @method $this withName($value)
5241
 */
5242
class ModifyScalingGroupV2 extends Rpc
5243
{
5244
}
5245
5246
/**
5247
 * @method string getResourceOwnerId()
5248
 * @method $this withResourceOwnerId($value)
5249
 * @method string getRuleName()
5250
 * @method $this withRuleName($value)
5251
 * @method string getScalingRuleId()
5252
 * @method $this withScalingRuleId($value)
5253
 * @method string getRecurrenceEndTime()
5254
 * @method $this withRecurrenceEndTime($value)
5255
 * @method array getCloudWatchTrigger()
5256
 * @method string getTimeoutWithGrace()
5257
 * @method $this withTimeoutWithGrace($value)
5258
 * @method string getCooldown()
5259
 * @method $this withCooldown($value)
5260
 * @method string getLaunchTime()
5261
 * @method $this withLaunchTime($value)
5262
 * @method string getWithGrace()
5263
 * @method $this withWithGrace($value)
5264
 * @method string getAdjustmentValue()
5265
 * @method $this withAdjustmentValue($value)
5266
 * @method string getAdjustmentType()
5267
 * @method $this withAdjustmentType($value)
5268
 * @method string getClusterId()
5269
 * @method $this withClusterId($value)
5270
 * @method string getLaunchExpirationTime()
5271
 * @method $this withLaunchExpirationTime($value)
5272
 * @method string getRecurrenceValue()
5273
 * @method $this withRecurrenceValue($value)
5274
 * @method string getHostGroupId()
5275
 * @method $this withHostGroupId($value)
5276
 * @method array getSchedulerTrigger()
5277
 * @method string getRecurrenceType()
5278
 * @method $this withRecurrenceType($value)
5279
 */
5280
class ModifyScalingRule extends Rpc
5281
{
5282
5283
    /**
5284
     * @param array $cloudWatchTrigger
5285
     *
5286
     * @return $this
5287
     */
5288
	public function withCloudWatchTrigger(array $cloudWatchTrigger)
5289
	{
5290
	    $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
5291
		foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
5292
			if(isset($depth1Value['Period'])){
5293
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5294
			}
5295
			if(isset($depth1Value['EvaluationCount'])){
5296
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
5297
			}
5298
			if(isset($depth1Value['Threshold'])){
5299
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
5300
			}
5301
			if(isset($depth1Value['MetricName'])){
5302
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
5303
			}
5304
			if(isset($depth1Value['ComparisonOperator'])){
5305
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
5306
			}
5307
			if(isset($depth1Value['Statistics'])){
5308
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
5309
			}
5310
		}
5311
5312
		return $this;
5313
    }
5314
5315
    /**
5316
     * @param array $schedulerTrigger
5317
     *
5318
     * @return $this
5319
     */
5320
	public function withSchedulerTrigger(array $schedulerTrigger)
5321
	{
5322
	    $this->data['SchedulerTrigger'] = $schedulerTrigger;
5323
		foreach ($schedulerTrigger as $depth1 => $depth1Value) {
5324
			if(isset($depth1Value['LaunchTime'])){
5325
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
5326
			}
5327
			if(isset($depth1Value['LaunchExpirationTime'])){
5328
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
5329
			}
5330
			if(isset($depth1Value['RecurrenceValue'])){
5331
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
5332
			}
5333
			if(isset($depth1Value['RecurrenceEndTime'])){
5334
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
5335
			}
5336
			if(isset($depth1Value['RecurrenceType'])){
5337
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
5338
			}
5339
		}
5340
5341
		return $this;
5342
    }
5343
}
5344
5345
/**
5346
 * @method string getResourceOwnerId()
5347
 * @method $this withResourceOwnerId($value)
5348
 * @method string getWithGrace()
5349
 * @method $this withWithGrace($value)
5350
 * @method string getClusterId()
5351
 * @method $this withClusterId($value)
5352
 * @method string getMinSize()
5353
 * @method $this withMinSize($value)
5354
 * @method string getTimeoutWithGrace()
5355
 * @method $this withTimeoutWithGrace($value)
5356
 * @method string getHostGroupId()
5357
 * @method $this withHostGroupId($value)
5358
 * @method string getActiveRuleCategory()
5359
 * @method $this withActiveRuleCategory($value)
5360
 * @method string getMaxSize()
5361
 * @method $this withMaxSize($value)
5362
 * @method string getDefaultCooldown()
5363
 * @method $this withDefaultCooldown($value)
5364
 */
5365
class ModifyScalingTaskGroup extends Rpc
5366
{
5367
}
5368
5369
/**
5370
 * @method string getResourceOwnerId()
5371
 * @method $this withResourceOwnerId($value)
5372
 * @method string getDescription()
5373
 * @method $this withDescription($value)
5374
 * @method string getName()
5375
 * @method $this withName($value)
5376
 * @method string getId()
5377
 * @method $this withId($value)
5378
 * @method string getCategory()
5379
 * @method $this withCategory($value)
5380
 */
5381
class QueryEntity extends Rpc
5382
{
5383
}
5384
5385
/**
5386
 * @method string getResourceOwnerId()
5387
 * @method $this withResourceOwnerId($value)
5388
 * @method string getTagId()
5389
 * @method $this withTagId($value)
5390
 * @method string getEntityId()
5391
 * @method $this withEntityId($value)
5392
 * @method string getEntityType()
5393
 * @method $this withEntityType($value)
5394
 */
5395
class QueryTag extends Rpc
5396
{
5397
}
5398
5399
/**
5400
 * @method string getResourceOwnerId()
5401
 * @method $this withResourceOwnerId($value)
5402
 * @method string getResourcePoolId()
5403
 * @method $this withResourcePoolId($value)
5404
 * @method string getClusterId()
5405
 * @method $this withClusterId($value)
5406
 */
5407
class RefreshClusterResourcePool extends Rpc
5408
{
5409
}
5410
5411
/**
5412
 * @method string getResourceOwnerId()
5413
 * @method $this withResourceOwnerId($value)
5414
 * @method string getForceRelease()
5415
 * @method $this withForceRelease($value)
5416
 * @method string getId()
5417
 * @method $this withId($value)
5418
 */
5419
class ReleaseCluster extends Rpc
5420
{
5421
}
5422
5423
/**
5424
 * @method string getResourceOwnerId()
5425
 * @method $this withResourceOwnerId($value)
5426
 * @method string getClusterId()
5427
 * @method $this withClusterId($value)
5428
 * @method string getHostGroupId()
5429
 * @method $this withHostGroupId($value)
5430
 * @method string getInstanceIdList()
5431
 * @method $this withInstanceIdList($value)
5432
 */
5433
class ReleaseClusterHostGroup extends Rpc
5434
{
5435
}
5436
5437
/**
5438
 * @method string getConfigItemType()
5439
 * @method $this withConfigItemType($value)
5440
 * @method string getConfigItemBizId()
5441
 * @method $this withConfigItemBizId($value)
5442
 * @method string getResourceOwnerId()
5443
 * @method $this withResourceOwnerId($value)
5444
 * @method string getScalingGroupBizId()
5445
 * @method $this withScalingGroupBizId($value)
5446
 * @method string getResourceGroupId()
5447
 * @method $this withResourceGroupId($value)
5448
 */
5449
class RemoveScalingConfigItemV2 extends Rpc
5450
{
5451
}
5452
5453
/**
5454
 * @method string getFlowInstanceId()
5455
 * @method $this withFlowInstanceId($value)
5456
 * @method string getReRunFail()
5457
 * @method $this withReRunFail($value)
5458
 * @method string getProjectId()
5459
 * @method $this withProjectId($value)
5460
 */
5461
class RerunFlow extends Rpc
5462
{
5463
}
5464
5465
/**
5466
 * @method string getIsOpenPublicIp()
5467
 * @method $this withIsOpenPublicIp($value)
5468
 * @method string getAutoPayOrder()
5469
 * @method $this withAutoPayOrder($value)
5470
 * @method string getClusterId()
5471
 * @method $this withClusterId($value)
5472
 * @method string getVswitchId()
5473
 * @method $this withVswitchId($value)
5474
 * @method array getHostComponentInfo()
5475
 * @method string getClickhouseConf()
5476
 * @method $this withClickhouseConf($value)
5477
 * @method array getHostGroup()
5478
 * @method array getPromotionInfo()
5479
 */
5480
class ResizeClusterV2 extends Rpc
5481
{
5482
5483
    /**
5484
     * @param array $hostComponentInfo
5485
     *
5486
     * @return $this
5487
     */
5488
	public function withHostComponentInfo(array $hostComponentInfo)
5489
	{
5490
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
5491
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
5492
			if(isset($depth1Value['HostName'])){
5493
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
5494
			}
5495
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
5496
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
5497
			}
5498
			if(isset($depth1Value['ServiceName'])){
5499
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5500
			}
5501
		}
5502
5503
		return $this;
5504
    }
5505
5506
    /**
5507
     * @param array $hostGroup
5508
     *
5509
     * @return $this
5510
     */
5511
	public function withHostGroup(array $hostGroup)
5512
	{
5513
	    $this->data['HostGroup'] = $hostGroup;
5514
		foreach ($hostGroup as $depth1 => $depth1Value) {
5515
			if(isset($depth1Value['Period'])){
5516
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5517
			}
5518
			if(isset($depth1Value['SysDiskCapacity'])){
5519
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
5520
			}
5521
			if(isset($depth1Value['HostKeyPairName'])){
5522
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostKeyPairName'] = $depth1Value['HostKeyPairName'];
5523
			}
5524
			if(isset($depth1Value['PrivatePoolOptionsId'])){
5525
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
5526
			}
5527
			if(isset($depth1Value['DiskCapacity'])){
5528
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
5529
			}
5530
			if(isset($depth1Value['SysDiskType'])){
5531
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
5532
			}
5533
			if(isset($depth1Value['ClusterId'])){
5534
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
5535
			}
5536
			if(isset($depth1Value['DiskType'])){
5537
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
5538
			}
5539
			if(isset($depth1Value['HostGroupName'])){
5540
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
5541
			}
5542
			if(isset($depth1Value['VswitchId'])){
5543
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId'];
5544
			}
5545
			if(isset($depth1Value['DiskCount'])){
5546
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
5547
			}
5548
			if(isset($depth1Value['AutoRenew'])){
5549
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
5550
			}
5551
			if(isset($depth1Value['HostGroupId'])){
5552
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
5553
			}
5554
			if(isset($depth1Value['NodeCount'])){
5555
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
5556
			}
5557
			if(isset($depth1Value['InstanceType'])){
5558
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
5559
			}
5560
			if(isset($depth1Value['Comment'])){
5561
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
5562
			}
5563
			if(isset($depth1Value['ChargeType'])){
5564
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
5565
			}
5566
			if(isset($depth1Value['CreateType'])){
5567
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
5568
			}
5569
			if(isset($depth1Value['HostPassword'])){
5570
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostPassword'] = $depth1Value['HostPassword'];
5571
			}
5572
			if(isset($depth1Value['HostGroupType'])){
5573
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
5574
			}
5575
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
5576
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
5577
			}
5578
		}
5579
5580
		return $this;
5581
    }
5582
5583
    /**
5584
     * @param array $promotionInfo
5585
     *
5586
     * @return $this
5587
     */
5588
	public function withPromotionInfo(array $promotionInfo)
5589
	{
5590
	    $this->data['PromotionInfo'] = $promotionInfo;
5591
		foreach ($promotionInfo as $depth1 => $depth1Value) {
5592
			if(isset($depth1Value['PromotionOptionCode'])){
5593
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
5594
			}
5595
			if(isset($depth1Value['ProductCode'])){
5596
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
5597
			}
5598
			if(isset($depth1Value['PromotionOptionNo'])){
5599
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
5600
			}
5601
		}
5602
5603
		return $this;
5604
    }
5605
}
5606
5607
/**
5608
 * @method string getResourceOwnerId()
5609
 * @method $this withResourceOwnerId($value)
5610
 * @method string getId()
5611
 * @method $this withId($value)
5612
 */
5613
class ResumeExecutionPlanScheduler extends Rpc
5614
{
5615
}
5616
5617
/**
5618
 * @method string getFlowInstanceId()
5619
 * @method $this withFlowInstanceId($value)
5620
 * @method string getProjectId()
5621
 * @method $this withProjectId($value)
5622
 */
5623
class ResumeFlow extends Rpc
5624
{
5625
}
5626
5627
/**
5628
 * @method string getResourceOwnerId()
5629
 * @method $this withResourceOwnerId($value)
5630
 * @method string getOperationId()
5631
 * @method $this withOperationId($value)
5632
 */
5633
class RetryOperation extends Rpc
5634
{
5635
}
5636
5637
/**
5638
 * @method array getHostGroupIdList()
5639
 * @method string getResourceOwnerId()
5640
 * @method $this withResourceOwnerId($value)
5641
 * @method string getServiceActionName()
5642
 * @method $this withServiceActionName($value)
5643
 * @method string getIsRolling()
5644
 * @method $this withIsRolling($value)
5645
 * @method string getTotlerateFailCount()
5646
 * @method $this withTotlerateFailCount($value)
5647
 * @method string getServiceName()
5648
 * @method $this withServiceName($value)
5649
 * @method string getExecuteStrategy()
5650
 * @method $this withExecuteStrategy($value)
5651
 * @method string getOnlyRestartStaleConfigNodes()
5652
 * @method $this withOnlyRestartStaleConfigNodes($value)
5653
 * @method string getNodeCountPerBatch()
5654
 * @method $this withNodeCountPerBatch($value)
5655
 * @method string getClusterId()
5656
 * @method $this withClusterId($value)
5657
 * @method string getCustomCommand()
5658
 * @method $this withCustomCommand($value)
5659
 * @method string getComponentNameList()
5660
 * @method $this withComponentNameList($value)
5661
 * @method string getComment()
5662
 * @method $this withComment($value)
5663
 * @method string getCustomParams()
5664
 * @method $this withCustomParams($value)
5665
 * @method string getInterval()
5666
 * @method $this withInterval($value)
5667
 * @method string getHostIdList()
5668
 * @method $this withHostIdList($value)
5669
 * @method string getTurnOnMaintenanceMode()
5670
 * @method $this withTurnOnMaintenanceMode($value)
5671
 */
5672
class RunClusterServiceAction extends Rpc
5673
{
5674
5675
    /**
5676
     * @param array $hostGroupIdList
5677
     *
5678
     * @return $this
5679
     */
5680
	public function withHostGroupIdList(array $hostGroupIdList)
5681
	{
5682
	    $this->data['HostGroupIdList'] = $hostGroupIdList;
5683
		foreach ($hostGroupIdList as $i => $iValue) {
5684
			$this->options['query']['HostGroupIdList.' . ($i + 1)] = $iValue;
5685
		}
5686
5687
		return $this;
5688
    }
5689
}
5690
5691
/**
5692
 * @method string getEventId()
5693
 * @method $this withEventId($value)
5694
 * @method string getResourceOwnerId()
5695
 * @method $this withResourceOwnerId($value)
5696
 * @method string getCurrentStage()
5697
 * @method $this withCurrentStage($value)
5698
 * @method string getClusterId()
5699
 * @method $this withClusterId($value)
5700
 * @method string getInstanceId()
5701
 * @method $this withInstanceId($value)
5702
 * @method string getDiskId()
5703
 * @method $this withDiskId($value)
5704
 * @method string getCurrentState()
5705
 * @method $this withCurrentState($value)
5706
 */
5707
class RunDiskOpsActivity extends Rpc
5708
{
5709
}
5710
5711
/**
5712
 * @method string getResourceOwnerId()
5713
 * @method $this withResourceOwnerId($value)
5714
 * @method string getArguments()
5715
 * @method $this withArguments($value)
5716
 * @method string getId()
5717
 * @method $this withId($value)
5718
 */
5719
class RunExecutionPlan extends Rpc
5720
{
5721
}
5722
5723
/**
5724
 * @method string getResourceOwnerId()
5725
 * @method $this withResourceOwnerId($value)
5726
 * @method string getScalingActionType()
5727
 * @method $this withScalingActionType($value)
5728
 * @method string getScalingGroupBizId()
5729
 * @method $this withScalingGroupBizId($value)
5730
 * @method string getResourceGroupId()
5731
 * @method $this withResourceGroupId($value)
5732
 * @method string getActionParam()
5733
 * @method $this withActionParam($value)
5734
 */
5735
class RunScalingActionV2 extends Rpc
5736
{
5737
}
5738
5739
/**
5740
 * @method string getResourceOwnerId()
5741
 * @method $this withResourceOwnerId($value)
5742
 * @method string getLine()
5743
 * @method $this withLine($value)
5744
 * @method string getHostName()
5745
 * @method $this withHostName($value)
5746
 * @method string getLogstoreName()
5747
 * @method $this withLogstoreName($value)
5748
 * @method string getFromTimestamp()
5749
 * @method $this withFromTimestamp($value)
5750
 * @method string getOffset()
5751
 * @method $this withOffset($value)
5752
 * @method string getClusterId()
5753
 * @method $this withClusterId($value)
5754
 * @method string getReverse()
5755
 * @method $this withReverse($value)
5756
 * @method string getHostInnerIp()
5757
 * @method $this withHostInnerIp($value)
5758
 * @method string getToTimestamp()
5759
 * @method $this withToTimestamp($value)
5760
 * @method string getSlsQueryString()
5761
 * @method $this withSlsQueryString($value)
5762
 */
5763
class SearchLog extends Rpc
5764
{
5765
}
5766
5767
/**
5768
 * @method string getFlowInstanceId()
5769
 * @method $this withFlowInstanceId($value)
5770
 * @method string getProjectId()
5771
 * @method $this withProjectId($value)
5772
 */
5773
class StartFlow extends Rpc
5774
{
5775
}
5776
5777
/**
5778
 * @method string getConf()
5779
 * @method $this withConf($value)
5780
 * @method string getProjectId()
5781
 * @method $this withProjectId($value)
5782
 * @method string getFlowId()
5783
 * @method $this withFlowId($value)
5784
 */
5785
class SubmitFlow extends Rpc
5786
{
5787
}
5788
5789
/**
5790
 * @method string getConf()
5791
 * @method $this withConf($value)
5792
 * @method string getClusterId()
5793
 * @method $this withClusterId($value)
5794
 * @method string getJobId()
5795
 * @method $this withJobId($value)
5796
 * @method string getHostName()
5797
 * @method $this withHostName($value)
5798
 * @method string getNamespace()
5799
 * @method $this withNamespace($value)
5800
 * @method string getJobInstanceId()
5801
 * @method $this withJobInstanceId($value)
5802
 * @method string getProjectId()
5803
 * @method $this withProjectId($value)
5804
 */
5805
class SubmitFlowJob extends Rpc
5806
{
5807
}
5808
5809
/**
5810
 * @method string getResourceOwnerId()
5811
 * @method $this withResourceOwnerId($value)
5812
 * @method string getId()
5813
 * @method $this withId($value)
5814
 */
5815
class SuspendExecutionPlanScheduler extends Rpc
5816
{
5817
}
5818
5819
/**
5820
 * @method string getFlowInstanceId()
5821
 * @method $this withFlowInstanceId($value)
5822
 * @method string getProjectId()
5823
 * @method $this withProjectId($value)
5824
 */
5825
class SuspendFlow extends Rpc
5826
{
5827
}
5828
5829
/**
5830
 * @method string getResourceOwnerId()
5831
 * @method $this withResourceOwnerId($value)
5832
 * @method array getResourceId()
5833
 * @method string getResourceType()
5834
 * @method $this withResourceType($value)
5835
 * @method array getTag()
5836
 */
5837
class TagResources extends Rpc
5838
{
5839
5840
    /**
5841
     * @param array $resourceId
5842
     *
5843
     * @return $this
5844
     */
5845
	public function withResourceId(array $resourceId)
5846
	{
5847
	    $this->data['ResourceId'] = $resourceId;
5848
		foreach ($resourceId as $i => $iValue) {
5849
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
5850
		}
5851
5852
		return $this;
5853
    }
5854
5855
    /**
5856
     * @param array $tag
5857
     *
5858
     * @return $this
5859
     */
5860
	public function withTag(array $tag)
5861
	{
5862
	    $this->data['Tag'] = $tag;
5863
		foreach ($tag as $depth1 => $depth1Value) {
5864
			if(isset($depth1Value['Key'])){
5865
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
5866
			}
5867
			if(isset($depth1Value['Value'])){
5868
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
5869
			}
5870
		}
5871
5872
		return $this;
5873
    }
5874
}
5875
5876
/**
5877
 * @method string getResourceOwnerId()
5878
 * @method $this withResourceOwnerId($value)
5879
 * @method string getLibraryBizId()
5880
 * @method $this withLibraryBizId($value)
5881
 * @method array getClusterBizIdList()
5882
 */
5883
class UninstallLibraries extends Rpc
5884
{
5885
5886
    /**
5887
     * @param array $clusterBizIdList
5888
     *
5889
     * @return $this
5890
     */
5891
	public function withClusterBizIdList(array $clusterBizIdList)
5892
	{
5893
	    $this->data['ClusterBizIdList'] = $clusterBizIdList;
5894
		foreach ($clusterBizIdList as $i => $iValue) {
5895
			$this->options['query']['ClusterBizIdList.' . ($i + 1)] = $iValue;
5896
		}
5897
5898
		return $this;
5899
    }
5900
}
5901
5902
/**
5903
 * @method string getAll()
5904
 * @method $this withAll($value)
5905
 * @method string getResourceOwnerId()
5906
 * @method $this withResourceOwnerId($value)
5907
 * @method array getResourceId()
5908
 * @method string getResourceType()
5909
 * @method $this withResourceType($value)
5910
 * @method array getTagKey()
5911
 */
5912
class UntagResources extends Rpc
5913
{
5914
5915
    /**
5916
     * @param array $resourceId
5917
     *
5918
     * @return $this
5919
     */
5920
	public function withResourceId(array $resourceId)
5921
	{
5922
	    $this->data['ResourceId'] = $resourceId;
5923
		foreach ($resourceId as $i => $iValue) {
5924
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
5925
		}
5926
5927
		return $this;
5928
    }
5929
5930
    /**
5931
     * @param array $tagKey
5932
     *
5933
     * @return $this
5934
     */
5935
	public function withTagKey(array $tagKey)
5936
	{
5937
	    $this->data['TagKey'] = $tagKey;
5938
		foreach ($tagKey as $i => $iValue) {
5939
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
5940
		}
5941
5942
		return $this;
5943
    }
5944
}
5945
5946
/**
5947
 * @method string getResourceOwnerId()
5948
 * @method $this withResourceOwnerId($value)
5949
 * @method string getDescription()
5950
 * @method $this withDescription($value)
5951
 * @method string getConf()
5952
 * @method $this withConf($value)
5953
 * @method string getResourceGroupId()
5954
 * @method $this withResourceGroupId($value)
5955
 * @method string getName()
5956
 * @method $this withName($value)
5957
 * @method string getId()
5958
 * @method $this withId($value)
5959
 */
5960
class UpdateDataSource extends Rpc
5961
{
5962
}
5963
5964
/**
5965
 * @method string getResourceOwnerId()
5966
 * @method $this withResourceOwnerId($value)
5967
 * @method string getTaskBizId()
5968
 * @method $this withTaskBizId($value)
5969
 * @method string getStatus()
5970
 * @method $this withStatus($value)
5971
 */
5972
class UpdateLibraryInstallTaskStatus extends Rpc
5973
{
5974
}
5975
5976
/**
5977
 * @method string getResourceOwnerId()
5978
 * @method $this withResourceOwnerId($value)
5979
 * @method string getDescription()
5980
 * @method $this withDescription($value)
5981
 * @method string getName()
5982
 * @method $this withName($value)
5983
 * @method string getId()
5984
 * @method $this withId($value)
5985
 * @method string getCategory()
5986
 * @method $this withCategory($value)
5987
 */
5988
class UpdateTag extends Rpc
5989
{
5990
}
5991
5992
/**
5993
 * @method string getResourceOwnerId()
5994
 * @method $this withResourceOwnerId($value)
5995
 * @method string getUserType()
5996
 * @method $this withUserType($value)
5997
 * @method string getDescription()
5998
 * @method $this withDescription($value)
5999
 * @method array getUserAccountParamList()
6000
 * @method array getGroupIdList()
6001
 * @method array getRoleIdList()
6002
 * @method string getAliyunUserId()
6003
 * @method $this withAliyunUserId($value)
6004
 * @method string getUserName()
6005
 * @method $this withUserName($value)
6006
 * @method string getStatus()
6007
 * @method $this withStatus($value)
6008
 */
6009
class UpdateUser extends Rpc
6010
{
6011
6012
    /**
6013
     * @param array $userAccountParamList
6014
     *
6015
     * @return $this
6016
     */
6017
	public function withUserAccountParamList(array $userAccountParamList)
6018
	{
6019
	    $this->data['UserAccountParamList'] = $userAccountParamList;
6020
		foreach ($userAccountParamList as $depth1 => $depth1Value) {
6021
			if(isset($depth1Value['AccountType'])){
6022
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
6023
			}
6024
			if(isset($depth1Value['AuthType'])){
6025
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AuthType'] = $depth1Value['AuthType'];
6026
			}
6027
			if(isset($depth1Value['AccountPassword'])){
6028
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountPassword'] = $depth1Value['AccountPassword'];
6029
			}
6030
		}
6031
6032
		return $this;
6033
    }
6034
6035
    /**
6036
     * @param array $groupIdList
6037
     *
6038
     * @return $this
6039
     */
6040
	public function withGroupIdList(array $groupIdList)
6041
	{
6042
	    $this->data['GroupIdList'] = $groupIdList;
6043
		foreach ($groupIdList as $i => $iValue) {
6044
			$this->options['query']['GroupIdList.' . ($i + 1)] = $iValue;
6045
		}
6046
6047
		return $this;
6048
    }
6049
6050
    /**
6051
     * @param array $roleIdList
6052
     *
6053
     * @return $this
6054
     */
6055
	public function withRoleIdList(array $roleIdList)
6056
	{
6057
	    $this->data['RoleIdList'] = $roleIdList;
6058
		foreach ($roleIdList as $i => $iValue) {
6059
			$this->options['query']['RoleIdList.' . ($i + 1)] = $iValue;
6060
		}
6061
6062
		return $this;
6063
    }
6064
}
6065