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.
Passed
Pull Request — master (#80)
by Yong
04:25
created

CreateClusterWithHostPool   A

Complexity

Total Complexity 9

Size/Duplication

Total Lines 77
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 9
eloc 32
dl 0
loc 77
c 0
b 0
f 0
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A withHostGroup() 0 10 2
A withHostInfo() 0 17 3
A withConfig() 0 11 2
A withServiceInfo() 0 10 2
1
<?php
2
3
namespace AlibabaCloud\Emr\V20160408;
4
5
use AlibabaCloud\ApiResolverTrait;
6
use AlibabaCloud\Rpc;
7
8
/**
9
 * Resolve Api based on the method name.
10
 *
11
 * @method CreateClusterWithHostPool createClusterWithHostPool(array $options = [])
12
 * @method CreateHostPool createHostPool(array $options = [])
13
 * @method AddHpHost addHpHost(array $options = [])
14
 * @method StartKafkaPreferredReplicaElection startKafkaPreferredReplicaElection(array $options = [])
15
 * @method StartKafkaBrokerDiskBalancer startKafkaBrokerDiskBalancer(array $options = [])
16
 * @method ReassignKafka reassignKafka(array $options = [])
17
 * @method OfflineKafkaBroker offlineKafkaBroker(array $options = [])
18
 * @method ListKafkaTopicStatistics listKafkaTopicStatistics(array $options = [])
19
 * @method ListKafkaReassign listKafkaReassign(array $options = [])
20
 * @method ListKafkaBroker listKafkaBroker(array $options = [])
21
 * @method DescribeKafkaReassign describeKafkaReassign(array $options = [])
22
 * @method DescribeKafkaBroker describeKafkaBroker(array $options = [])
23
 * @method ListETLJobRelease listETLJobRelease(array $options = [])
24
 * @method GetJobMigrateResult getJobMigrateResult(array $options = [])
25
 * @method DescribeFlowVariableCollection describeFlowVariableCollection(array $options = [])
26
 * @method ModifyFlowVariableCollection modifyFlowVariableCollection(array $options = [])
27
 * @method SyncDataSourceSchemaTable syncDataSourceSchemaTable(array $options = [])
28
 * @method SyncDataSourceSchemaDatabase syncDataSourceSchemaDatabase(array $options = [])
29
 * @method KillETLJobInstance killETLJobInstance(array $options = [])
30
 * @method ReleaseETLJob releaseETLJob(array $options = [])
31
 * @method CloneDataSource cloneDataSource(array $options = [])
32
 * @method CloneETLJob cloneETLJob(array $options = [])
33
 * @method CancelETLJobRelease cancelETLJobRelease(array $options = [])
34
 * @method ListClusterTag listClusterTag(array $options = [])
35
 * @method DescribeETLJobStageOutputSchema describeETLJobStageOutputSchema(array $options = [])
36
 * @method UpdateProjectSetting updateProjectSetting(array $options = [])
37
 * @method UpdateETLJobStage updateETLJobStage(array $options = [])
38
 * @method ListDataSourceSchemaDatabase listDataSourceSchemaDatabase(array $options = [])
39
 * @method ListDataSourceSchemaTable listDataSourceSchemaTable(array $options = [])
40
 * @method ResolveETLJobSqlSchema resolveETLJobSqlSchema(array $options = [])
41
 * @method DescribeETLJobSqlSchema describeETLJobSqlSchema(array $options = [])
42
 * @method DescribeDataSourceSchemaTable describeDataSourceSchemaTable(array $options = [])
43
 * @method DescribeDataSourceSchemaDatabase describeDataSourceSchemaDatabase(array $options = [])
44
 * @method UpdateNavNode updateNavNode(array $options = [])
45
 * @method UpdateDataSource updateDataSource(array $options = [])
46
 * @method UpdateETLJob updateETLJob(array $options = [])
47
 * @method RunETLJob runETLJob(array $options = [])
48
 * @method ListNavSubTree listNavSubTree(array $options = [])
49
 * @method ListETLJobTriggerEntity listETLJobTriggerEntity(array $options = [])
50
 * @method ListETLJobInstance listETLJobInstance(array $options = [])
51
 * @method ListDataSource listDataSource(array $options = [])
52
 * @method DescribeETLJobInstance describeETLJobInstance(array $options = [])
53
 * @method DescribeETLJob describeETLJob(array $options = [])
54
 * @method DescribeDataSourceSchema describeDataSourceSchema(array $options = [])
55
 * @method DescribeDataSourceCommand describeDataSourceCommand(array $options = [])
56
 * @method DescribeDataSource describeDataSource(array $options = [])
57
 * @method DeleteNavNode deleteNavNode(array $options = [])
58
 * @method DeleteETLJob deleteETLJob(array $options = [])
59
 * @method DeleteDataSource deleteDataSource(array $options = [])
60
 * @method CreateNavNode createNavNode(array $options = [])
61
 * @method CreateETLJob createETLJob(array $options = [])
62
 * @method CreateDataSource createDataSource(array $options = [])
63
 * @method CheckDataSource checkDataSource(array $options = [])
64
 * @method ListSupportedServiceName listSupportedServiceName(array $options = [])
65
 * @method ListClusterServiceCustomActionSupportConfig listClusterServiceCustomActionSupportConfig(array $options = [])
66
 * @method CommonApiWhiteList commonApiWhiteList(array $options = [])
67
 * @method MetastoreUpdateKafkaTopicBatch metastoreUpdateKafkaTopicBatch(array $options = [])
68
 * @method RenderResourcePoolXml renderResourcePoolXml(array $options = [])
69
 * @method DeleteClusterHostGroup deleteClusterHostGroup(array $options = [])
70
 * @method CreateClusterHostGroup createClusterHostGroup(array $options = [])
71
 * @method ModifyClusterHostGroup modifyClusterHostGroup(array $options = [])
72
 * @method MigrateClusterHostGroupHost migrateClusterHostGroupHost(array $options = [])
73
 * @method ListResourceQueue listResourceQueue(array $options = [])
74
 * @method MetastoreListTablePartition metastoreListTablePartition(array $options = [])
75
 * @method ContextQueryLog contextQueryLog(array $options = [])
76
 * @method MetastoreListPartition metastoreListPartition(array $options = [])
77
 * @method AttachPubIp attachPubIp(array $options = [])
78
 * @method MetastoreUpdateKafkaTopic metastoreUpdateKafkaTopic(array $options = [])
79
 * @method MetastoreListKafkaTopic metastoreListKafkaTopic(array $options = [])
80
 * @method MetastoreListKafkaConsumerGroup metastoreListKafkaConsumerGroup(array $options = [])
81
 * @method MetastoreDescribeKafkaConsumerGroup metastoreDescribeKafkaConsumerGroup(array $options = [])
82
 * @method MetastoreDescribeKafkaTopic metastoreDescribeKafkaTopic(array $options = [])
83
 * @method MetastoreDeleteKafkaTopic metastoreDeleteKafkaTopic(array $options = [])
84
 * @method MetastoreCreateKafkaTopic metastoreCreateKafkaTopic(array $options = [])
85
 * @method StartFlow startFlow(array $options = [])
86
 * @method GetLogHistogram getLogHistogram(array $options = [])
87
 * @method ListFlowNodeInstance listFlowNodeInstance(array $options = [])
88
 * @method DescribeFlowJobStatistic describeFlowJobStatistic(array $options = [])
89
 * @method RemoveClusterHosts removeClusterHosts(array $options = [])
90
 * @method DescribeClusterStatistics describeClusterStatistics(array $options = [])
91
 * @method MetastoreDescribeTask metastoreDescribeTask(array $options = [])
92
 * @method MetastoreRetryTask metastoreRetryTask(array $options = [])
93
 * @method MetastoreListTask metastoreListTask(array $options = [])
94
 * @method MetastoreListDataSource metastoreListDataSource(array $options = [])
95
 * @method MetastoreDescribeDataSource metastoreDescribeDataSource(array $options = [])
96
 * @method MetastoreUpdateTable metastoreUpdateTable(array $options = [])
97
 * @method QueryServiceMetricData queryServiceMetricData(array $options = [])
98
 * @method ListExecutePlanMigrateInfo listExecutePlanMigrateInfo(array $options = [])
99
 * @method ModifyPreMigrateJobs modifyPreMigrateJobs(array $options = [])
100
 * @method MigrateJobs migrateJobs(array $options = [])
101
 * @method PreMigrateJobs preMigrateJobs(array $options = [])
102
 * @method DescribeJobMigrateInfo describeJobMigrateInfo(array $options = [])
103
 * @method ListJobMigrateInfo listJobMigrateInfo(array $options = [])
104
 * @method AuthorizeSecurityGroup authorizeSecurityGroup(array $options = [])
105
 * @method DescribeSecurityGroupAttribute describeSecurityGroupAttribute(array $options = [])
106
 * @method DescribeUserStatistics describeUserStatistics(array $options = [])
107
 * @method ModifyUserStatistics modifyUserStatistics(array $options = [])
108
 * @method ListUserStatistics listUserStatistics(array $options = [])
109
 * @method CreateUserStatistics createUserStatistics(array $options = [])
110
 * @method RetryCreateUserPassword retryCreateUserPassword(array $options = [])
111
 * @method CreateVerificationCode createVerificationCode(array $options = [])
112
 * @method CreateAlertContact createAlertContact(array $options = [])
113
 * @method DeleteAlertContacts deleteAlertContacts(array $options = [])
114
 * @method ListAlertContacts listAlertContacts(array $options = [])
115
 * @method ModifyAlertContact modifyAlertContact(array $options = [])
116
 * @method ListAlertDingDingGroup listAlertDingDingGroup(array $options = [])
117
 * @method ListAlertUserGroup listAlertUserGroup(array $options = [])
118
 * @method CreateAlertDingDingGroup createAlertDingDingGroup(array $options = [])
119
 * @method ModifyAlertDingDingGroup modifyAlertDingDingGroup(array $options = [])
120
 * @method DeleteAlertDingDingGroups deleteAlertDingDingGroups(array $options = [])
121
 * @method DeleteAlertUserGroups deleteAlertUserGroups(array $options = [])
122
 * @method ModifyAlertUserGroup modifyAlertUserGroup(array $options = [])
123
 * @method CreateAlertUserGroup createAlertUserGroup(array $options = [])
124
 * @method QuerySlsMetricData querySlsMetricData(array $options = [])
125
 * @method CloneFlowJob cloneFlowJob(array $options = [])
126
 * @method CloneFlow cloneFlow(array $options = [])
127
 * @method ListFlow listFlow(array $options = [])
128
 * @method ListScalingTaskGroup listScalingTaskGroup(array $options = [])
129
 * @method ModifyScalingRule modifyScalingRule(array $options = [])
130
 * @method ModifyScalingTaskGroup modifyScalingTaskGroup(array $options = [])
131
 * @method DescribeScalingTaskGroup describeScalingTaskGroup(array $options = [])
132
 * @method DeleteScalingRule deleteScalingRule(array $options = [])
133
 * @method DeleteScalingTaskGroup deleteScalingTaskGroup(array $options = [])
134
 * @method CreateScalingTaskGroup createScalingTaskGroup(array $options = [])
135
 * @method CreateScalingRule createScalingRule(array $options = [])
136
 * @method ListScalingRule listScalingRule(array $options = [])
137
 * @method ListScalingActivity listScalingActivity(array $options = [])
138
 * @method DescribeScalingRule describeScalingRule(array $options = [])
139
 * @method DescribeScalingActivity describeScalingActivity(array $options = [])
140
 * @method ListClusterServiceComponentHealthInfo listClusterServiceComponentHealthInfo(array $options = [])
141
 * @method DeleteFlowProjectById deleteFlowProjectById(array $options = [])
142
 * @method DescribeEmrMainVersion describeEmrMainVersion(array $options = [])
143
 * @method ListEmrMainVersion listEmrMainVersion(array $options = [])
144
 * @method OperateExistsNodeCluster operateExistsNodeCluster(array $options = [])
145
 * @method CreateUsers createUsers(array $options = [])
146
 * @method CreateUserPassword createUserPassword(array $options = [])
147
 * @method ListUsers listUsers(array $options = [])
148
 * @method DeleteUser deleteUser(array $options = [])
149
 * @method MetastoreDeleteDataResource metastoreDeleteDataResource(array $options = [])
150
 * @method MetastoreCreateDataResource metastoreCreateDataResource(array $options = [])
151
 * @method MetastoreListDataResources metastoreListDataResources(array $options = [])
152
 * @method MetastoreModifyDataResource metastoreModifyDataResource(array $options = [])
153
 * @method ListFlowJob listFlowJob(array $options = [])
154
 * @method ListFlowClusterAllHosts listFlowClusterAllHosts(array $options = [])
155
 * @method ListEmrAvailableConfig listEmrAvailableConfig(array $options = [])
156
 * @method ListEmrAvailableResource listEmrAvailableResource(array $options = [])
157
 * @method CreateClusterWithTemplate createClusterWithTemplate(array $options = [])
158
 * @method ListFlowNodeSqlResult listFlowNodeSqlResult(array $options = [])
159
 * @method ListFlowClusterAll listFlowClusterAll(array $options = [])
160
 * @method GetUserOutputStatisticInfo getUserOutputStatisticInfo(array $options = [])
161
 * @method GetUserSubmissionStatisticInfo getUserSubmissionStatisticInfo(array $options = [])
162
 * @method GetUserInputStatisticInfo getUserInputStatisticInfo(array $options = [])
163
 * @method GetQueueInputStatisticInfo getQueueInputStatisticInfo(array $options = [])
164
 * @method GetQueueOutputStatisticInfo getQueueOutputStatisticInfo(array $options = [])
165
 * @method GetQueueSubmissionStatisticInfo getQueueSubmissionStatisticInfo(array $options = [])
166
 * @method GetJobRunningTimeStatisticInfo getJobRunningTimeStatisticInfo(array $options = [])
167
 * @method GetHdfsCapacityStatisticInfo getHdfsCapacityStatisticInfo(array $options = [])
168
 * @method GetJobInputStatisticInfo getJobInputStatisticInfo(array $options = [])
169
 * @method GetJobOutputStatisticInfo getJobOutputStatisticInfo(array $options = [])
170
 * @method KillFlowJob killFlowJob(array $options = [])
171
 * @method ModifyFlowForWeb modifyFlowForWeb(array $options = [])
172
 * @method CreateFlowForWeb createFlowForWeb(array $options = [])
173
 * @method DescribeFlowNodeInstanceLauncherLog describeFlowNodeInstanceLauncherLog(array $options = [])
174
 * @method ListFlowNodeInstanceContainerStatus listFlowNodeInstanceContainerStatus(array $options = [])
175
 * @method DescribeFlowNodeInstanceContainerLog describeFlowNodeInstanceContainerLog(array $options = [])
176
 * @method SuspendFlow suspendFlow(array $options = [])
177
 * @method SubmitFlow submitFlow(array $options = [])
178
 * @method SubmitFlowJob submitFlowJob(array $options = [])
179
 * @method ResumeFlow resumeFlow(array $options = [])
180
 * @method RerunFlow rerunFlow(array $options = [])
181
 * @method ModifyFlowJob modifyFlowJob(array $options = [])
182
 * @method ModifyFlowProject modifyFlowProject(array $options = [])
183
 * @method ModifyFlowProjectClusterSetting modifyFlowProjectClusterSetting(array $options = [])
184
 * @method ModifyFlow modifyFlow(array $options = [])
185
 * @method ModifyFlowCategory modifyFlowCategory(array $options = [])
186
 * @method ListFlowProjectUser listFlowProjectUser(array $options = [])
187
 * @method ListFlowProject listFlowProject(array $options = [])
188
 * @method ListFlowProjectClusterSetting listFlowProjectClusterSetting(array $options = [])
189
 * @method ListFlowClusterHost listFlowClusterHost(array $options = [])
190
 * @method ListFlowInstance listFlowInstance(array $options = [])
191
 * @method ListFlowJobHistory listFlowJobHistory(array $options = [])
192
 * @method ListFlowCategory listFlowCategory(array $options = [])
193
 * @method ListFlowCluster listFlowCluster(array $options = [])
194
 * @method KillFlow killFlow(array $options = [])
195
 * @method DescribeFlowProjectClusterSetting describeFlowProjectClusterSetting(array $options = [])
196
 * @method DescribeFlowNodeInstance describeFlowNodeInstance(array $options = [])
197
 * @method DescribeFlowProject describeFlowProject(array $options = [])
198
 * @method DescribeFlowCategoryTree describeFlowCategoryTree(array $options = [])
199
 * @method DescribeFlowInstance describeFlowInstance(array $options = [])
200
 * @method DescribeFlowJob describeFlowJob(array $options = [])
201
 * @method DescribeFlow describeFlow(array $options = [])
202
 * @method DescribeFlowCategory describeFlowCategory(array $options = [])
203
 * @method DeleteFlowProject deleteFlowProject(array $options = [])
204
 * @method DeleteFlowProjectClusterSetting deleteFlowProjectClusterSetting(array $options = [])
205
 * @method DeleteFlowProjectUser deleteFlowProjectUser(array $options = [])
206
 * @method DeleteFlow deleteFlow(array $options = [])
207
 * @method DeleteFlowCategory deleteFlowCategory(array $options = [])
208
 * @method DeleteFlowJob deleteFlowJob(array $options = [])
209
 * @method CreateFlowProject createFlowProject(array $options = [])
210
 * @method CreateFlowProjectClusterSetting createFlowProjectClusterSetting(array $options = [])
211
 * @method CreateFlowProjectUser createFlowProjectUser(array $options = [])
212
 * @method CreateFlow createFlow(array $options = [])
213
 * @method CreateFlowCategory createFlowCategory(array $options = [])
214
 * @method CreateFlowJob createFlowJob(array $options = [])
215
 * @method DescribeAvailableInstanceType describeAvailableInstanceType(array $options = [])
216
 * @method GetOpsCommandDetail getOpsCommandDetail(array $options = [])
217
 * @method ListOpsOperationTask1 listOpsOperationTask1(array $options = [])
218
 * @method ListOpsOperationTask listOpsOperationTask(array $options = [])
219
 * @method GetOpsCommandResultOnce getOpsCommandResultOnce(array $options = [])
220
 * @method GetOpsCommandResult getOpsCommandResult(array $options = [])
221
 * @method RunOpsCommand runOpsCommand(array $options = [])
222
 * @method GetSupportedOpsCommand getSupportedOpsCommand(array $options = [])
223
 * @method ListOpsOperation listOpsOperation(array $options = [])
224
 * @method SearchLog searchLog(array $options = [])
225
 * @method ListServiceLog listServiceLog(array $options = [])
226
 * @method ListSlsLogstoreInfo listSlsLogstoreInfo(array $options = [])
227
 * @method GetLogDownloadUrl getLogDownloadUrl(array $options = [])
228
 * @method ListClusterFullServiceQuickLink listClusterFullServiceQuickLink(array $options = [])
229
 * @method ListJobExecutionPlanParams listJobExecutionPlanParams(array $options = [])
230
 * @method ModifyResourcePool modifyResourcePool(array $options = [])
231
 * @method ModifyResourceQueue modifyResourceQueue(array $options = [])
232
 * @method ModifyJobExecutionPlanFolder modifyJobExecutionPlanFolder(array $options = [])
233
 * @method ModifyJobExecutionPlanParam modifyJobExecutionPlanParam(array $options = [])
234
 * @method ModifyClusterTemplate modifyClusterTemplate(array $options = [])
235
 * @method ListJobExecutionPlanHierarchy listJobExecutionPlanHierarchy(array $options = [])
236
 * @method RefreshClusterResourcePool refreshClusterResourcePool(array $options = [])
237
 * @method ListClusterTemplates listClusterTemplates(array $options = [])
238
 * @method DescribeClusterTemplate describeClusterTemplate(array $options = [])
239
 * @method DeleteClusterTemplate deleteClusterTemplate(array $options = [])
240
 * @method CreateClusterTemplate createClusterTemplate(array $options = [])
241
 * @method SuspendExecutionPlanInstance suspendExecutionPlanInstance(array $options = [])
242
 * @method ResumeExecutionPlanInstance resumeExecutionPlanInstance(array $options = [])
243
 * @method RetryExecutionPlanInstance retryExecutionPlanInstance(array $options = [])
244
 * @method CreateResourceQueue createResourceQueue(array $options = [])
245
 * @method DeleteResourceQueue deleteResourceQueue(array $options = [])
246
 * @method DescribeClusterResourcePoolSchedulerType describeClusterResourcePoolSchedulerType(array $options = [])
247
 * @method CreateResourcePool createResourcePool(array $options = [])
248
 * @method DeleteResourcePool deleteResourcePool(array $options = [])
249
 * @method ListResourcePool listResourcePool(array $options = [])
250
 * @method ModifyResourcePoolSchedulerType modifyResourcePoolSchedulerType(array $options = [])
251
 * @method ListClusterHostGroup listClusterHostGroup(array $options = [])
252
 * @method DescribeClusterServiceConfigTag describeClusterServiceConfigTag(array $options = [])
253
 * @method QueryAlarmHistory queryAlarmHistory(array $options = [])
254
 * @method QueryAlarmRules queryAlarmRules(array $options = [])
255
 * @method ListClusterServiceQuickLink listClusterServiceQuickLink(array $options = [])
256
 * @method ListClusterServiceConfigHistory listClusterServiceConfigHistory(array $options = [])
257
 * @method ReleaseClusterHostGroup releaseClusterHostGroup(array $options = [])
258
 * @method DescribeClusterV2 describeClusterV2(array $options = [])
259
 * @method ResizeClusterV2 resizeClusterV2(array $options = [])
260
 * @method CreateClusterV2 createClusterV2(array $options = [])
261
 * @method DescribeClusterOpLog describeClusterOpLog(array $options = [])
262
 * @method TerminateClusterOperation terminateClusterOperation(array $options = [])
263
 * @method ListDependedService listDependedService(array $options = [])
264
 * @method DescribeClusterBasicInfo describeClusterBasicInfo(array $options = [])
265
 * @method ListClusterHostComponent listClusterHostComponent(array $options = [])
266
 * @method ListClusterHost listClusterHost(array $options = [])
267
 * @method DescribeClusterServiceConfigHistory describeClusterServiceConfigHistory(array $options = [])
268
 * @method ListRequiredService listRequiredService(array $options = [])
269
 * @method DescribeClusterService describeClusterService(array $options = [])
270
 * @method RunClusterServiceAction runClusterServiceAction(array $options = [])
271
 * @method ModifyClusterServiceConfig modifyClusterServiceConfig(array $options = [])
272
 * @method ListClusterService listClusterService(array $options = [])
273
 * @method ListClusterOperation listClusterOperation(array $options = [])
274
 * @method ListClusterOperationHost listClusterOperationHost(array $options = [])
275
 * @method ListClusterOperationHostTask listClusterOperationHostTask(array $options = [])
276
 * @method DescribeClusterServiceConfig describeClusterServiceConfig(array $options = [])
277
 * @method DescribeClusterOperationHostTaskLog describeClusterOperationHostTaskLog(array $options = [])
278
 * @method AddClusterService addClusterService(array $options = [])
279
 * @method CancelOrder cancelOrder(array $options = [])
280
 * @method MetastoreSearchTables metastoreSearchTables(array $options = [])
281
 * @method MetastoreDataPreview metastoreDataPreview(array $options = [])
282
 * @method RunNoteParagraphs runNoteParagraphs(array $options = [])
283
 * @method StopParagraph stopParagraph(array $options = [])
284
 * @method RunParagraph runParagraph(array $options = [])
285
 * @method DescribeParagraph describeParagraph(array $options = [])
286
 * @method DeleteNote deleteNote(array $options = [])
287
 * @method DeleteParagraph deleteParagraph(array $options = [])
288
 * @method MetastoreDropTable metastoreDropTable(array $options = [])
289
 * @method MetastoreListDatabases metastoreListDatabases(array $options = [])
290
 * @method MetastoreListTables metastoreListTables(array $options = [])
291
 * @method MetastoreDescribeDatabase metastoreDescribeDatabase(array $options = [])
292
 * @method MetastoreDescribeTable metastoreDescribeTable(array $options = [])
293
 * @method MetastoreDropDatabase metastoreDropDatabase(array $options = [])
294
 * @method MetastoreCreateDatabase metastoreCreateDatabase(array $options = [])
295
 * @method MetastoreCreateTable metastoreCreateTable(array $options = [])
296
 * @method DetachClusterForNote detachClusterForNote(array $options = [])
297
 * @method AttachClusterForNote attachClusterForNote(array $options = [])
298
 * @method SaveParagraph saveParagraph(array $options = [])
299
 * @method ListNotes listNotes(array $options = [])
300
 * @method DescribeNote describeNote(array $options = [])
301
 * @method CreateNote createNote(array $options = [])
302
 * @method CreateParagraph createParagraph(array $options = [])
303
 * @method RetryExecutionPlan retryExecutionPlan(array $options = [])
304
 * @method ListJobExecutionInstanceTrend listJobExecutionInstanceTrend(array $options = [])
305
 * @method ListExecutionPlanInstanceTrend listExecutionPlanInstanceTrend(array $options = [])
306
 * @method ListFailureJobExecutionInstances listFailureJobExecutionInstances(array $options = [])
307
 * @method ModifyExecutionPlanClusterInfo modifyExecutionPlanClusterInfo(array $options = [])
308
 * @method ModifyExecutionPlanJobInfo modifyExecutionPlanJobInfo(array $options = [])
309
 * @method ModifyExecutionPlanScheduleInfo modifyExecutionPlanScheduleInfo(array $options = [])
310
 * @method ModifyExecutionPlanBasicInfo modifyExecutionPlanBasicInfo(array $options = [])
311
 * @method ListClusterScripts listClusterScripts(array $options = [])
312
 * @method DescribeClusterScript describeClusterScript(array $options = [])
313
 * @method DeleteClusterScript deleteClusterScript(array $options = [])
314
 * @method CreateClusterScript createClusterScript(array $options = [])
315
 * @method KillExecutionPlanInstance killExecutionPlanInstance(array $options = [])
316
 * @method ReleaseCluster releaseCluster(array $options = [])
317
 * @method ResumeExecutionPlanScheduler resumeExecutionPlanScheduler(array $options = [])
318
 * @method RunExecutionPlan runExecutionPlan(array $options = [])
319
 * @method SuspendExecutionPlanScheduler suspendExecutionPlanScheduler(array $options = [])
320
 * @method ListJobs listJobs(array $options = [])
321
 * @method ModifyClusterName modifyClusterName(array $options = [])
322
 * @method ModifyExecutionPlan modifyExecutionPlan(array $options = [])
323
 * @method ModifyJob modifyJob(array $options = [])
324
 * @method ListClusters listClusters(array $options = [])
325
 * @method ListExecutionPlanInstances listExecutionPlanInstances(array $options = [])
326
 * @method ListExecutionPlans listExecutionPlans(array $options = [])
327
 * @method ListJobExecutionInstances listJobExecutionInstances(array $options = [])
328
 * @method ListJobInstanceWorkers listJobInstanceWorkers(array $options = [])
329
 * @method KillExecutionJobInstance killExecutionJobInstance(array $options = [])
330
 * @method DeleteJob deleteJob(array $options = [])
331
 * @method DescribeExecutionPlan describeExecutionPlan(array $options = [])
332
 * @method DescribeJob describeJob(array $options = [])
333
 * @method CreateExecutionPlan createExecutionPlan(array $options = [])
334
 * @method CreateJob createJob(array $options = [])
335
 * @method DeleteExecutionPlan deleteExecutionPlan(array $options = [])
336
 */
337
class EmrApiResolver
338
{
339
    use ApiResolverTrait;
340
}
341
342
class V20160408Rpc extends Rpc
343
{
344
    /** @var string */
345
    public $product = 'Emr';
346
347
    /** @var string */
348
    public $version = '2016-04-08';
349
350
    /** @var string */
351
    public $method = 'POST';
352
353
    /** @var string */
354
    public $serviceCode = 'emr';
355
}
356
357
/**
358
 * @method string getClusterType()
359
 * @method $this withClusterType($value)
360
 * @method string getResourceOwnerId()
361
 * @method $this withResourceOwnerId($value)
362
 * @method string getClusterName()
363
 * @method $this withClusterName($value)
364
 * @method array getHostGroup()
365
 * @method array getHostInfo()
366
 * @method string getStackName()
367
 * @method $this withStackName($value)
368
 * @method string getStackVersion()
369
 * @method $this withStackVersion($value)
370
 * @method array getServiceInfo()
371
 * @method string getUserId()
372
 * @method $this withUserId($value)
373
 * @method array getConfig()
374
 */
375
class CreateClusterWithHostPool extends V20160408Rpc
376
{
377
378
    /**
379
     * @param array $hostGroup
380
     *
381
     * @return $this
382
     */
383
    public function withHostGroup(array $hostGroup)
384
    {
385
        $this->data['HostGroup'] = $hostGroup;
386
        foreach ($hostGroup as $depth1 => $depth1Value) {
387
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.GroupType'] = $depth1Value['GroupType'];
388
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
389
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.GroupName'] = $depth1Value['GroupName'];
390
        }
391
392
        return $this;
393
    }
394
395
    /**
396
     * @param array $hostInfo
397
     *
398
     * @return $this
399
     */
400
    public function withHostInfo(array $hostInfo)
401
    {
402
        $this->data['HostInfo'] = $hostInfo;
403
        foreach ($hostInfo as $depth1 => $depth1Value) {
404
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.HpHostBizId'] = $depth1Value['HpHostBizId'];
405
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
406
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
407
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
408
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.PrivateIp'] = $depth1Value['PrivateIp'];
409
            foreach ($depth1Value['ServiceComponentInfo'] as $depth2 => $depth2Value) {
410
                $this->options['query']['HostInfo.' . ($depth1 + 1) . '.ServiceComponentInfo.' . ($depth2 + 1) . '.ComponentName'] = $depth2Value['ComponentName'];
411
                $this->options['query']['HostInfo.' . ($depth1 + 1) . '.ServiceComponentInfo.' . ($depth2 + 1) . '.ServiceName'] = $depth2Value['ServiceName'];
412
            }
413
            $this->options['query']['HostInfo.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
414
        }
415
416
        return $this;
417
    }
418
419
    /**
420
     * @param array $serviceInfo
421
     *
422
     * @return $this
423
     */
424
    public function withServiceInfo(array $serviceInfo)
425
    {
426
        $this->data['ServiceInfo'] = $serviceInfo;
427
        foreach ($serviceInfo as $depth1 => $depth1Value) {
428
            $this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceEcmVersion'] = $depth1Value['ServiceEcmVersion'];
429
            $this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
430
            $this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
431
        }
432
433
        return $this;
434
    }
435
436
    /**
437
     * @param array $config
438
     *
439
     * @return $this
440
     */
441
    public function withConfig(array $config)
442
    {
443
        $this->data['Config'] = $config;
444
        foreach ($config as $depth1 => $depth1Value) {
445
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
446
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
447
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
448
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
449
        }
450
451
        return $this;
452
    }
453
}
454
455
/**
456
 * @method string getResourceOwnerId()
457
 * @method $this withResourceOwnerId($value)
458
 * @method string getName()
459
 * @method $this withName($value)
460
 * @method string getDescription()
461
 * @method $this withDescription($value)
462
 * @method array getKubeClusterInfo()
463
 * @method string getType()
464
 * @method $this withType($value)
465
 */
466
class CreateHostPool extends V20160408Rpc
467
{
468
469
    /**
470
     * @param array $kubeClusterInfo
471
     *
472
     * @return $this
473
     */
474
    public function withKubeClusterInfo(array $kubeClusterInfo)
475
    {
476
        $this->data['KubeClusterInfo'] = $kubeClusterInfo;
477
        foreach ($kubeClusterInfo as $depth1 => $depth1Value) {
478
            $this->options['query']['KubeClusterInfo.' . ($depth1 + 1) . '.ExternalKey'] = $depth1Value['ExternalKey'];
479
            $this->options['query']['KubeClusterInfo.' . ($depth1 + 1) . '.InternalConfig'] = $depth1Value['InternalConfig'];
480
            $this->options['query']['KubeClusterInfo.' . ($depth1 + 1) . '.PublicConfig'] = $depth1Value['PublicConfig'];
481
            $this->options['query']['KubeClusterInfo.' . ($depth1 + 1) . '.SshConfig'] = $depth1Value['SshConfig'];
482
        }
483
484
        return $this;
485
    }
486
}
487
488
/**
489
 * @method string getResourceOwnerId()
490
 * @method $this withResourceOwnerId($value)
491
 * @method array getHpHost()
492
 * @method string getHpBizId()
493
 * @method $this withHpBizId($value)
494
 */
495
class AddHpHost extends V20160408Rpc
496
{
497
498
    /**
499
     * @param array $hpHost
500
     *
501
     * @return $this
502
     */
503
    public function withHpHost(array $hpHost)
504
    {
505
        $this->data['HpHost'] = $hpHost;
506
        foreach ($hpHost as $depth1 => $depth1Value) {
507
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.CpuCore'] = $depth1Value['CpuCore'];
508
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.MemSize'] = $depth1Value['MemSize'];
509
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.RackInfo'] = $depth1Value['RackInfo'];
510
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
511
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.SerialNumber'] = $depth1Value['SerialNumber'];
512
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.HostType'] = $depth1Value['HostType'];
513
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.SecurityGroupId'] = $depth1Value['SecurityGroupId'];
514
            foreach ($depth1Value['HpHostDisk'] as $depth2 => $depth2Value) {
515
                $this->options['query']['HpHost.' . ($depth1 + 1) . '.HpHostDisk.' . ($depth2 + 1) . '.DiskSize'] = $depth2Value['DiskSize'];
516
                $this->options['query']['HpHost.' . ($depth1 + 1) . '.HpHostDisk.' . ($depth2 + 1) . '.MountPath'] = $depth2Value['MountPath'];
517
                $this->options['query']['HpHost.' . ($depth1 + 1) . '.HpHostDisk.' . ($depth2 + 1) . '.DiskDevice'] = $depth2Value['DiskDevice'];
518
            }
519
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId'];
520
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.ExternalKey'] = $depth1Value['ExternalKey'];
521
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
522
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.VpcId'] = $depth1Value['VpcId'];
523
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.InnerIp'] = $depth1Value['InnerIp'];
524
            $this->options['query']['HpHost.' . ($depth1 + 1) . '.ExternalIp'] = $depth1Value['ExternalIp'];
525
        }
526
527
        return $this;
528
    }
529
}
530
531
/**
532
 * @method string getResourceOwnerId()
533
 * @method $this withResourceOwnerId($value)
534
 * @method string getTopicId()
535
 * @method $this withTopicId($value)
536
 */
537
class StartKafkaPreferredReplicaElection extends V20160408Rpc
538
{
539
}
540
541
/**
542
 * @method string getResourceOwnerId()
543
 * @method $this withResourceOwnerId($value)
544
 * @method string getClusterId()
545
 * @method $this withClusterId($value)
546
 */
547
class StartKafkaBrokerDiskBalancer extends V20160408Rpc
548
{
549
}
550
551
/**
552
 * @method string getThrottle()
553
 * @method $this withThrottle($value)
554
 * @method string getResourceOwnerId()
555
 * @method $this withResourceOwnerId($value)
556
 * @method string getTopicId()
557
 * @method $this withTopicId($value)
558
 */
559
class ReassignKafka extends V20160408Rpc
560
{
561
}
562
563
/**
564
 * @method string getThrottle()
565
 * @method $this withThrottle($value)
566
 * @method string getResourceOwnerId()
567
 * @method $this withResourceOwnerId($value)
568
 * @method string getHostId()
569
 * @method $this withHostId($value)
570
 * @method string getClusterId()
571
 * @method $this withClusterId($value)
572
 */
573
class OfflineKafkaBroker extends V20160408Rpc
574
{
575
}
576
577
/**
578
 * @method string getResourceOwnerId()
579
 * @method $this withResourceOwnerId($value)
580
 * @method string getActiveOnly()
581
 * @method $this withActiveOnly($value)
582
 * @method string getPageSize()
583
 * @method $this withPageSize($value)
584
 * @method string getDataSourceId()
585
 * @method $this withDataSourceId($value)
586
 * @method string getTopicName()
587
 * @method $this withTopicName($value)
588
 * @method string getClusterId()
589
 * @method $this withClusterId($value)
590
 * @method string getPageNumber()
591
 * @method $this withPageNumber($value)
592
 * @method string getFuzzyTopicName()
593
 * @method $this withFuzzyTopicName($value)
594
 */
595
class ListKafkaTopicStatistics extends V20160408Rpc
596
{
597
}
598
599
/**
600
 * @method string getResourceOwnerId()
601
 * @method $this withResourceOwnerId($value)
602
 * @method string getTopicId()
603
 * @method $this withTopicId($value)
604
 * @method string getPageSize()
605
 * @method $this withPageSize($value)
606
 * @method string getClusterId()
607
 * @method $this withClusterId($value)
608
 * @method string getPageNumber()
609
 * @method $this withPageNumber($value)
610
 */
611
class ListKafkaReassign extends V20160408Rpc
612
{
613
}
614
615
/**
616
 * @method string getResourceOwnerId()
617
 * @method $this withResourceOwnerId($value)
618
 * @method string getPageSize()
619
 * @method $this withPageSize($value)
620
 * @method string getClusterId()
621
 * @method $this withClusterId($value)
622
 * @method string getPageNumber()
623
 * @method $this withPageNumber($value)
624
 */
625
class ListKafkaBroker extends V20160408Rpc
626
{
627
}
628
629
/**
630
 * @method string getResourceOwnerId()
631
 * @method $this withResourceOwnerId($value)
632
 * @method string getTopicId()
633
 * @method $this withTopicId($value)
634
 * @method string getReassignId()
635
 * @method $this withReassignId($value)
636
 */
637
class DescribeKafkaReassign extends V20160408Rpc
638
{
639
}
640
641
/**
642
 * @method string getResourceOwnerId()
643
 * @method $this withResourceOwnerId($value)
644
 * @method string getHostId()
645
 * @method $this withHostId($value)
646
 * @method string getClusterId()
647
 * @method $this withClusterId($value)
648
 */
649
class DescribeKafkaBroker extends V20160408Rpc
650
{
651
}
652
653
/**
654
 * @method string getResourceOwnerId()
655
 * @method $this withResourceOwnerId($value)
656
 * @method string getEtlJobId()
657
 * @method $this withEtlJobId($value)
658
 * @method string getReleaseId()
659
 * @method $this withReleaseId($value)
660
 * @method string getPageSize()
661
 * @method $this withPageSize($value)
662
 * @method string getPageNumber()
663
 * @method $this withPageNumber($value)
664
 * @method string getReleaseVersion()
665
 * @method $this withReleaseVersion($value)
666
 * @method string getStatus()
667
 * @method $this withStatus($value)
668
 */
669
class ListETLJobRelease extends V20160408Rpc
670
{
671
}
672
673
/**
674
 * @method string getResourceOwnerId()
675
 * @method $this withResourceOwnerId($value)
676
 * @method string getId()
677
 * @method $this withId($value)
678
 */
679
class GetJobMigrateResult extends V20160408Rpc
680
{
681
}
682
683
/**
684
 * @method string getEntityId()
685
 * @method $this withEntityId($value)
686
 */
687
class DescribeFlowVariableCollection extends V20160408Rpc
688
{
689
}
690
691
/**
692
 * @method string getData()
693
 * @method $this withData($value)
694
 */
695
class ModifyFlowVariableCollection extends V20160408Rpc
696
{
697
}
698
699
/**
700
 * @method string getResourceOwnerId()
701
 * @method $this withResourceOwnerId($value)
702
 * @method string getDbName()
703
 * @method $this withDbName($value)
704
 * @method string getEtlJobId()
705
 * @method $this withEtlJobId($value)
706
 * @method string getDataSourceId()
707
 * @method $this withDataSourceId($value)
708
 * @method string getTableName()
709
 * @method $this withTableName($value)
710
 */
711
class SyncDataSourceSchemaTable extends V20160408Rpc
712
{
713
}
714
715
/**
716
 * @method string getResourceOwnerId()
717
 * @method $this withResourceOwnerId($value)
718
 * @method string getDbName()
719
 * @method $this withDbName($value)
720
 * @method string getEtlJobId()
721
 * @method $this withEtlJobId($value)
722
 * @method string getDataSourceId()
723
 * @method $this withDataSourceId($value)
724
 */
725
class SyncDataSourceSchemaDatabase extends V20160408Rpc
726
{
727
}
728
729
/**
730
 * @method string getResourceOwnerId()
731
 * @method $this withResourceOwnerId($value)
732
 * @method string getInstanceId()
733
 * @method $this withInstanceId($value)
734
 */
735
class KillETLJobInstance extends V20160408Rpc
736
{
737
}
738
739
/**
740
 * @method string getResourceOwnerId()
741
 * @method $this withResourceOwnerId($value)
742
 * @method string getReleaseId()
743
 * @method $this withReleaseId($value)
744
 * @method string getId()
745
 * @method $this withId($value)
746
 */
747
class ReleaseETLJob extends V20160408Rpc
748
{
749
}
750
751
/**
752
 * @method string getResourceOwnerId()
753
 * @method $this withResourceOwnerId($value)
754
 * @method string getName()
755
 * @method $this withName($value)
756
 * @method string getId()
757
 * @method $this withId($value)
758
 */
759
class CloneDataSource extends V20160408Rpc
760
{
761
}
762
763
/**
764
 * @method string getResourceOwnerId()
765
 * @method $this withResourceOwnerId($value)
766
 * @method string getName()
767
 * @method $this withName($value)
768
 * @method string getId()
769
 * @method $this withId($value)
770
 */
771
class CloneETLJob extends V20160408Rpc
772
{
773
}
774
775
/**
776
 * @method string getResourceOwnerId()
777
 * @method $this withResourceOwnerId($value)
778
 * @method string getEtlJobId()
779
 * @method $this withEtlJobId($value)
780
 * @method string getReleaseId()
781
 * @method $this withReleaseId($value)
782
 */
783
class CancelETLJobRelease extends V20160408Rpc
784
{
785
}
786
787
/**
788
 * @method string getResourceOwnerId()
789
 * @method $this withResourceOwnerId($value)
790
 * @method array getClusterIdList()
791
 */
792
class ListClusterTag extends V20160408Rpc
793
{
794
795
    /**
796
     * @param array $clusterIdList
797
     *
798
     * @return $this
799
     */
800
    public function withClusterIdList(array $clusterIdList)
801
    {
802
        $this->data['ClusterIdList'] = $clusterIdList;
803
        foreach ($clusterIdList as $i => $iValue) {
804
            $this->options['query']['ClusterIdList.' . ($i + 1)] = $iValue;
805
        }
806
807
        return $this;
808
    }
809
}
810
811
/**
812
 * @method string getStageName()
813
 * @method $this withStageName($value)
814
 * @method string getResourceOwnerId()
815
 * @method $this withResourceOwnerId($value)
816
 * @method string getEtlJobId()
817
 * @method $this withEtlJobId($value)
818
 */
819
class DescribeETLJobStageOutputSchema extends V20160408Rpc
820
{
821
}
822
823
/**
824
 * @method string getResourceOwnerId()
825
 * @method $this withResourceOwnerId($value)
826
 * @method string getDefaultOssPath()
827
 * @method $this withDefaultOssPath($value)
828
 * @method string getProjectId()
829
 * @method $this withProjectId($value)
830
 * @method string getOssConfig()
831
 * @method $this withOssConfig($value)
832
 */
833
class UpdateProjectSetting extends V20160408Rpc
834
{
835
}
836
837
/**
838
 * @method string getStageName()
839
 * @method $this withStageName($value)
840
 * @method string getStageConf()
841
 * @method $this withStageConf($value)
842
 * @method string getResourceOwnerId()
843
 * @method $this withResourceOwnerId($value)
844
 * @method string getStageType()
845
 * @method $this withStageType($value)
846
 * @method string getEtlJobId()
847
 * @method $this withEtlJobId($value)
848
 * @method string getStagePlugin()
849
 * @method $this withStagePlugin($value)
850
 */
851
class UpdateETLJobStage extends V20160408Rpc
852
{
853
}
854
855
/**
856
 * @method string getResourceOwnerId()
857
 * @method $this withResourceOwnerId($value)
858
 * @method string getDbName()
859
 * @method $this withDbName($value)
860
 * @method string getDataSourceId()
861
 * @method $this withDataSourceId($value)
862
 */
863
class ListDataSourceSchemaDatabase extends V20160408Rpc
864
{
865
}
866
867
/**
868
 * @method string getResourceOwnerId()
869
 * @method $this withResourceOwnerId($value)
870
 * @method string getDbName()
871
 * @method $this withDbName($value)
872
 * @method string getDataSourceId()
873
 * @method $this withDataSourceId($value)
874
 * @method string getTableName()
875
 * @method $this withTableName($value)
876
 */
877
class ListDataSourceSchemaTable extends V20160408Rpc
878
{
879
}
880
881
/**
882
 * @method string getStageName()
883
 * @method $this withStageName($value)
884
 * @method string getResourceOwnerId()
885
 * @method $this withResourceOwnerId($value)
886
 * @method string getEtlJobId()
887
 * @method $this withEtlJobId($value)
888
 * @method string getDataSourceId()
889
 * @method $this withDataSourceId($value)
890
 * @method string getSql()
891
 * @method $this withSql($value)
892
 */
893
class ResolveETLJobSqlSchema extends V20160408Rpc
894
{
895
}
896
897
/**
898
 * @method string getResourceOwnerId()
899
 * @method $this withResourceOwnerId($value)
900
 * @method string getResolveId()
901
 * @method $this withResolveId($value)
902
 */
903
class DescribeETLJobSqlSchema extends V20160408Rpc
904
{
905
}
906
907
/**
908
 * @method string getResourceOwnerId()
909
 * @method $this withResourceOwnerId($value)
910
 * @method string getDbName()
911
 * @method $this withDbName($value)
912
 * @method string getDataSourceId()
913
 * @method $this withDataSourceId($value)
914
 * @method string getTableName()
915
 * @method $this withTableName($value)
916
 */
917
class DescribeDataSourceSchemaTable extends V20160408Rpc
918
{
919
}
920
921
/**
922
 * @method string getResourceOwnerId()
923
 * @method $this withResourceOwnerId($value)
924
 * @method string getDbName()
925
 * @method $this withDbName($value)
926
 * @method string getDataSourceId()
927
 * @method $this withDataSourceId($value)
928
 */
929
class DescribeDataSourceSchemaDatabase extends V20160408Rpc
930
{
931
}
932
933
/**
934
 * @method string getResourceOwnerId()
935
 * @method $this withResourceOwnerId($value)
936
 * @method string getName()
937
 * @method $this withName($value)
938
 * @method string getId()
939
 * @method $this withId($value)
940
 * @method string getProjectId()
941
 * @method $this withProjectId($value)
942
 * @method string getParentId()
943
 * @method $this withParentId($value)
944
 */
945
class UpdateNavNode extends V20160408Rpc
946
{
947
}
948
949
/**
950
 * @method string getResourceOwnerId()
951
 * @method $this withResourceOwnerId($value)
952
 * @method string getName()
953
 * @method $this withName($value)
954
 * @method string getDescription()
955
 * @method $this withDescription($value)
956
 * @method string getConf()
957
 * @method $this withConf($value)
958
 * @method string getId()
959
 * @method $this withId($value)
960
 */
961
class UpdateDataSource extends V20160408Rpc
962
{
963
}
964
965
/**
966
 * @method string getResourceOwnerId()
967
 * @method $this withResourceOwnerId($value)
968
 * @method array getStageConnection()
969
 * @method string getClusterConfig()
970
 * @method $this withClusterConfig($value)
971
 * @method array getTriggerRule()
972
 * @method array getStage()
973
 * @method string getAlertConfig()
974
 * @method $this withAlertConfig($value)
975
 * @method string getName()
976
 * @method $this withName($value)
977
 * @method string getDescription()
978
 * @method $this withDescription($value)
979
 * @method string getId()
980
 * @method $this withId($value)
981
 * @method string getCheck()
982
 * @method $this withCheck($value)
983
 */
984
class UpdateETLJob extends V20160408Rpc
985
{
986
987
    /**
988
     * @param array $stageConnection
989
     *
990
     * @return $this
991
     */
992
    public function withStageConnection(array $stageConnection)
993
    {
994
        $this->data['StageConnection'] = $stageConnection;
995
        foreach ($stageConnection as $depth1 => $depth1Value) {
996
            $this->options['query']['StageConnection.' . ($depth1 + 1) . '.Port'] = $depth1Value['Port'];
997
            $this->options['query']['StageConnection.' . ($depth1 + 1) . '.From'] = $depth1Value['From'];
998
            $this->options['query']['StageConnection.' . ($depth1 + 1) . '.To'] = $depth1Value['To'];
999
        }
1000
1001
        return $this;
1002
    }
1003
1004
    /**
1005
     * @param array $triggerRule
1006
     *
1007
     * @return $this
1008
     */
1009
    public function withTriggerRule(array $triggerRule)
1010
    {
1011
        $this->data['TriggerRule'] = $triggerRule;
1012
        foreach ($triggerRule as $depth1 => $depth1Value) {
1013
            $this->options['query']['TriggerRule.' . ($depth1 + 1) . '.CronExpr'] = $depth1Value['CronExpr'];
1014
            $this->options['query']['TriggerRule.' . ($depth1 + 1) . '.EndTime'] = $depth1Value['EndTime'];
1015
            $this->options['query']['TriggerRule.' . ($depth1 + 1) . '.StartTime'] = $depth1Value['StartTime'];
1016
            $this->options['query']['TriggerRule.' . ($depth1 + 1) . '.Enabled'] = $depth1Value['Enabled'];
1017
        }
1018
1019
        return $this;
1020
    }
1021
1022
    /**
1023
     * @param array $stage
1024
     *
1025
     * @return $this
1026
     */
1027
    public function withStage(array $stage)
1028
    {
1029
        $this->data['Stage'] = $stage;
1030
        foreach ($stage as $depth1 => $depth1Value) {
1031
            $this->options['query']['Stage.' . ($depth1 + 1) . '.StageName'] = $depth1Value['StageName'];
1032
            $this->options['query']['Stage.' . ($depth1 + 1) . '.StageConf'] = $depth1Value['StageConf'];
1033
            $this->options['query']['Stage.' . ($depth1 + 1) . '.StageType'] = $depth1Value['StageType'];
1034
            $this->options['query']['Stage.' . ($depth1 + 1) . '.StagePlugin'] = $depth1Value['StagePlugin'];
1035
        }
1036
1037
        return $this;
1038
    }
1039
}
1040
1041
/**
1042
 * @method string getResourceOwnerId()
1043
 * @method $this withResourceOwnerId($value)
1044
 * @method array getInstanceRunParam()
1045
 * @method string getIsDebug()
1046
 * @method $this withIsDebug($value)
1047
 * @method string getId()
1048
 * @method $this withId($value)
1049
 */
1050
class RunETLJob extends V20160408Rpc
1051
{
1052
1053
    /**
1054
     * @param array $instanceRunParam
1055
     *
1056
     * @return $this
1057
     */
1058
    public function withInstanceRunParam(array $instanceRunParam)
1059
    {
1060
        $this->data['InstanceRunParam'] = $instanceRunParam;
1061
        foreach ($instanceRunParam as $depth1 => $depth1Value) {
1062
            $this->options['query']['InstanceRunParam.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1063
            $this->options['query']['InstanceRunParam.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1064
        }
1065
1066
        return $this;
1067
    }
1068
}
1069
1070
/**
1071
 * @method string getResourceOwnerId()
1072
 * @method $this withResourceOwnerId($value)
1073
 * @method string getName()
1074
 * @method $this withName($value)
1075
 * @method string getType()
1076
 * @method $this withType($value)
1077
 * @method string getProjectId()
1078
 * @method $this withProjectId($value)
1079
 * @method string getParentId()
1080
 * @method $this withParentId($value)
1081
 */
1082
class ListNavSubTree extends V20160408Rpc
1083
{
1084
}
1085
1086
/**
1087
 * @method string getResourceOwnerId()
1088
 * @method $this withResourceOwnerId($value)
1089
 * @method string getEntityType()
1090
 * @method $this withEntityType($value)
1091
 */
1092
class ListETLJobTriggerEntity extends V20160408Rpc
1093
{
1094
}
1095
1096
/**
1097
 * @method string getResourceOwnerId()
1098
 * @method $this withResourceOwnerId($value)
1099
 * @method string getInstanceId()
1100
 * @method $this withInstanceId($value)
1101
 * @method string getEtlJobId()
1102
 * @method $this withEtlJobId($value)
1103
 * @method string getPageSize()
1104
 * @method $this withPageSize($value)
1105
 * @method string getPageNumber()
1106
 * @method $this withPageNumber($value)
1107
 * @method string getStatus()
1108
 * @method $this withStatus($value)
1109
 */
1110
class ListETLJobInstance extends V20160408Rpc
1111
{
1112
}
1113
1114
/**
1115
 * @method string getResourceOwnerId()
1116
 * @method $this withResourceOwnerId($value)
1117
 * @method string getCreateFrom()
1118
 * @method $this withCreateFrom($value)
1119
 * @method string getPageSize()
1120
 * @method $this withPageSize($value)
1121
 * @method string getName()
1122
 * @method $this withName($value)
1123
 * @method string getSourceType()
1124
 * @method $this withSourceType($value)
1125
 * @method string getId()
1126
 * @method $this withId($value)
1127
 * @method string getProjectId()
1128
 * @method $this withProjectId($value)
1129
 * @method string getPageNumber()
1130
 * @method $this withPageNumber($value)
1131
 */
1132
class ListDataSource extends V20160408Rpc
1133
{
1134
}
1135
1136
/**
1137
 * @method string getResourceOwnerId()
1138
 * @method $this withResourceOwnerId($value)
1139
 * @method string getId()
1140
 * @method $this withId($value)
1141
 */
1142
class DescribeETLJobInstance extends V20160408Rpc
1143
{
1144
}
1145
1146
/**
1147
 * @method string getResourceOwnerId()
1148
 * @method $this withResourceOwnerId($value)
1149
 * @method string getId()
1150
 * @method $this withId($value)
1151
 */
1152
class DescribeETLJob extends V20160408Rpc
1153
{
1154
}
1155
1156
/**
1157
 * @method string getResourceOwnerId()
1158
 * @method $this withResourceOwnerId($value)
1159
 * @method string getId()
1160
 * @method $this withId($value)
1161
 */
1162
class DescribeDataSourceSchema extends V20160408Rpc
1163
{
1164
}
1165
1166
/**
1167
 * @method string getResourceOwnerId()
1168
 * @method $this withResourceOwnerId($value)
1169
 * @method string getId()
1170
 * @method $this withId($value)
1171
 */
1172
class DescribeDataSourceCommand extends V20160408Rpc
1173
{
1174
}
1175
1176
/**
1177
 * @method string getResourceOwnerId()
1178
 * @method $this withResourceOwnerId($value)
1179
 * @method string getId()
1180
 * @method $this withId($value)
1181
 */
1182
class DescribeDataSource extends V20160408Rpc
1183
{
1184
}
1185
1186
/**
1187
 * @method string getResourceOwnerId()
1188
 * @method $this withResourceOwnerId($value)
1189
 * @method string getId()
1190
 * @method $this withId($value)
1191
 * @method string getProjectId()
1192
 * @method $this withProjectId($value)
1193
 */
1194
class DeleteNavNode extends V20160408Rpc
1195
{
1196
}
1197
1198
/**
1199
 * @method string getResourceOwnerId()
1200
 * @method $this withResourceOwnerId($value)
1201
 * @method string getId()
1202
 * @method $this withId($value)
1203
 */
1204
class DeleteETLJob extends V20160408Rpc
1205
{
1206
}
1207
1208
/**
1209
 * @method string getResourceOwnerId()
1210
 * @method $this withResourceOwnerId($value)
1211
 * @method string getId()
1212
 * @method $this withId($value)
1213
 */
1214
class DeleteDataSource extends V20160408Rpc
1215
{
1216
}
1217
1218
/**
1219
 * @method string getResourceOwnerId()
1220
 * @method $this withResourceOwnerId($value)
1221
 * @method string getName()
1222
 * @method $this withName($value)
1223
 * @method string getType()
1224
 * @method $this withType($value)
1225
 * @method string getProjectId()
1226
 * @method $this withProjectId($value)
1227
 * @method string getCategoryType()
1228
 * @method $this withCategoryType($value)
1229
 * @method string getObjectId()
1230
 * @method $this withObjectId($value)
1231
 * @method string getParentId()
1232
 * @method $this withParentId($value)
1233
 */
1234
class CreateNavNode extends V20160408Rpc
1235
{
1236
}
1237
1238
/**
1239
 * @method string getResourceOwnerId()
1240
 * @method $this withResourceOwnerId($value)
1241
 * @method string getNavParentId()
1242
 * @method $this withNavParentId($value)
1243
 * @method string getName()
1244
 * @method $this withName($value)
1245
 * @method string getDescription()
1246
 * @method $this withDescription($value)
1247
 * @method string getType()
1248
 * @method $this withType($value)
1249
 * @method string getProjectId()
1250
 * @method $this withProjectId($value)
1251
 */
1252
class CreateETLJob extends V20160408Rpc
1253
{
1254
}
1255
1256
/**
1257
 * @method string getResourceOwnerId()
1258
 * @method $this withResourceOwnerId($value)
1259
 * @method string getNavParentId()
1260
 * @method $this withNavParentId($value)
1261
 * @method string getName()
1262
 * @method $this withName($value)
1263
 * @method string getDescription()
1264
 * @method $this withDescription($value)
1265
 * @method string getSourceType()
1266
 * @method $this withSourceType($value)
1267
 * @method string getConf()
1268
 * @method $this withConf($value)
1269
 * @method string getClusterId()
1270
 * @method $this withClusterId($value)
1271
 */
1272
class CreateDataSource extends V20160408Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getResourceOwnerId()
1278
 * @method $this withResourceOwnerId($value)
1279
 * @method string getConf()
1280
 * @method $this withConf($value)
1281
 * @method string getId()
1282
 * @method $this withId($value)
1283
 * @method string getClusterId()
1284
 * @method $this withClusterId($value)
1285
 */
1286
class CheckDataSource extends V20160408Rpc
1287
{
1288
}
1289
1290
/**
1291
 * @method string getResourceOwnerId()
1292
 * @method $this withResourceOwnerId($value)
1293
 */
1294
class ListSupportedServiceName extends V20160408Rpc
1295
{
1296
}
1297
1298
/**
1299
 * @method string getServiceCustomActionName()
1300
 * @method $this withServiceCustomActionName($value)
1301
 * @method string getResourceOwnerId()
1302
 * @method $this withResourceOwnerId($value)
1303
 * @method string getServiceName()
1304
 * @method $this withServiceName($value)
1305
 * @method string getClusterId()
1306
 * @method $this withClusterId($value)
1307
 */
1308
class ListClusterServiceCustomActionSupportConfig extends V20160408Rpc
1309
{
1310
}
1311
1312
/**
1313
 * @method string getResourceOwnerId()
1314
 * @method $this withResourceOwnerId($value)
1315
 */
1316
class CommonApiWhiteList extends V20160408Rpc
1317
{
1318
}
1319
1320
/**
1321
 * @method string getResourceOwnerId()
1322
 * @method $this withResourceOwnerId($value)
1323
 * @method array getTopicParam()
1324
 */
1325
class MetastoreUpdateKafkaTopicBatch extends V20160408Rpc
1326
{
1327
1328
    /**
1329
     * @param array $topicParam
1330
     *
1331
     * @return $this
1332
     */
1333
    public function withTopicParam(array $topicParam)
1334
    {
1335
        $this->data['TopicParam'] = $topicParam;
1336
        foreach ($topicParam as $depth1 => $depth1Value) {
1337
            $this->options['query']['TopicParam.' . ($depth1 + 1) . '.TopicId'] = $depth1Value['TopicId'];
1338
            $this->options['query']['TopicParam.' . ($depth1 + 1) . '.NumPartitions'] = $depth1Value['NumPartitions'];
1339
        }
1340
1341
        return $this;
1342
    }
1343
}
1344
1345
/**
1346
 * @method string getResourceOwnerId()
1347
 * @method $this withResourceOwnerId($value)
1348
 * @method string getResourcePoolId()
1349
 * @method $this withResourcePoolId($value)
1350
 * @method string getClusterId()
1351
 * @method $this withClusterId($value)
1352
 */
1353
class RenderResourcePoolXml extends V20160408Rpc
1354
{
1355
}
1356
1357
/**
1358
 * @method string getResourceOwnerId()
1359
 * @method $this withResourceOwnerId($value)
1360
 * @method string getHostGroupId()
1361
 * @method $this withHostGroupId($value)
1362
 * @method string getClusterId()
1363
 * @method $this withClusterId($value)
1364
 */
1365
class DeleteClusterHostGroup extends V20160408Rpc
1366
{
1367
}
1368
1369
/**
1370
 * @method string getResourceOwnerId()
1371
 * @method $this withResourceOwnerId($value)
1372
 * @method string getComment()
1373
 * @method $this withComment($value)
1374
 * @method string getClusterId()
1375
 * @method $this withClusterId($value)
1376
 * @method string getHostGroupName()
1377
 * @method $this withHostGroupName($value)
1378
 * @method string getHostGroupType()
1379
 * @method $this withHostGroupType($value)
1380
 */
1381
class CreateClusterHostGroup extends V20160408Rpc
1382
{
1383
}
1384
1385
/**
1386
 * @method string getVswitchId()
1387
 * @method $this withVswitchId($value)
1388
 * @method string getResourceOwnerId()
1389
 * @method $this withResourceOwnerId($value)
1390
 * @method string getHostGroupId()
1391
 * @method $this withHostGroupId($value)
1392
 * @method string getSecurityGroupId()
1393
 * @method $this withSecurityGroupId($value)
1394
 * @method string getComment()
1395
 * @method $this withComment($value)
1396
 * @method string getClusterId()
1397
 * @method $this withClusterId($value)
1398
 * @method string getHostGroupName()
1399
 * @method $this withHostGroupName($value)
1400
 */
1401
class ModifyClusterHostGroup extends V20160408Rpc
1402
{
1403
}
1404
1405
/**
1406
 * @method array getHostInstanceIdList()
1407
 * @method string getResourceOwnerId()
1408
 * @method $this withResourceOwnerId($value)
1409
 * @method string getHostGroupId()
1410
 * @method $this withHostGroupId($value)
1411
 * @method string getClusterId()
1412
 * @method $this withClusterId($value)
1413
 */
1414
class MigrateClusterHostGroupHost extends V20160408Rpc
1415
{
1416
1417
    /**
1418
     * @param array $hostInstanceIdList
1419
     *
1420
     * @return $this
1421
     */
1422
    public function withHostInstanceIdList(array $hostInstanceIdList)
1423
    {
1424
        $this->data['HostInstanceIdList'] = $hostInstanceIdList;
1425
        foreach ($hostInstanceIdList as $i => $iValue) {
1426
            $this->options['query']['HostInstanceIdList.' . ($i + 1)] = $iValue;
1427
        }
1428
1429
        return $this;
1430
    }
1431
}
1432
1433
/**
1434
 * @method string getResourceOwnerId()
1435
 * @method $this withResourceOwnerId($value)
1436
 * @method string getPoolId()
1437
 * @method $this withPoolId($value)
1438
 * @method string getPageSize()
1439
 * @method $this withPageSize($value)
1440
 * @method string getClusterId()
1441
 * @method $this withClusterId($value)
1442
 * @method string getPageNumber()
1443
 * @method $this withPageNumber($value)
1444
 * @method string getPoolType()
1445
 * @method $this withPoolType($value)
1446
 */
1447
class ListResourceQueue extends V20160408Rpc
1448
{
1449
}
1450
1451
/**
1452
 * @method string getResourceOwnerId()
1453
 * @method $this withResourceOwnerId($value)
1454
 * @method string getPageSize()
1455
 * @method $this withPageSize($value)
1456
 * @method string getTableId()
1457
 * @method $this withTableId($value)
1458
 * @method string getDatabaseId()
1459
 * @method $this withDatabaseId($value)
1460
 * @method string getPageNumber()
1461
 * @method $this withPageNumber($value)
1462
 */
1463
class MetastoreListTablePartition extends V20160408Rpc
1464
{
1465
}
1466
1467
/**
1468
 * @method string getPackId()
1469
 * @method $this withPackId($value)
1470
 * @method string getResourceOwnerId()
1471
 * @method $this withResourceOwnerId($value)
1472
 * @method string getTotalOffset()
1473
 * @method $this withTotalOffset($value)
1474
 * @method string getSize()
1475
 * @method $this withSize($value)
1476
 * @method string getPackMeta()
1477
 * @method $this withPackMeta($value)
1478
 * @method string getFrom()
1479
 * @method $this withFrom($value)
1480
 * @method string getClusterId()
1481
 * @method $this withClusterId($value)
1482
 * @method string getTo()
1483
 * @method $this withTo($value)
1484
 * @method string getReverse()
1485
 * @method $this withReverse($value)
1486
 * @method string getLogStore()
1487
 * @method $this withLogStore($value)
1488
 */
1489
class ContextQueryLog extends V20160408Rpc
1490
{
1491
}
1492
1493
/**
1494
 * @method string getResourceOwnerId()
1495
 * @method $this withResourceOwnerId($value)
1496
 * @method string getPageSize()
1497
 * @method $this withPageSize($value)
1498
 * @method string getTableId()
1499
 * @method $this withTableId($value)
1500
 * @method string getDatabaseId()
1501
 * @method $this withDatabaseId($value)
1502
 * @method string getPageNumber()
1503
 * @method $this withPageNumber($value)
1504
 */
1505
class MetastoreListPartition extends V20160408Rpc
1506
{
1507
}
1508
1509
/**
1510
 * @method string getResourceOwnerId()
1511
 * @method $this withResourceOwnerId($value)
1512
 * @method array getInstanceIds()
1513
 * @method string getClusterId()
1514
 * @method $this withClusterId($value)
1515
 */
1516
class AttachPubIp extends V20160408Rpc
1517
{
1518
1519
    /**
1520
     * @param array $instanceIds
1521
     *
1522
     * @return $this
1523
     */
1524
    public function withInstanceIds(array $instanceIds)
1525
    {
1526
        $this->data['InstanceIds'] = $instanceIds;
1527
        foreach ($instanceIds as $i => $iValue) {
1528
            $this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
1529
        }
1530
1531
        return $this;
1532
    }
1533
}
1534
1535
/**
1536
 * @method string getResourceOwnerId()
1537
 * @method $this withResourceOwnerId($value)
1538
 * @method string getTopicId()
1539
 * @method $this withTopicId($value)
1540
 * @method array getAdvancedConfig()
1541
 * @method string getNumPartitions()
1542
 * @method $this withNumPartitions($value)
1543
 */
1544
class MetastoreUpdateKafkaTopic extends V20160408Rpc
1545
{
1546
1547
    /**
1548
     * @param array $advancedConfig
1549
     *
1550
     * @return $this
1551
     */
1552
    public function withAdvancedConfig(array $advancedConfig)
1553
    {
1554
        $this->data['AdvancedConfig'] = $advancedConfig;
1555
        foreach ($advancedConfig as $depth1 => $depth1Value) {
1556
            $this->options['query']['AdvancedConfig.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1557
            $this->options['query']['AdvancedConfig.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1558
        }
1559
1560
        return $this;
1561
    }
1562
}
1563
1564
/**
1565
 * @method string getResourceOwnerId()
1566
 * @method $this withResourceOwnerId($value)
1567
 * @method string getActiveOnly()
1568
 * @method $this withActiveOnly($value)
1569
 * @method string getPageSize()
1570
 * @method $this withPageSize($value)
1571
 * @method string getDataSourceId()
1572
 * @method $this withDataSourceId($value)
1573
 * @method string getTopicName()
1574
 * @method $this withTopicName($value)
1575
 * @method string getClusterId()
1576
 * @method $this withClusterId($value)
1577
 * @method string getPageNumber()
1578
 * @method $this withPageNumber($value)
1579
 */
1580
class MetastoreListKafkaTopic extends V20160408Rpc
1581
{
1582
}
1583
1584
/**
1585
 * @method string getResourceOwnerId()
1586
 * @method $this withResourceOwnerId($value)
1587
 * @method string getTopicId()
1588
 * @method $this withTopicId($value)
1589
 * @method string getPageSize()
1590
 * @method $this withPageSize($value)
1591
 * @method string getPageNumber()
1592
 * @method $this withPageNumber($value)
1593
 */
1594
class MetastoreListKafkaConsumerGroup extends V20160408Rpc
1595
{
1596
}
1597
1598
/**
1599
 * @method string getResourceOwnerId()
1600
 * @method $this withResourceOwnerId($value)
1601
 * @method string getTopicId()
1602
 * @method $this withTopicId($value)
1603
 * @method string getConsumerGroupId()
1604
 * @method $this withConsumerGroupId($value)
1605
 */
1606
class MetastoreDescribeKafkaConsumerGroup extends V20160408Rpc
1607
{
1608
}
1609
1610
/**
1611
 * @method string getResourceOwnerId()
1612
 * @method $this withResourceOwnerId($value)
1613
 * @method string getTopicId()
1614
 * @method $this withTopicId($value)
1615
 */
1616
class MetastoreDescribeKafkaTopic extends V20160408Rpc
1617
{
1618
}
1619
1620
/**
1621
 * @method string getResourceOwnerId()
1622
 * @method $this withResourceOwnerId($value)
1623
 * @method string getTopicId()
1624
 * @method $this withTopicId($value)
1625
 */
1626
class MetastoreDeleteKafkaTopic extends V20160408Rpc
1627
{
1628
}
1629
1630
/**
1631
 * @method string getResourceOwnerId()
1632
 * @method $this withResourceOwnerId($value)
1633
 * @method string getDataSourceId()
1634
 * @method $this withDataSourceId($value)
1635
 * @method string getTopicName()
1636
 * @method $this withTopicName($value)
1637
 * @method array getAdvancedConfig()
1638
 * @method string getNumPartitions()
1639
 * @method $this withNumPartitions($value)
1640
 * @method string getReplicationFactor()
1641
 * @method $this withReplicationFactor($value)
1642
 */
1643
class MetastoreCreateKafkaTopic extends V20160408Rpc
1644
{
1645
1646
    /**
1647
     * @param array $advancedConfig
1648
     *
1649
     * @return $this
1650
     */
1651
    public function withAdvancedConfig(array $advancedConfig)
1652
    {
1653
        $this->data['AdvancedConfig'] = $advancedConfig;
1654
        foreach ($advancedConfig as $depth1 => $depth1Value) {
1655
            $this->options['query']['AdvancedConfig.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1656
            $this->options['query']['AdvancedConfig.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1657
        }
1658
1659
        return $this;
1660
    }
1661
}
1662
1663
/**
1664
 * @method string getFlowInstanceId()
1665
 * @method $this withFlowInstanceId($value)
1666
 * @method string getProjectId()
1667
 * @method $this withProjectId($value)
1668
 */
1669
class StartFlow extends V20160408Rpc
1670
{
1671
}
1672
1673
/**
1674
 * @method string getResourceOwnerId()
1675
 * @method $this withResourceOwnerId($value)
1676
 * @method string getHostInnerIp()
1677
 * @method $this withHostInnerIp($value)
1678
 * @method string getHostName()
1679
 * @method $this withHostName($value)
1680
 * @method string getLogstoreName()
1681
 * @method $this withLogstoreName($value)
1682
 * @method string getFromTimestamp()
1683
 * @method $this withFromTimestamp($value)
1684
 * @method string getToTimestamp()
1685
 * @method $this withToTimestamp($value)
1686
 * @method string getSlsQueryString()
1687
 * @method $this withSlsQueryString($value)
1688
 * @method string getClusterId()
1689
 * @method $this withClusterId($value)
1690
 */
1691
class GetLogHistogram extends V20160408Rpc
1692
{
1693
}
1694
1695
/**
1696
 * @method array getStatusList()
1697
 * @method string getPageSize()
1698
 * @method $this withPageSize($value)
1699
 * @method string getOrderBy()
1700
 * @method $this withOrderBy($value)
1701
 * @method string getStartTime()
1702
 * @method $this withStartTime($value)
1703
 * @method string getProjectId()
1704
 * @method $this withProjectId($value)
1705
 * @method string getPageNumber()
1706
 * @method $this withPageNumber($value)
1707
 * @method string getOrderType()
1708
 * @method $this withOrderType($value)
1709
 */
1710
class ListFlowNodeInstance extends V20160408Rpc
1711
{
1712
1713
    /**
1714
     * @param array $statusList
1715
     *
1716
     * @return $this
1717
     */
1718
    public function withStatusList(array $statusList)
1719
    {
1720
        $this->data['StatusList'] = $statusList;
1721
        foreach ($statusList as $i => $iValue) {
1722
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
1723
        }
1724
1725
        return $this;
1726
    }
1727
}
1728
1729
/**
1730
 * @method string getFromApp()
1731
 * @method $this withFromApp($value)
1732
 * @method string getProjectId()
1733
 * @method $this withProjectId($value)
1734
 */
1735
class DescribeFlowJobStatistic extends V20160408Rpc
1736
{
1737
}
1738
1739
/**
1740
 * @method string getResourceOwnerId()
1741
 * @method $this withResourceOwnerId($value)
1742
 * @method string getClusterId()
1743
 * @method $this withClusterId($value)
1744
 * @method array getHostIdList()
1745
 */
1746
class RemoveClusterHosts extends V20160408Rpc
1747
{
1748
1749
    /**
1750
     * @param array $hostIdList
1751
     *
1752
     * @return $this
1753
     */
1754
    public function withHostIdList(array $hostIdList)
1755
    {
1756
        $this->data['HostIdList'] = $hostIdList;
1757
        foreach ($hostIdList as $i => $iValue) {
1758
            $this->options['query']['HostIdList.' . ($i + 1)] = $iValue;
1759
        }
1760
1761
        return $this;
1762
    }
1763
}
1764
1765
/**
1766
 * @method string getResourceOwnerId()
1767
 * @method $this withResourceOwnerId($value)
1768
 * @method string getStrategy()
1769
 * @method $this withStrategy($value)
1770
 */
1771
class DescribeClusterStatistics extends V20160408Rpc
1772
{
1773
}
1774
1775
/**
1776
 * @method string getResourceOwnerId()
1777
 * @method $this withResourceOwnerId($value)
1778
 * @method string getTaskId()
1779
 * @method $this withTaskId($value)
1780
 */
1781
class MetastoreDescribeTask extends V20160408Rpc
1782
{
1783
}
1784
1785
/**
1786
 * @method string getResourceOwnerId()
1787
 * @method $this withResourceOwnerId($value)
1788
 * @method string getTaskId()
1789
 * @method $this withTaskId($value)
1790
 */
1791
class MetastoreRetryTask extends V20160408Rpc
1792
{
1793
}
1794
1795
/**
1796
 * @method string getResourceOwnerId()
1797
 * @method $this withResourceOwnerId($value)
1798
 * @method string getTaskStatus()
1799
 * @method $this withTaskStatus($value)
1800
 * @method string getTaskSourceType()
1801
 * @method $this withTaskSourceType($value)
1802
 * @method string getTaskType()
1803
 * @method $this withTaskType($value)
1804
 * @method string getPageSize()
1805
 * @method $this withPageSize($value)
1806
 * @method string getDataSourceId()
1807
 * @method $this withDataSourceId($value)
1808
 * @method string getPageNumber()
1809
 * @method $this withPageNumber($value)
1810
 * @method string getTaskId()
1811
 * @method $this withTaskId($value)
1812
 */
1813
class MetastoreListTask extends V20160408Rpc
1814
{
1815
}
1816
1817
/**
1818
 * @method string getResourceOwnerId()
1819
 * @method $this withResourceOwnerId($value)
1820
 * @method string getClusterReleased()
1821
 * @method $this withClusterReleased($value)
1822
 * @method string getPageSize()
1823
 * @method $this withPageSize($value)
1824
 * @method string getSourceType()
1825
 * @method $this withSourceType($value)
1826
 * @method string getDataSourceName()
1827
 * @method $this withDataSourceName($value)
1828
 * @method string getPageNumber()
1829
 * @method $this withPageNumber($value)
1830
 */
1831
class MetastoreListDataSource extends V20160408Rpc
1832
{
1833
}
1834
1835
/**
1836
 * @method string getResourceOwnerId()
1837
 * @method $this withResourceOwnerId($value)
1838
 * @method string getDataSourceId()
1839
 * @method $this withDataSourceId($value)
1840
 */
1841
class MetastoreDescribeDataSource extends V20160408Rpc
1842
{
1843
}
1844
1845
/**
1846
 * @method string getResourceOwnerId()
1847
 * @method $this withResourceOwnerId($value)
1848
 * @method array getAddColumn()
1849
 * @method array getAddPartition()
1850
 * @method array getDeleteColumnName()
1851
 * @method string getTableId()
1852
 * @method $this withTableId($value)
1853
 * @method array getDeletePartitionName()
1854
 */
1855
class MetastoreUpdateTable extends V20160408Rpc
1856
{
1857
1858
    /**
1859
     * @param array $addColumn
1860
     *
1861
     * @return $this
1862
     */
1863
    public function withAddColumn(array $addColumn)
1864
    {
1865
        $this->data['AddColumn'] = $addColumn;
1866
        foreach ($addColumn as $depth1 => $depth1Value) {
1867
            $this->options['query']['AddColumn.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1868
            $this->options['query']['AddColumn.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
1869
            $this->options['query']['AddColumn.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
1870
        }
1871
1872
        return $this;
1873
    }
1874
1875
    /**
1876
     * @param array $addPartition
1877
     *
1878
     * @return $this
1879
     */
1880
    public function withAddPartition(array $addPartition)
1881
    {
1882
        $this->data['AddPartition'] = $addPartition;
1883
        foreach ($addPartition as $depth1 => $depth1Value) {
1884
            $this->options['query']['AddPartition.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1885
            $this->options['query']['AddPartition.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
1886
            $this->options['query']['AddPartition.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
1887
        }
1888
1889
        return $this;
1890
    }
1891
1892
    /**
1893
     * @param array $deleteColumnName
1894
     *
1895
     * @return $this
1896
     */
1897
    public function withDeleteColumnName(array $deleteColumnName)
1898
    {
1899
        $this->data['DeleteColumnName'] = $deleteColumnName;
1900
        foreach ($deleteColumnName as $i => $iValue) {
1901
            $this->options['query']['DeleteColumnName.' . ($i + 1)] = $iValue;
1902
        }
1903
1904
        return $this;
1905
    }
1906
1907
    /**
1908
     * @param array $deletePartitionName
1909
     *
1910
     * @return $this
1911
     */
1912
    public function withDeletePartitionName(array $deletePartitionName)
1913
    {
1914
        $this->data['DeletePartitionName'] = $deletePartitionName;
1915
        foreach ($deletePartitionName as $i => $iValue) {
1916
            $this->options['query']['DeletePartitionName.' . ($i + 1)] = $iValue;
1917
        }
1918
1919
        return $this;
1920
    }
1921
}
1922
1923
/**
1924
 * @method string getResourceOwnerId()
1925
 * @method $this withResourceOwnerId($value)
1926
 * @method string getPeriod()
1927
 * @method $this withPeriod($value)
1928
 * @method string getDims()
1929
 * @method $this withDims($value)
1930
 * @method string getMetric()
1931
 * @method $this withMetric($value)
1932
 * @method string getProject()
1933
 * @method $this withProject($value)
1934
 * @method string getStartTimeStamp()
1935
 * @method $this withStartTimeStamp($value)
1936
 * @method string getEndTimeStamp()
1937
 * @method $this withEndTimeStamp($value)
1938
 */
1939
class QueryServiceMetricData extends V20160408Rpc
1940
{
1941
}
1942
1943
/**
1944
 * @method string getResourceOwnerId()
1945
 * @method $this withResourceOwnerId($value)
1946
 * @method string getPageSize()
1947
 * @method $this withPageSize($value)
1948
 * @method string getUserId()
1949
 * @method $this withUserId($value)
1950
 * @method string getCurrentSize()
1951
 * @method $this withCurrentSize($value)
1952
 */
1953
class ListExecutePlanMigrateInfo extends V20160408Rpc
1954
{
1955
}
1956
1957
/**
1958
 * @method string getJobId()
1959
 * @method $this withJobId($value)
1960
 * @method string getResourceOwnerId()
1961
 * @method $this withResourceOwnerId($value)
1962
 * @method string getPremigrtateJobJson()
1963
 * @method $this withPremigrtateJobJson($value)
1964
 * @method string getUserId()
1965
 * @method $this withUserId($value)
1966
 */
1967
class ModifyPreMigrateJobs extends V20160408Rpc
1968
{
1969
}
1970
1971
/**
1972
 * @method string getResourceOwnerId()
1973
 * @method $this withResourceOwnerId($value)
1974
 * @method string getProjectName()
1975
 * @method $this withProjectName($value)
1976
 */
1977
class MigrateJobs extends V20160408Rpc
1978
{
1979
}
1980
1981
/**
1982
 * @method string getResourceOwnerId()
1983
 * @method $this withResourceOwnerId($value)
1984
 * @method string getFromApp()
1985
 * @method $this withFromApp($value)
1986
 * @method string getIds()
1987
 * @method $this withIds($value)
1988
 * @method string getUserId()
1989
 * @method $this withUserId($value)
1990
 */
1991
class PreMigrateJobs extends V20160408Rpc
1992
{
1993
}
1994
1995
/**
1996
 * @method string getJobId()
1997
 * @method $this withJobId($value)
1998
 * @method string getResourceOwnerId()
1999
 * @method $this withResourceOwnerId($value)
2000
 * @method string getUserId()
2001
 * @method $this withUserId($value)
2002
 */
2003
class DescribeJobMigrateInfo extends V20160408Rpc
2004
{
2005
}
2006
2007
/**
2008
 * @method string getResourceOwnerId()
2009
 * @method $this withResourceOwnerId($value)
2010
 * @method string getPageSize()
2011
 * @method $this withPageSize($value)
2012
 * @method string getUserId()
2013
 * @method $this withUserId($value)
2014
 * @method string getCurrentSize()
2015
 * @method $this withCurrentSize($value)
2016
 */
2017
class ListJobMigrateInfo extends V20160408Rpc
2018
{
2019
}
2020
2021
/**
2022
 * @method string getBizType()
2023
 * @method $this withBizType($value)
2024
 * @method string getResourceOwnerId()
2025
 * @method $this withResourceOwnerId($value)
2026
 * @method string getBizContent()
2027
 * @method $this withBizContent($value)
2028
 * @method string getClusterId()
2029
 * @method $this withClusterId($value)
2030
 */
2031
class AuthorizeSecurityGroup extends V20160408Rpc
2032
{
2033
}
2034
2035
/**
2036
 * @method string getResourceOwnerId()
2037
 * @method $this withResourceOwnerId($value)
2038
 * @method string getClusterId()
2039
 * @method $this withClusterId($value)
2040
 */
2041
class DescribeSecurityGroupAttribute extends V20160408Rpc
2042
{
2043
}
2044
2045
/**
2046
 * @method string getResourceOwnerId()
2047
 * @method $this withResourceOwnerId($value)
2048
 * @method string getUserId()
2049
 * @method $this withUserId($value)
2050
 */
2051
class DescribeUserStatistics extends V20160408Rpc
2052
{
2053
}
2054
2055
/**
2056
 * @method string getJobMigratedNum()
2057
 * @method $this withJobMigratedNum($value)
2058
 * @method string getResourceOwnerId()
2059
 * @method $this withResourceOwnerId($value)
2060
 * @method string getExecutePlanNum()
2061
 * @method $this withExecutePlanNum($value)
2062
 * @method string getJobNum()
2063
 * @method $this withJobNum($value)
2064
 * @method string getExecutePlanMigratedNum()
2065
 * @method $this withExecutePlanMigratedNum($value)
2066
 * @method string getInteractionJobMigratedNum()
2067
 * @method $this withInteractionJobMigratedNum($value)
2068
 * @method string getUserId()
2069
 * @method $this withUserId($value)
2070
 * @method string getInteractionJobNum()
2071
 * @method $this withInteractionJobNum($value)
2072
 */
2073
class ModifyUserStatistics extends V20160408Rpc
2074
{
2075
}
2076
2077
/**
2078
 * @method string getResourceOwnerId()
2079
 * @method $this withResourceOwnerId($value)
2080
 * @method string getOrderMode()
2081
 * @method $this withOrderMode($value)
2082
 * @method string getPageSize()
2083
 * @method $this withPageSize($value)
2084
 * @method string getOrderFieldName()
2085
 * @method $this withOrderFieldName($value)
2086
 * @method string getCurrentSize()
2087
 * @method $this withCurrentSize($value)
2088
 */
2089
class ListUserStatistics extends V20160408Rpc
2090
{
2091
}
2092
2093
/**
2094
 * @method string getResourceOwnerId()
2095
 * @method $this withResourceOwnerId($value)
2096
 */
2097
class CreateUserStatistics extends V20160408Rpc
2098
{
2099
}
2100
2101
/**
2102
 * @method string getResourceOwnerId()
2103
 * @method $this withResourceOwnerId($value)
2104
 * @method string getClusterId()
2105
 * @method $this withClusterId($value)
2106
 * @method array getUserInfo()
2107
 */
2108
class RetryCreateUserPassword extends V20160408Rpc
2109
{
2110
2111
    /**
2112
     * @param array $userInfo
2113
     *
2114
     * @return $this
2115
     */
2116
    public function withUserInfo(array $userInfo)
2117
    {
2118
        $this->data['UserInfo'] = $userInfo;
2119
        foreach ($userInfo as $depth1 => $depth1Value) {
2120
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2121
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.GroupName'] = $depth1Value['GroupName'];
2122
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
2123
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
2124
        }
2125
2126
        return $this;
2127
    }
2128
}
2129
2130
/**
2131
 * @method string getMode()
2132
 * @method $this withMode($value)
2133
 * @method string getResourceOwnerId()
2134
 * @method $this withResourceOwnerId($value)
2135
 * @method string getTarget()
2136
 * @method $this withTarget($value)
2137
 */
2138
class CreateVerificationCode extends V20160408Rpc
2139
{
2140
}
2141
2142
/**
2143
 * @method string getEmailVerificationCode()
2144
 * @method $this withEmailVerificationCode($value)
2145
 * @method string getResourceOwnerId()
2146
 * @method $this withResourceOwnerId($value)
2147
 * @method string getPhoneNumberVerificationCode()
2148
 * @method $this withPhoneNumberVerificationCode($value)
2149
 * @method string getName()
2150
 * @method $this withName($value)
2151
 * @method string getPhoneNumber()
2152
 * @method $this withPhoneNumber($value)
2153
 * @method string getEmail()
2154
 * @method $this withEmail($value)
2155
 */
2156
class CreateAlertContact extends V20160408Rpc
2157
{
2158
}
2159
2160
/**
2161
 * @method string getResourceOwnerId()
2162
 * @method $this withResourceOwnerId($value)
2163
 * @method string getIds()
2164
 * @method $this withIds($value)
2165
 */
2166
class DeleteAlertContacts extends V20160408Rpc
2167
{
2168
}
2169
2170
/**
2171
 * @method string getResourceOwnerId()
2172
 * @method $this withResourceOwnerId($value)
2173
 * @method string getFromApp()
2174
 * @method $this withFromApp($value)
2175
 * @method string getIds()
2176
 * @method $this withIds($value)
2177
 * @method string getUserId()
2178
 * @method $this withUserId($value)
2179
 */
2180
class ListAlertContacts extends V20160408Rpc
2181
{
2182
}
2183
2184
/**
2185
 * @method string getEmailVerificationCode()
2186
 * @method $this withEmailVerificationCode($value)
2187
 * @method string getResourceOwnerId()
2188
 * @method $this withResourceOwnerId($value)
2189
 * @method string getPhoneNumberVerificationCode()
2190
 * @method $this withPhoneNumberVerificationCode($value)
2191
 * @method string getBizId()
2192
 * @method $this withBizId($value)
2193
 * @method string getName()
2194
 * @method $this withName($value)
2195
 * @method string getPhoneNumber()
2196
 * @method $this withPhoneNumber($value)
2197
 * @method string getEmail()
2198
 * @method $this withEmail($value)
2199
 */
2200
class ModifyAlertContact extends V20160408Rpc
2201
{
2202
}
2203
2204
/**
2205
 * @method string getResourceOwnerId()
2206
 * @method $this withResourceOwnerId($value)
2207
 * @method string getFromApp()
2208
 * @method $this withFromApp($value)
2209
 * @method string getIds()
2210
 * @method $this withIds($value)
2211
 * @method string getUserId()
2212
 * @method $this withUserId($value)
2213
 */
2214
class ListAlertDingDingGroup extends V20160408Rpc
2215
{
2216
}
2217
2218
/**
2219
 * @method string getResourceOwnerId()
2220
 * @method $this withResourceOwnerId($value)
2221
 * @method string getFromApp()
2222
 * @method $this withFromApp($value)
2223
 * @method string getIds()
2224
 * @method $this withIds($value)
2225
 * @method string getUserId()
2226
 * @method $this withUserId($value)
2227
 */
2228
class ListAlertUserGroup extends V20160408Rpc
2229
{
2230
}
2231
2232
/**
2233
 * @method string getResourceOwnerId()
2234
 * @method $this withResourceOwnerId($value)
2235
 * @method string getName()
2236
 * @method $this withName($value)
2237
 * @method string getDescription()
2238
 * @method $this withDescription($value)
2239
 * @method string getWebHookUrl()
2240
 * @method $this withWebHookUrl($value)
2241
 */
2242
class CreateAlertDingDingGroup extends V20160408Rpc
2243
{
2244
}
2245
2246
/**
2247
 * @method string getResourceOwnerId()
2248
 * @method $this withResourceOwnerId($value)
2249
 * @method string getBizId()
2250
 * @method $this withBizId($value)
2251
 * @method string getName()
2252
 * @method $this withName($value)
2253
 * @method string getDescription()
2254
 * @method $this withDescription($value)
2255
 * @method string getWebHookUrl()
2256
 * @method $this withWebHookUrl($value)
2257
 */
2258
class ModifyAlertDingDingGroup extends V20160408Rpc
2259
{
2260
}
2261
2262
/**
2263
 * @method string getResourceOwnerId()
2264
 * @method $this withResourceOwnerId($value)
2265
 * @method string getIds()
2266
 * @method $this withIds($value)
2267
 */
2268
class DeleteAlertDingDingGroups extends V20160408Rpc
2269
{
2270
}
2271
2272
/**
2273
 * @method string getResourceOwnerId()
2274
 * @method $this withResourceOwnerId($value)
2275
 * @method string getIds()
2276
 * @method $this withIds($value)
2277
 */
2278
class DeleteAlertUserGroups extends V20160408Rpc
2279
{
2280
}
2281
2282
/**
2283
 * @method string getUserList()
2284
 * @method $this withUserList($value)
2285
 * @method string getResourceOwnerId()
2286
 * @method $this withResourceOwnerId($value)
2287
 * @method string getBizId()
2288
 * @method $this withBizId($value)
2289
 * @method string getName()
2290
 * @method $this withName($value)
2291
 * @method string getDescription()
2292
 * @method $this withDescription($value)
2293
 */
2294
class ModifyAlertUserGroup extends V20160408Rpc
2295
{
2296
}
2297
2298
/**
2299
 * @method string getUserList()
2300
 * @method $this withUserList($value)
2301
 * @method string getResourceOwnerId()
2302
 * @method $this withResourceOwnerId($value)
2303
 * @method string getName()
2304
 * @method $this withName($value)
2305
 * @method string getDescription()
2306
 * @method $this withDescription($value)
2307
 */
2308
class CreateAlertUserGroup extends V20160408Rpc
2309
{
2310
}
2311
2312
/**
2313
 * @method string getResourceOwnerId()
2314
 * @method $this withResourceOwnerId($value)
2315
 * @method string getPeriod()
2316
 * @method $this withPeriod($value)
2317
 * @method string getClusterId()
2318
 * @method $this withClusterId($value)
2319
 * @method string getStartTimeStamp()
2320
 * @method $this withStartTimeStamp($value)
2321
 * @method string getMetricName()
2322
 * @method $this withMetricName($value)
2323
 * @method string getHostRole()
2324
 * @method $this withHostRole($value)
2325
 * @method string getEndTimeStamp()
2326
 * @method $this withEndTimeStamp($value)
2327
 */
2328
class QuerySlsMetricData extends V20160408Rpc
2329
{
2330
}
2331
2332
/**
2333
 * @method string getId()
2334
 * @method $this withId($value)
2335
 * @method string getProjectId()
2336
 * @method $this withProjectId($value)
2337
 */
2338
class CloneFlowJob extends V20160408Rpc
2339
{
2340
}
2341
2342
/**
2343
 * @method string getId()
2344
 * @method $this withId($value)
2345
 * @method string getProjectId()
2346
 * @method $this withProjectId($value)
2347
 */
2348
class CloneFlow extends V20160408Rpc
2349
{
2350
}
2351
2352
/**
2353
 * @method string getJobId()
2354
 * @method $this withJobId($value)
2355
 * @method string getPeriodic()
2356
 * @method $this withPeriodic($value)
2357
 * @method string getName()
2358
 * @method $this withName($value)
2359
 * @method string getPageSize()
2360
 * @method $this withPageSize($value)
2361
 * @method string getId()
2362
 * @method $this withId($value)
2363
 * @method string getClusterId()
2364
 * @method $this withClusterId($value)
2365
 * @method string getProjectId()
2366
 * @method $this withProjectId($value)
2367
 * @method string getPageNumber()
2368
 * @method $this withPageNumber($value)
2369
 * @method string getStatus()
2370
 * @method $this withStatus($value)
2371
 */
2372
class ListFlow extends V20160408Rpc
2373
{
2374
}
2375
2376
/**
2377
 * @method string getResourceOwnerId()
2378
 * @method $this withResourceOwnerId($value)
2379
 * @method string getClusterId()
2380
 * @method $this withClusterId($value)
2381
 */
2382
class ListScalingTaskGroup extends V20160408Rpc
2383
{
2384
}
2385
2386
/**
2387
 * @method string getLaunchTime()
2388
 * @method $this withLaunchTime($value)
2389
 * @method string getResourceOwnerId()
2390
 * @method $this withResourceOwnerId($value)
2391
 * @method string getAdjustmentValue()
2392
 * @method $this withAdjustmentValue($value)
2393
 * @method string getAdjustmentType()
2394
 * @method $this withAdjustmentType($value)
2395
 * @method string getRuleName()
2396
 * @method $this withRuleName($value)
2397
 * @method string getClusterId()
2398
 * @method $this withClusterId($value)
2399
 * @method string getScalingRuleId()
2400
 * @method $this withScalingRuleId($value)
2401
 * @method string getLaunchExpirationTime()
2402
 * @method $this withLaunchExpirationTime($value)
2403
 * @method string getRecurrenceValue()
2404
 * @method $this withRecurrenceValue($value)
2405
 * @method string getRecurrenceEndTime()
2406
 * @method $this withRecurrenceEndTime($value)
2407
 * @method array getCloudWatchTrigger()
2408
 * @method string getHostGroupId()
2409
 * @method $this withHostGroupId($value)
2410
 * @method array getSchedulerTrigger()
2411
 * @method string getCooldown()
2412
 * @method $this withCooldown($value)
2413
 * @method string getRecurrenceType()
2414
 * @method $this withRecurrenceType($value)
2415
 */
2416
class ModifyScalingRule extends V20160408Rpc
2417
{
2418
2419
    /**
2420
     * @param array $cloudWatchTrigger
2421
     *
2422
     * @return $this
2423
     */
2424
    public function withCloudWatchTrigger(array $cloudWatchTrigger)
2425
    {
2426
        $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
2427
        foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
2428
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
2429
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
2430
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
2431
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
2432
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
2433
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
2434
        }
2435
2436
        return $this;
2437
    }
2438
2439
    /**
2440
     * @param array $schedulerTrigger
2441
     *
2442
     * @return $this
2443
     */
2444
    public function withSchedulerTrigger(array $schedulerTrigger)
2445
    {
2446
        $this->data['SchedulerTrigger'] = $schedulerTrigger;
2447
        foreach ($schedulerTrigger as $depth1 => $depth1Value) {
2448
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
2449
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
2450
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
2451
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
2452
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
2453
        }
2454
2455
        return $this;
2456
    }
2457
}
2458
2459
/**
2460
 * @method string getResourceOwnerId()
2461
 * @method $this withResourceOwnerId($value)
2462
 * @method string getHostGroupId()
2463
 * @method $this withHostGroupId($value)
2464
 * @method string getActiveRuleCategory()
2465
 * @method $this withActiveRuleCategory($value)
2466
 * @method string getClusterId()
2467
 * @method $this withClusterId($value)
2468
 * @method string getMinSize()
2469
 * @method $this withMinSize($value)
2470
 * @method string getMaxSize()
2471
 * @method $this withMaxSize($value)
2472
 * @method string getDefaultCooldown()
2473
 * @method $this withDefaultCooldown($value)
2474
 */
2475
class ModifyScalingTaskGroup extends V20160408Rpc
2476
{
2477
}
2478
2479
/**
2480
 * @method string getResourceOwnerId()
2481
 * @method $this withResourceOwnerId($value)
2482
 * @method string getHostGroupId()
2483
 * @method $this withHostGroupId($value)
2484
 * @method string getClusterId()
2485
 * @method $this withClusterId($value)
2486
 */
2487
class DescribeScalingTaskGroup extends V20160408Rpc
2488
{
2489
}
2490
2491
/**
2492
 * @method string getResourceOwnerId()
2493
 * @method $this withResourceOwnerId($value)
2494
 * @method string getHostGroupId()
2495
 * @method $this withHostGroupId($value)
2496
 * @method string getClusterId()
2497
 * @method $this withClusterId($value)
2498
 * @method string getScalingRuleId()
2499
 * @method $this withScalingRuleId($value)
2500
 */
2501
class DeleteScalingRule extends V20160408Rpc
2502
{
2503
}
2504
2505
/**
2506
 * @method string getResourceOwnerId()
2507
 * @method $this withResourceOwnerId($value)
2508
 * @method string getHostGroupId()
2509
 * @method $this withHostGroupId($value)
2510
 * @method string getClusterId()
2511
 * @method $this withClusterId($value)
2512
 */
2513
class DeleteScalingTaskGroup extends V20160408Rpc
2514
{
2515
}
2516
2517
/**
2518
 * @method string getResourceOwnerId()
2519
 * @method $this withResourceOwnerId($value)
2520
 * @method string getDataDiskCategory()
2521
 * @method $this withDataDiskCategory($value)
2522
 * @method string getClusterId()
2523
 * @method $this withClusterId($value)
2524
 * @method string getMinSize()
2525
 * @method $this withMinSize($value)
2526
 * @method string getSpotStrategy()
2527
 * @method $this withSpotStrategy($value)
2528
 * @method string getDataDiskSize()
2529
 * @method $this withDataDiskSize($value)
2530
 * @method array getSpotPriceLimits()
2531
 * @method array getScalingRule()
2532
 * @method string getActiveRuleCategory()
2533
 * @method $this withActiveRuleCategory($value)
2534
 * @method string getMaxSize()
2535
 * @method $this withMaxSize($value)
2536
 * @method string getDataDiskCount()
2537
 * @method $this withDataDiskCount($value)
2538
 * @method string getDefaultCooldown()
2539
 * @method $this withDefaultCooldown($value)
2540
 * @method string getPayType()
2541
 * @method $this withPayType($value)
2542
 * @method array getInstanceTypeList()
2543
 */
2544
class CreateScalingTaskGroup extends V20160408Rpc
2545
{
2546
2547
    /**
2548
     * @param array $spotPriceLimits
2549
     *
2550
     * @return $this
2551
     */
2552
    public function withSpotPriceLimits(array $spotPriceLimits)
2553
    {
2554
        $this->data['SpotPriceLimits'] = $spotPriceLimits;
2555
        foreach ($spotPriceLimits as $depth1 => $depth1Value) {
2556
            $this->options['query']['SpotPriceLimits.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
2557
            $this->options['query']['SpotPriceLimits.' . ($depth1 + 1) . '.PriceLimit'] = $depth1Value['PriceLimit'];
2558
        }
2559
2560
        return $this;
2561
    }
2562
2563
    /**
2564
     * @param array $scalingRule
2565
     *
2566
     * @return $this
2567
     */
2568
    public function withScalingRule(array $scalingRule)
2569
    {
2570
        $this->data['ScalingRule'] = $scalingRule;
2571
        foreach ($scalingRule as $depth1 => $depth1Value) {
2572
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
2573
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.RuleCategory'] = $depth1Value['RuleCategory'];
2574
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.AdjustmentValue'] = $depth1Value['AdjustmentValue'];
2575
            foreach ($depth1Value['SchedulerTrigger'] as $depth2 => $depth2Value) {
2576
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.SchedulerTrigger.' . ($depth2 + 1) . '.LaunchTime'] = $depth2Value['LaunchTime'];
2577
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.SchedulerTrigger.' . ($depth2 + 1) . '.LaunchExpirationTime'] = $depth2Value['LaunchExpirationTime'];
2578
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.SchedulerTrigger.' . ($depth2 + 1) . '.RecurrenceValue'] = $depth2Value['RecurrenceValue'];
2579
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.SchedulerTrigger.' . ($depth2 + 1) . '.RecurrenceEndTime'] = $depth2Value['RecurrenceEndTime'];
2580
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.SchedulerTrigger.' . ($depth2 + 1) . '.RecurrenceType'] = $depth2Value['RecurrenceType'];
2581
            }
2582
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.AdjustmentType'] = $depth1Value['AdjustmentType'];
2583
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.Cooldown'] = $depth1Value['Cooldown'];
2584
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
2585
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
2586
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
2587
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
2588
            foreach ($depth1Value['CloudWatchTrigger'] as $depth2 => $depth2Value) {
2589
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.Period'] = $depth2Value['Period'];
2590
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.EvaluationCount'] = $depth2Value['EvaluationCount'];
2591
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.Threshold'] = $depth2Value['Threshold'];
2592
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.MetricName'] = $depth2Value['MetricName'];
2593
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.ComparisonOperator'] = $depth2Value['ComparisonOperator'];
2594
                $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.CloudWatchTrigger.' . ($depth2 + 1) . '.Statistics'] = $depth2Value['Statistics'];
2595
            }
2596
            $this->options['query']['ScalingRule.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
2597
        }
2598
2599
        return $this;
2600
    }
2601
2602
    /**
2603
     * @param array $instanceTypeList
2604
     *
2605
     * @return $this
2606
     */
2607
    public function withInstanceTypeList(array $instanceTypeList)
2608
    {
2609
        $this->data['InstanceTypeList'] = $instanceTypeList;
2610
        foreach ($instanceTypeList as $i => $iValue) {
2611
            $this->options['query']['InstanceTypeList.' . ($i + 1)] = $iValue;
2612
        }
2613
2614
        return $this;
2615
    }
2616
}
2617
2618
/**
2619
 * @method string getLaunchTime()
2620
 * @method $this withLaunchTime($value)
2621
 * @method string getResourceOwnerId()
2622
 * @method $this withResourceOwnerId($value)
2623
 * @method string getRuleCategory()
2624
 * @method $this withRuleCategory($value)
2625
 * @method string getAdjustmentValue()
2626
 * @method $this withAdjustmentValue($value)
2627
 * @method string getAdjustmentType()
2628
 * @method $this withAdjustmentType($value)
2629
 * @method string getRuleName()
2630
 * @method $this withRuleName($value)
2631
 * @method string getClusterId()
2632
 * @method $this withClusterId($value)
2633
 * @method string getLaunchExpirationTime()
2634
 * @method $this withLaunchExpirationTime($value)
2635
 * @method string getRecurrenceValue()
2636
 * @method $this withRecurrenceValue($value)
2637
 * @method string getRecurrenceEndTime()
2638
 * @method $this withRecurrenceEndTime($value)
2639
 * @method array getCloudWatchTrigger()
2640
 * @method string getHostGroupId()
2641
 * @method $this withHostGroupId($value)
2642
 * @method array getSchedulerTrigger()
2643
 * @method string getCooldown()
2644
 * @method $this withCooldown($value)
2645
 * @method string getRecurrenceType()
2646
 * @method $this withRecurrenceType($value)
2647
 */
2648
class CreateScalingRule extends V20160408Rpc
2649
{
2650
2651
    /**
2652
     * @param array $cloudWatchTrigger
2653
     *
2654
     * @return $this
2655
     */
2656
    public function withCloudWatchTrigger(array $cloudWatchTrigger)
2657
    {
2658
        $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
2659
        foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
2660
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
2661
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
2662
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
2663
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
2664
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
2665
            $this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
2666
        }
2667
2668
        return $this;
2669
    }
2670
2671
    /**
2672
     * @param array $schedulerTrigger
2673
     *
2674
     * @return $this
2675
     */
2676
    public function withSchedulerTrigger(array $schedulerTrigger)
2677
    {
2678
        $this->data['SchedulerTrigger'] = $schedulerTrigger;
2679
        foreach ($schedulerTrigger as $depth1 => $depth1Value) {
2680
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
2681
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
2682
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
2683
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
2684
            $this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
2685
        }
2686
2687
        return $this;
2688
    }
2689
}
2690
2691
/**
2692
 * @method string getResourceOwnerId()
2693
 * @method $this withResourceOwnerId($value)
2694
 * @method string getHostGroupId()
2695
 * @method $this withHostGroupId($value)
2696
 * @method string getPageSize()
2697
 * @method $this withPageSize($value)
2698
 * @method string getClusterId()
2699
 * @method $this withClusterId($value)
2700
 * @method string getPageNumber()
2701
 * @method $this withPageNumber($value)
2702
 */
2703
class ListScalingRule extends V20160408Rpc
2704
{
2705
}
2706
2707
/**
2708
 * @method string getResourceOwnerId()
2709
 * @method $this withResourceOwnerId($value)
2710
 * @method string getHostGroupId()
2711
 * @method $this withHostGroupId($value)
2712
 * @method string getPageSize()
2713
 * @method $this withPageSize($value)
2714
 * @method string getClusterId()
2715
 * @method $this withClusterId($value)
2716
 * @method string getPageNumber()
2717
 * @method $this withPageNumber($value)
2718
 */
2719
class ListScalingActivity extends V20160408Rpc
2720
{
2721
}
2722
2723
/**
2724
 * @method string getResourceOwnerId()
2725
 * @method $this withResourceOwnerId($value)
2726
 * @method string getHostGroupId()
2727
 * @method $this withHostGroupId($value)
2728
 * @method string getClusterId()
2729
 * @method $this withClusterId($value)
2730
 * @method string getScalingRuleId()
2731
 * @method $this withScalingRuleId($value)
2732
 */
2733
class DescribeScalingRule extends V20160408Rpc
2734
{
2735
}
2736
2737
/**
2738
 * @method string getResourceOwnerId()
2739
 * @method $this withResourceOwnerId($value)
2740
 * @method string getHostGroupId()
2741
 * @method $this withHostGroupId($value)
2742
 * @method string getClusterId()
2743
 * @method $this withClusterId($value)
2744
 * @method string getScalingActivityId()
2745
 * @method $this withScalingActivityId($value)
2746
 */
2747
class DescribeScalingActivity extends V20160408Rpc
2748
{
2749
}
2750
2751
/**
2752
 * @method string getResourceOwnerId()
2753
 * @method $this withResourceOwnerId($value)
2754
 * @method string getServiceName()
2755
 * @method $this withServiceName($value)
2756
 * @method string getClusterId()
2757
 * @method $this withClusterId($value)
2758
 */
2759
class ListClusterServiceComponentHealthInfo extends V20160408Rpc
2760
{
2761
}
2762
2763
/**
2764
 * @method string getProjectId()
2765
 * @method $this withProjectId($value)
2766
 */
2767
class DeleteFlowProjectById extends V20160408Rpc
2768
{
2769
}
2770
2771
/**
2772
 * @method string getResourceOwnerId()
2773
 * @method $this withResourceOwnerId($value)
2774
 * @method string getEmrVersion()
2775
 * @method $this withEmrVersion($value)
2776
 */
2777
class DescribeEmrMainVersion extends V20160408Rpc
2778
{
2779
}
2780
2781
/**
2782
 * @method string getResourceOwnerId()
2783
 * @method $this withResourceOwnerId($value)
2784
 * @method string getPageSize()
2785
 * @method $this withPageSize($value)
2786
 * @method string getEmrVersion()
2787
 * @method $this withEmrVersion($value)
2788
 * @method string getStackName()
2789
 * @method $this withStackName($value)
2790
 * @method string getStackVersion()
2791
 * @method $this withStackVersion($value)
2792
 * @method string getPageNumber()
2793
 * @method $this withPageNumber($value)
2794
 */
2795
class ListEmrMainVersion extends V20160408Rpc
2796
{
2797
}
2798
2799
/**
2800
 * @method string getResourceOwnerId()
2801
 * @method $this withResourceOwnerId($value)
2802
 * @method string getLogPath()
2803
 * @method $this withLogPath($value)
2804
 * @method array getMasterInstanceIdList()
2805
 * @method string getIoOptimized()
2806
 * @method $this withIoOptimized($value)
2807
 * @method string getSecurityGroupId()
2808
 * @method $this withSecurityGroupId($value)
2809
 * @method string getEasEnable()
2810
 * @method $this withEasEnable($value)
2811
 * @method string getIsResize()
2812
 * @method $this withIsResize($value)
2813
 * @method string getDepositType()
2814
 * @method $this withDepositType($value)
2815
 * @method string getMachineType()
2816
 * @method $this withMachineType($value)
2817
 * @method string getUseLocalMetaDb()
2818
 * @method $this withUseLocalMetaDb($value)
2819
 * @method string getEmrVer()
2820
 * @method $this withEmrVer($value)
2821
 * @method string getPeriod()
2822
 * @method $this withPeriod($value)
2823
 * @method string getClusterId()
2824
 * @method $this withClusterId($value)
2825
 * @method string getVSwitchId()
2826
 * @method $this withVSwitchId($value)
2827
 * @method string getClusterType()
2828
 * @method $this withClusterType($value)
2829
 * @method array getOptionSoftWareList()
2830
 * @method array getInstanceIdList()
2831
 * @method string getVpcId()
2832
 * @method $this withVpcId($value)
2833
 * @method string getNetType()
2834
 * @method $this withNetType($value)
2835
 * @method string getName()
2836
 * @method $this withName($value)
2837
 * @method string getZoneId()
2838
 * @method $this withZoneId($value)
2839
 * @method string getChargeType()
2840
 * @method $this withChargeType($value)
2841
 * @method string getOperateType()
2842
 * @method $this withOperateType($value)
2843
 * @method string getHighAvailabilityEnable()
2844
 * @method $this withHighAvailabilityEnable($value)
2845
 */
2846
class OperateExistsNodeCluster extends V20160408Rpc
2847
{
2848
2849
    /**
2850
     * @param array $masterInstanceIdList
2851
     *
2852
     * @return $this
2853
     */
2854
    public function withMasterInstanceIdList(array $masterInstanceIdList)
2855
    {
2856
        $this->data['MasterInstanceIdList'] = $masterInstanceIdList;
2857
        foreach ($masterInstanceIdList as $i => $iValue) {
2858
            $this->options['query']['MasterInstanceIdList.' . ($i + 1)] = $iValue;
2859
        }
2860
2861
        return $this;
2862
    }
2863
2864
    /**
2865
     * @param array $optionSoftWareList
2866
     *
2867
     * @return $this
2868
     */
2869
    public function withOptionSoftWareList(array $optionSoftWareList)
2870
    {
2871
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
2872
        foreach ($optionSoftWareList as $i => $iValue) {
2873
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
2874
        }
2875
2876
        return $this;
2877
    }
2878
2879
    /**
2880
     * @param array $instanceIdList
2881
     *
2882
     * @return $this
2883
     */
2884
    public function withInstanceIdList(array $instanceIdList)
2885
    {
2886
        $this->data['InstanceIdList'] = $instanceIdList;
2887
        foreach ($instanceIdList as $i => $iValue) {
2888
            $this->options['query']['InstanceIdList.' . ($i + 1)] = $iValue;
2889
        }
2890
2891
        return $this;
2892
    }
2893
}
2894
2895
/**
2896
 * @method string getResourceOwnerId()
2897
 * @method $this withResourceOwnerId($value)
2898
 * @method string getClusterId()
2899
 * @method $this withClusterId($value)
2900
 * @method array getUserInfo()
2901
 */
2902
class CreateUsers extends V20160408Rpc
2903
{
2904
2905
    /**
2906
     * @param array $userInfo
2907
     *
2908
     * @return $this
2909
     */
2910
    public function withUserInfo(array $userInfo)
2911
    {
2912
        $this->data['UserInfo'] = $userInfo;
2913
        foreach ($userInfo as $depth1 => $depth1Value) {
2914
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2915
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
2916
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
2917
        }
2918
2919
        return $this;
2920
    }
2921
}
2922
2923
/**
2924
 * @method string getResourceOwnerId()
2925
 * @method $this withResourceOwnerId($value)
2926
 * @method string getPassword()
2927
 * @method $this withPassword($value)
2928
 * @method string getClusterId()
2929
 * @method $this withClusterId($value)
2930
 * @method array getUserInfo()
2931
 */
2932
class CreateUserPassword extends V20160408Rpc
2933
{
2934
2935
    /**
2936
     * @param array $userInfo
2937
     *
2938
     * @return $this
2939
     */
2940
    public function withUserInfo(array $userInfo)
2941
    {
2942
        $this->data['UserInfo'] = $userInfo;
2943
        foreach ($userInfo as $depth1 => $depth1Value) {
2944
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2945
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.GroupName'] = $depth1Value['GroupName'];
2946
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
2947
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
2948
        }
2949
2950
        return $this;
2951
    }
2952
}
2953
2954
/**
2955
 * @method string getResourceOwnerId()
2956
 * @method $this withResourceOwnerId($value)
2957
 * @method string getClusterId()
2958
 * @method $this withClusterId($value)
2959
 * @method string getType()
2960
 * @method $this withType($value)
2961
 */
2962
class ListUsers extends V20160408Rpc
2963
{
2964
}
2965
2966
/**
2967
 * @method string getResourceOwnerId()
2968
 * @method $this withResourceOwnerId($value)
2969
 * @method string getClusterId()
2970
 * @method $this withClusterId($value)
2971
 * @method string getType()
2972
 * @method $this withType($value)
2973
 * @method string getUserId()
2974
 * @method $this withUserId($value)
2975
 */
2976
class DeleteUser extends V20160408Rpc
2977
{
2978
}
2979
2980
/**
2981
 * @method string getResourceOwnerId()
2982
 * @method $this withResourceOwnerId($value)
2983
 * @method string getId()
2984
 * @method $this withId($value)
2985
 */
2986
class MetastoreDeleteDataResource extends V20160408Rpc
2987
{
2988
}
2989
2990
/**
2991
 * @method string getResourceOwnerId()
2992
 * @method $this withResourceOwnerId($value)
2993
 * @method string getDefault()
2994
 * @method $this withDefault($value)
2995
 * @method string getAccessType()
2996
 * @method $this withAccessType($value)
2997
 * @method string getName()
2998
 * @method $this withName($value)
2999
 * @method string getDescription()
3000
 * @method $this withDescription($value)
3001
 * @method string getMetaType()
3002
 * @method $this withMetaType($value)
3003
 * @method string getClusterId()
3004
 * @method $this withClusterId($value)
3005
 */
3006
class MetastoreCreateDataResource extends V20160408Rpc
3007
{
3008
}
3009
3010
/**
3011
 * @method string getResourceOwnerId()
3012
 * @method $this withResourceOwnerId($value)
3013
 */
3014
class MetastoreListDataResources extends V20160408Rpc
3015
{
3016
}
3017
3018
/**
3019
 * @method string getResourceOwnerId()
3020
 * @method $this withResourceOwnerId($value)
3021
 * @method string getDefault()
3022
 * @method $this withDefault($value)
3023
 * @method string getName()
3024
 * @method $this withName($value)
3025
 * @method string getDescription()
3026
 * @method $this withDescription($value)
3027
 * @method string getId()
3028
 * @method $this withId($value)
3029
 * @method string getClusterId()
3030
 * @method $this withClusterId($value)
3031
 */
3032
class MetastoreModifyDataResource extends V20160408Rpc
3033
{
3034
}
3035
3036
/**
3037
 * @method string getName()
3038
 * @method $this withName($value)
3039
 * @method string getPageSize()
3040
 * @method $this withPageSize($value)
3041
 * @method string getId()
3042
 * @method $this withId($value)
3043
 * @method string getType()
3044
 * @method $this withType($value)
3045
 * @method string getAdhoc()
3046
 * @method $this withAdhoc($value)
3047
 * @method string getProjectId()
3048
 * @method $this withProjectId($value)
3049
 * @method string getPageNumber()
3050
 * @method $this withPageNumber($value)
3051
 */
3052
class ListFlowJob extends V20160408Rpc
3053
{
3054
}
3055
3056
/**
3057
 * @method string getClusterId()
3058
 * @method $this withClusterId($value)
3059
 * @method string getProjectId()
3060
 * @method $this withProjectId($value)
3061
 */
3062
class ListFlowClusterAllHosts extends V20160408Rpc
3063
{
3064
}
3065
3066
/**
3067
 * @method string getResourceOwnerId()
3068
 * @method $this withResourceOwnerId($value)
3069
 */
3070
class ListEmrAvailableConfig extends V20160408Rpc
3071
{
3072
}
3073
3074
/**
3075
 * @method string getResourceOwnerId()
3076
 * @method $this withResourceOwnerId($value)
3077
 * @method string getClusterId()
3078
 * @method $this withClusterId($value)
3079
 * @method string getDepositType()
3080
 * @method $this withDepositType($value)
3081
 * @method string getDestinationResource()
3082
 * @method $this withDestinationResource($value)
3083
 * @method string getClusterType()
3084
 * @method $this withClusterType($value)
3085
 * @method string getSpotStrategy()
3086
 * @method $this withSpotStrategy($value)
3087
 * @method string getSystemDiskType()
3088
 * @method $this withSystemDiskType($value)
3089
 * @method string getNetType()
3090
 * @method $this withNetType($value)
3091
 * @method string getZoneId()
3092
 * @method $this withZoneId($value)
3093
 * @method string getInstanceType()
3094
 * @method $this withInstanceType($value)
3095
 * @method string getDataDiskType()
3096
 * @method $this withDataDiskType($value)
3097
 * @method string getInstanceChargeType()
3098
 * @method $this withInstanceChargeType($value)
3099
 */
3100
class ListEmrAvailableResource extends V20160408Rpc
3101
{
3102
}
3103
3104
/**
3105
 * @method string getResourceOwnerId()
3106
 * @method $this withResourceOwnerId($value)
3107
 * @method string getUniqueTag()
3108
 * @method $this withUniqueTag($value)
3109
 * @method string getTemplateBizId()
3110
 * @method $this withTemplateBizId($value)
3111
 */
3112
class CreateClusterWithTemplate extends V20160408Rpc
3113
{
3114
}
3115
3116
/**
3117
 * @method string getOffset()
3118
 * @method $this withOffset($value)
3119
 * @method string getLength()
3120
 * @method $this withLength($value)
3121
 * @method string getSqlIndex()
3122
 * @method $this withSqlIndex($value)
3123
 * @method string getNodeInstanceId()
3124
 * @method $this withNodeInstanceId($value)
3125
 * @method string getProjectId()
3126
 * @method $this withProjectId($value)
3127
 */
3128
class ListFlowNodeSqlResult extends V20160408Rpc
3129
{
3130
}
3131
3132
class ListFlowClusterAll extends V20160408Rpc
3133
{
3134
}
3135
3136
/**
3137
 * @method string getFromDatetime()
3138
 * @method $this withFromDatetime($value)
3139
 * @method string getResourceOwnerId()
3140
 * @method $this withResourceOwnerId($value)
3141
 * @method string getClusterId()
3142
 * @method $this withClusterId($value)
3143
 * @method string getToDatetime()
3144
 * @method $this withToDatetime($value)
3145
 */
3146
class GetUserOutputStatisticInfo extends V20160408Rpc
3147
{
3148
}
3149
3150
/**
3151
 * @method string getFromDatetime()
3152
 * @method $this withFromDatetime($value)
3153
 * @method string getResourceOwnerId()
3154
 * @method $this withResourceOwnerId($value)
3155
 * @method string getClusterId()
3156
 * @method $this withClusterId($value)
3157
 * @method string getToDatetime()
3158
 * @method $this withToDatetime($value)
3159
 * @method string getApplicationType()
3160
 * @method $this withApplicationType($value)
3161
 * @method string getFinalStatus()
3162
 * @method $this withFinalStatus($value)
3163
 */
3164
class GetUserSubmissionStatisticInfo extends V20160408Rpc
3165
{
3166
}
3167
3168
/**
3169
 * @method string getFromDatetime()
3170
 * @method $this withFromDatetime($value)
3171
 * @method string getResourceOwnerId()
3172
 * @method $this withResourceOwnerId($value)
3173
 * @method string getClusterId()
3174
 * @method $this withClusterId($value)
3175
 * @method string getToDatetime()
3176
 * @method $this withToDatetime($value)
3177
 */
3178
class GetUserInputStatisticInfo extends V20160408Rpc
3179
{
3180
}
3181
3182
/**
3183
 * @method string getFromDatetime()
3184
 * @method $this withFromDatetime($value)
3185
 * @method string getResourceOwnerId()
3186
 * @method $this withResourceOwnerId($value)
3187
 * @method string getClusterId()
3188
 * @method $this withClusterId($value)
3189
 * @method string getToDatetime()
3190
 * @method $this withToDatetime($value)
3191
 */
3192
class GetQueueInputStatisticInfo extends V20160408Rpc
3193
{
3194
}
3195
3196
/**
3197
 * @method string getFromDatetime()
3198
 * @method $this withFromDatetime($value)
3199
 * @method string getResourceOwnerId()
3200
 * @method $this withResourceOwnerId($value)
3201
 * @method string getClusterId()
3202
 * @method $this withClusterId($value)
3203
 * @method string getToDatetime()
3204
 * @method $this withToDatetime($value)
3205
 */
3206
class GetQueueOutputStatisticInfo extends V20160408Rpc
3207
{
3208
}
3209
3210
/**
3211
 * @method string getFromDatetime()
3212
 * @method $this withFromDatetime($value)
3213
 * @method string getResourceOwnerId()
3214
 * @method $this withResourceOwnerId($value)
3215
 * @method string getClusterId()
3216
 * @method $this withClusterId($value)
3217
 * @method string getToDatetime()
3218
 * @method $this withToDatetime($value)
3219
 * @method string getApplicationType()
3220
 * @method $this withApplicationType($value)
3221
 * @method string getFinalStatus()
3222
 * @method $this withFinalStatus($value)
3223
 */
3224
class GetQueueSubmissionStatisticInfo extends V20160408Rpc
3225
{
3226
}
3227
3228
/**
3229
 * @method string getFromDatetime()
3230
 * @method $this withFromDatetime($value)
3231
 * @method string getResourceOwnerId()
3232
 * @method $this withResourceOwnerId($value)
3233
 * @method string getPageSize()
3234
 * @method $this withPageSize($value)
3235
 * @method string getClusterId()
3236
 * @method $this withClusterId($value)
3237
 * @method string getToDatetime()
3238
 * @method $this withToDatetime($value)
3239
 * @method string getPageNumber()
3240
 * @method $this withPageNumber($value)
3241
 */
3242
class GetJobRunningTimeStatisticInfo extends V20160408Rpc
3243
{
3244
}
3245
3246
/**
3247
 * @method string getFromDatetime()
3248
 * @method $this withFromDatetime($value)
3249
 * @method string getResourceOwnerId()
3250
 * @method $this withResourceOwnerId($value)
3251
 * @method string getClusterId()
3252
 * @method $this withClusterId($value)
3253
 * @method string getToDatetime()
3254
 * @method $this withToDatetime($value)
3255
 */
3256
class GetHdfsCapacityStatisticInfo extends V20160408Rpc
3257
{
3258
}
3259
3260
/**
3261
 * @method string getFromDatetime()
3262
 * @method $this withFromDatetime($value)
3263
 * @method string getResourceOwnerId()
3264
 * @method $this withResourceOwnerId($value)
3265
 * @method string getPageSize()
3266
 * @method $this withPageSize($value)
3267
 * @method string getClusterId()
3268
 * @method $this withClusterId($value)
3269
 * @method string getToDatetime()
3270
 * @method $this withToDatetime($value)
3271
 * @method string getPageNumber()
3272
 * @method $this withPageNumber($value)
3273
 */
3274
class GetJobInputStatisticInfo extends V20160408Rpc
3275
{
3276
}
3277
3278
/**
3279
 * @method string getFromDatetime()
3280
 * @method $this withFromDatetime($value)
3281
 * @method string getResourceOwnerId()
3282
 * @method $this withResourceOwnerId($value)
3283
 * @method string getPageSize()
3284
 * @method $this withPageSize($value)
3285
 * @method string getClusterId()
3286
 * @method $this withClusterId($value)
3287
 * @method string getToDatetime()
3288
 * @method $this withToDatetime($value)
3289
 * @method string getPageNumber()
3290
 * @method $this withPageNumber($value)
3291
 */
3292
class GetJobOutputStatisticInfo extends V20160408Rpc
3293
{
3294
}
3295
3296
/**
3297
 * @method string getJobInstanceId()
3298
 * @method $this withJobInstanceId($value)
3299
 * @method string getProjectId()
3300
 * @method $this withProjectId($value)
3301
 */
3302
class KillFlowJob extends V20160408Rpc
3303
{
3304
}
3305
3306
/**
3307
 * @method string getCronExpr()
3308
 * @method $this withCronExpr($value)
3309
 * @method string getParentFlowList()
3310
 * @method $this withParentFlowList($value)
3311
 * @method string getAlertDingDingGroupBizId()
3312
 * @method $this withAlertDingDingGroupBizId($value)
3313
 * @method string getPeriodic()
3314
 * @method $this withPeriodic($value)
3315
 * @method string getStartSchedule()
3316
 * @method $this withStartSchedule($value)
3317
 * @method string getDescription()
3318
 * @method $this withDescription($value)
3319
 * @method string getClusterId()
3320
 * @method $this withClusterId($value)
3321
 * @method string getAlertUserGroupBizId()
3322
 * @method $this withAlertUserGroupBizId($value)
3323
 * @method string getGraph()
3324
 * @method $this withGraph($value)
3325
 * @method string getHostName()
3326
 * @method $this withHostName($value)
3327
 * @method string getCreateCluster()
3328
 * @method $this withCreateCluster($value)
3329
 * @method string getName()
3330
 * @method $this withName($value)
3331
 * @method string getEndSchedule()
3332
 * @method $this withEndSchedule($value)
3333
 * @method string getId()
3334
 * @method $this withId($value)
3335
 * @method string getAlertConf()
3336
 * @method $this withAlertConf($value)
3337
 * @method string getProjectId()
3338
 * @method $this withProjectId($value)
3339
 * @method string getStatus()
3340
 * @method $this withStatus($value)
3341
 * @method string getParentCategory()
3342
 * @method $this withParentCategory($value)
3343
 */
3344
class ModifyFlowForWeb extends V20160408Rpc
3345
{
3346
}
3347
3348
/**
3349
 * @method string getCronExpr()
3350
 * @method $this withCronExpr($value)
3351
 * @method string getParentFlowList()
3352
 * @method $this withParentFlowList($value)
3353
 * @method string getAlertDingDingGroupBizId()
3354
 * @method $this withAlertDingDingGroupBizId($value)
3355
 * @method string getStartSchedule()
3356
 * @method $this withStartSchedule($value)
3357
 * @method string getDescription()
3358
 * @method $this withDescription($value)
3359
 * @method string getClusterId()
3360
 * @method $this withClusterId($value)
3361
 * @method string getAlertUserGroupBizId()
3362
 * @method $this withAlertUserGroupBizId($value)
3363
 * @method string getGraph()
3364
 * @method $this withGraph($value)
3365
 * @method string getHostName()
3366
 * @method $this withHostName($value)
3367
 * @method string getCreateCluster()
3368
 * @method $this withCreateCluster($value)
3369
 * @method string getName()
3370
 * @method $this withName($value)
3371
 * @method string getEndSchedule()
3372
 * @method $this withEndSchedule($value)
3373
 * @method string getAlertConf()
3374
 * @method $this withAlertConf($value)
3375
 * @method string getProjectId()
3376
 * @method $this withProjectId($value)
3377
 * @method string getParentCategory()
3378
 * @method $this withParentCategory($value)
3379
 */
3380
class CreateFlowForWeb extends V20160408Rpc
3381
{
3382
}
3383
3384
/**
3385
 * @method string getOffset()
3386
 * @method $this withOffset($value)
3387
 * @method string getStart()
3388
 * @method $this withStart($value)
3389
 * @method string getLength()
3390
 * @method $this withLength($value)
3391
 * @method string getEndTime()
3392
 * @method $this withEndTime($value)
3393
 * @method string getStartTime()
3394
 * @method $this withStartTime($value)
3395
 * @method string getLines()
3396
 * @method $this withLines($value)
3397
 * @method string getReverse()
3398
 * @method $this withReverse($value)
3399
 * @method string getNodeInstanceId()
3400
 * @method $this withNodeInstanceId($value)
3401
 * @method string getProjectId()
3402
 * @method $this withProjectId($value)
3403
 */
3404
class DescribeFlowNodeInstanceLauncherLog extends V20160408Rpc
3405
{
3406
}
3407
3408
/**
3409
 * @method string getPageSize()
3410
 * @method $this withPageSize($value)
3411
 * @method string getNodeInstanceId()
3412
 * @method $this withNodeInstanceId($value)
3413
 * @method string getProjectId()
3414
 * @method $this withProjectId($value)
3415
 * @method string getPageNumber()
3416
 * @method $this withPageNumber($value)
3417
 */
3418
class ListFlowNodeInstanceContainerStatus extends V20160408Rpc
3419
{
3420
}
3421
3422
/**
3423
 * @method string getOffset()
3424
 * @method $this withOffset($value)
3425
 * @method string getLogName()
3426
 * @method $this withLogName($value)
3427
 * @method string getAppId()
3428
 * @method $this withAppId($value)
3429
 * @method string getLength()
3430
 * @method $this withLength($value)
3431
 * @method string getContainerId()
3432
 * @method $this withContainerId($value)
3433
 * @method string getNodeInstanceId()
3434
 * @method $this withNodeInstanceId($value)
3435
 * @method string getProjectId()
3436
 * @method $this withProjectId($value)
3437
 */
3438
class DescribeFlowNodeInstanceContainerLog extends V20160408Rpc
3439
{
3440
}
3441
3442
/**
3443
 * @method string getFlowInstanceId()
3444
 * @method $this withFlowInstanceId($value)
3445
 * @method string getProjectId()
3446
 * @method $this withProjectId($value)
3447
 */
3448
class SuspendFlow extends V20160408Rpc
3449
{
3450
}
3451
3452
/**
3453
 * @method string getConf()
3454
 * @method $this withConf($value)
3455
 * @method string getProjectId()
3456
 * @method $this withProjectId($value)
3457
 * @method string getFlowId()
3458
 * @method $this withFlowId($value)
3459
 */
3460
class SubmitFlow extends V20160408Rpc
3461
{
3462
}
3463
3464
/**
3465
 * @method string getJobId()
3466
 * @method $this withJobId($value)
3467
 * @method string getHostName()
3468
 * @method $this withHostName($value)
3469
 * @method string getConf()
3470
 * @method $this withConf($value)
3471
 * @method string getClusterId()
3472
 * @method $this withClusterId($value)
3473
 * @method string getProjectId()
3474
 * @method $this withProjectId($value)
3475
 */
3476
class SubmitFlowJob extends V20160408Rpc
3477
{
3478
}
3479
3480
/**
3481
 * @method string getFlowInstanceId()
3482
 * @method $this withFlowInstanceId($value)
3483
 * @method string getProjectId()
3484
 * @method $this withProjectId($value)
3485
 */
3486
class ResumeFlow extends V20160408Rpc
3487
{
3488
}
3489
3490
/**
3491
 * @method string getFlowInstanceId()
3492
 * @method $this withFlowInstanceId($value)
3493
 * @method string getProjectId()
3494
 * @method $this withProjectId($value)
3495
 * @method string getReRunFail()
3496
 * @method $this withReRunFail($value)
3497
 */
3498
class RerunFlow extends V20160408Rpc
3499
{
3500
}
3501
3502
/**
3503
 * @method string getRunConf()
3504
 * @method $this withRunConf($value)
3505
 * @method string getEnvConf()
3506
 * @method $this withEnvConf($value)
3507
 * @method string getDescription()
3508
 * @method $this withDescription($value)
3509
 * @method string getClusterId()
3510
 * @method $this withClusterId($value)
3511
 * @method string getParams()
3512
 * @method $this withParams($value)
3513
 * @method string getParamConf()
3514
 * @method $this withParamConf($value)
3515
 * @method array getResourceList()
3516
 * @method string getFailAct()
3517
 * @method $this withFailAct($value)
3518
 * @method string getCustomVariables()
3519
 * @method $this withCustomVariables($value)
3520
 * @method string getMode()
3521
 * @method $this withMode($value)
3522
 * @method string getRetryInterval()
3523
 * @method $this withRetryInterval($value)
3524
 * @method string getMonitorConf()
3525
 * @method $this withMonitorConf($value)
3526
 * @method string getName()
3527
 * @method $this withName($value)
3528
 * @method string getId()
3529
 * @method $this withId($value)
3530
 * @method string getMaxRetry()
3531
 * @method $this withMaxRetry($value)
3532
 * @method string getAlertConf()
3533
 * @method $this withAlertConf($value)
3534
 * @method string getProjectId()
3535
 * @method $this withProjectId($value)
3536
 */
3537
class ModifyFlowJob extends V20160408Rpc
3538
{
3539
3540
    /**
3541
     * @param array $resourceList
3542
     *
3543
     * @return $this
3544
     */
3545
    public function withResourceList(array $resourceList)
3546
    {
3547
        $this->data['ResourceList'] = $resourceList;
3548
        foreach ($resourceList as $depth1 => $depth1Value) {
3549
            $this->options['query']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
3550
            $this->options['query']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
3551
        }
3552
3553
        return $this;
3554
    }
3555
}
3556
3557
/**
3558
 * @method string getName()
3559
 * @method $this withName($value)
3560
 * @method string getDescription()
3561
 * @method $this withDescription($value)
3562
 * @method string getProjectId()
3563
 * @method $this withProjectId($value)
3564
 */
3565
class ModifyFlowProject extends V20160408Rpc
3566
{
3567
}
3568
3569
/**
3570
 * @method array getUserList()
3571
 * @method array getQueueList()
3572
 * @method array getHostList()
3573
 * @method string getClusterId()
3574
 * @method $this withClusterId($value)
3575
 * @method string getDefaultQueue()
3576
 * @method $this withDefaultQueue($value)
3577
 * @method string getProjectId()
3578
 * @method $this withProjectId($value)
3579
 * @method string getDefaultUser()
3580
 * @method $this withDefaultUser($value)
3581
 */
3582
class ModifyFlowProjectClusterSetting extends V20160408Rpc
3583
{
3584
3585
    /**
3586
     * @param array $userList
3587
     *
3588
     * @return $this
3589
     */
3590
    public function withUserList(array $userList)
3591
    {
3592
        $this->data['UserList'] = $userList;
3593
        foreach ($userList as $i => $iValue) {
3594
            $this->options['query']['UserList.' . ($i + 1)] = $iValue;
3595
        }
3596
3597
        return $this;
3598
    }
3599
3600
    /**
3601
     * @param array $queueList
3602
     *
3603
     * @return $this
3604
     */
3605
    public function withQueueList(array $queueList)
3606
    {
3607
        $this->data['QueueList'] = $queueList;
3608
        foreach ($queueList as $i => $iValue) {
3609
            $this->options['query']['QueueList.' . ($i + 1)] = $iValue;
3610
        }
3611
3612
        return $this;
3613
    }
3614
3615
    /**
3616
     * @param array $hostList
3617
     *
3618
     * @return $this
3619
     */
3620
    public function withHostList(array $hostList)
3621
    {
3622
        $this->data['HostList'] = $hostList;
3623
        foreach ($hostList as $i => $iValue) {
3624
            $this->options['query']['HostList.' . ($i + 1)] = $iValue;
3625
        }
3626
3627
        return $this;
3628
    }
3629
}
3630
3631
/**
3632
 * @method string getCronExpr()
3633
 * @method $this withCronExpr($value)
3634
 * @method string getParentFlowList()
3635
 * @method $this withParentFlowList($value)
3636
 * @method string getAlertDingDingGroupBizId()
3637
 * @method $this withAlertDingDingGroupBizId($value)
3638
 * @method string getPeriodic()
3639
 * @method $this withPeriodic($value)
3640
 * @method string getStartSchedule()
3641
 * @method $this withStartSchedule($value)
3642
 * @method string getDescription()
3643
 * @method $this withDescription($value)
3644
 * @method string getClusterId()
3645
 * @method $this withClusterId($value)
3646
 * @method string getAlertUserGroupBizId()
3647
 * @method $this withAlertUserGroupBizId($value)
3648
 * @method string getHostName()
3649
 * @method $this withHostName($value)
3650
 * @method string getApplication()
3651
 * @method $this withApplication($value)
3652
 * @method string getCreateCluster()
3653
 * @method $this withCreateCluster($value)
3654
 * @method string getName()
3655
 * @method $this withName($value)
3656
 * @method string getEndSchedule()
3657
 * @method $this withEndSchedule($value)
3658
 * @method string getId()
3659
 * @method $this withId($value)
3660
 * @method string getAlertConf()
3661
 * @method $this withAlertConf($value)
3662
 * @method string getProjectId()
3663
 * @method $this withProjectId($value)
3664
 * @method string getStatus()
3665
 * @method $this withStatus($value)
3666
 * @method string getParentCategory()
3667
 * @method $this withParentCategory($value)
3668
 */
3669
class ModifyFlow extends V20160408Rpc
3670
{
3671
}
3672
3673
/**
3674
 * @method string getName()
3675
 * @method $this withName($value)
3676
 * @method string getId()
3677
 * @method $this withId($value)
3678
 * @method string getProjectId()
3679
 * @method $this withProjectId($value)
3680
 * @method string getParentId()
3681
 * @method $this withParentId($value)
3682
 */
3683
class ModifyFlowCategory extends V20160408Rpc
3684
{
3685
}
3686
3687
/**
3688
 * @method string getPageSize()
3689
 * @method $this withPageSize($value)
3690
 * @method string getProjectId()
3691
 * @method $this withProjectId($value)
3692
 * @method string getPageNumber()
3693
 * @method $this withPageNumber($value)
3694
 */
3695
class ListFlowProjectUser extends V20160408Rpc
3696
{
3697
}
3698
3699
/**
3700
 * @method string getName()
3701
 * @method $this withName($value)
3702
 * @method string getPageSize()
3703
 * @method $this withPageSize($value)
3704
 * @method string getProjectId()
3705
 * @method $this withProjectId($value)
3706
 * @method string getPageNumber()
3707
 * @method $this withPageNumber($value)
3708
 */
3709
class ListFlowProject extends V20160408Rpc
3710
{
3711
}
3712
3713
/**
3714
 * @method string getPageSize()
3715
 * @method $this withPageSize($value)
3716
 * @method string getProjectId()
3717
 * @method $this withProjectId($value)
3718
 * @method string getPageNumber()
3719
 * @method $this withPageNumber($value)
3720
 */
3721
class ListFlowProjectClusterSetting extends V20160408Rpc
3722
{
3723
}
3724
3725
/**
3726
 * @method string getClusterId()
3727
 * @method $this withClusterId($value)
3728
 * @method string getProjectId()
3729
 * @method $this withProjectId($value)
3730
 */
3731
class ListFlowClusterHost extends V20160408Rpc
3732
{
3733
}
3734
3735
/**
3736
 * @method string getOwner()
3737
 * @method $this withOwner($value)
3738
 * @method string getTimeRange()
3739
 * @method $this withTimeRange($value)
3740
 * @method array getStatusList()
3741
 * @method string getOrderBy()
3742
 * @method $this withOrderBy($value)
3743
 * @method string getPageNumber()
3744
 * @method $this withPageNumber($value)
3745
 * @method string getInstanceId()
3746
 * @method $this withInstanceId($value)
3747
 * @method string getPageSize()
3748
 * @method $this withPageSize($value)
3749
 * @method string getFlowName()
3750
 * @method $this withFlowName($value)
3751
 * @method string getId()
3752
 * @method $this withId($value)
3753
 * @method string getFlowId()
3754
 * @method $this withFlowId($value)
3755
 * @method string getProjectId()
3756
 * @method $this withProjectId($value)
3757
 * @method string getOrderType()
3758
 * @method $this withOrderType($value)
3759
 */
3760
class ListFlowInstance extends V20160408Rpc
3761
{
3762
3763
    /**
3764
     * @param array $statusList
3765
     *
3766
     * @return $this
3767
     */
3768
    public function withStatusList(array $statusList)
3769
    {
3770
        $this->data['StatusList'] = $statusList;
3771
        foreach ($statusList as $i => $iValue) {
3772
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3773
        }
3774
3775
        return $this;
3776
    }
3777
}
3778
3779
/**
3780
 * @method string getTimeRange()
3781
 * @method $this withTimeRange($value)
3782
 * @method array getStatusList()
3783
 * @method string getInstanceId()
3784
 * @method $this withInstanceId($value)
3785
 * @method string getPageSize()
3786
 * @method $this withPageSize($value)
3787
 * @method string getId()
3788
 * @method $this withId($value)
3789
 * @method string getProjectId()
3790
 * @method $this withProjectId($value)
3791
 * @method string getJobType()
3792
 * @method $this withJobType($value)
3793
 * @method string getPageNumber()
3794
 * @method $this withPageNumber($value)
3795
 */
3796
class ListFlowJobHistory extends V20160408Rpc
3797
{
3798
3799
    /**
3800
     * @param array $statusList
3801
     *
3802
     * @return $this
3803
     */
3804
    public function withStatusList(array $statusList)
3805
    {
3806
        $this->data['StatusList'] = $statusList;
3807
        foreach ($statusList as $i => $iValue) {
3808
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3809
        }
3810
3811
        return $this;
3812
    }
3813
}
3814
3815
/**
3816
 * @method string getRoot()
3817
 * @method $this withRoot($value)
3818
 * @method string getPageSize()
3819
 * @method $this withPageSize($value)
3820
 * @method string getProjectId()
3821
 * @method $this withProjectId($value)
3822
 * @method string getParentId()
3823
 * @method $this withParentId($value)
3824
 * @method string getPageNumber()
3825
 * @method $this withPageNumber($value)
3826
 */
3827
class ListFlowCategory extends V20160408Rpc
3828
{
3829
}
3830
3831
/**
3832
 * @method string getPageSize()
3833
 * @method $this withPageSize($value)
3834
 * @method string getProjectId()
3835
 * @method $this withProjectId($value)
3836
 * @method string getPageNumber()
3837
 * @method $this withPageNumber($value)
3838
 */
3839
class ListFlowCluster extends V20160408Rpc
3840
{
3841
}
3842
3843
/**
3844
 * @method string getFlowInstanceId()
3845
 * @method $this withFlowInstanceId($value)
3846
 * @method string getProjectId()
3847
 * @method $this withProjectId($value)
3848
 */
3849
class KillFlow extends V20160408Rpc
3850
{
3851
}
3852
3853
/**
3854
 * @method string getClusterId()
3855
 * @method $this withClusterId($value)
3856
 * @method string getProjectId()
3857
 * @method $this withProjectId($value)
3858
 */
3859
class DescribeFlowProjectClusterSetting extends V20160408Rpc
3860
{
3861
}
3862
3863
/**
3864
 * @method string getId()
3865
 * @method $this withId($value)
3866
 * @method string getProjectId()
3867
 * @method $this withProjectId($value)
3868
 */
3869
class DescribeFlowNodeInstance extends V20160408Rpc
3870
{
3871
}
3872
3873
/**
3874
 * @method string getProjectId()
3875
 * @method $this withProjectId($value)
3876
 */
3877
class DescribeFlowProject extends V20160408Rpc
3878
{
3879
}
3880
3881
/**
3882
 * @method string getType()
3883
 * @method $this withType($value)
3884
 * @method string getProjectId()
3885
 * @method $this withProjectId($value)
3886
 */
3887
class DescribeFlowCategoryTree extends V20160408Rpc
3888
{
3889
}
3890
3891
/**
3892
 * @method string getId()
3893
 * @method $this withId($value)
3894
 * @method string getProjectId()
3895
 * @method $this withProjectId($value)
3896
 */
3897
class DescribeFlowInstance extends V20160408Rpc
3898
{
3899
}
3900
3901
/**
3902
 * @method string getId()
3903
 * @method $this withId($value)
3904
 * @method string getProjectId()
3905
 * @method $this withProjectId($value)
3906
 */
3907
class DescribeFlowJob extends V20160408Rpc
3908
{
3909
}
3910
3911
/**
3912
 * @method string getId()
3913
 * @method $this withId($value)
3914
 * @method string getProjectId()
3915
 * @method $this withProjectId($value)
3916
 */
3917
class DescribeFlow extends V20160408Rpc
3918
{
3919
}
3920
3921
/**
3922
 * @method string getId()
3923
 * @method $this withId($value)
3924
 * @method string getProjectId()
3925
 * @method $this withProjectId($value)
3926
 */
3927
class DescribeFlowCategory extends V20160408Rpc
3928
{
3929
}
3930
3931
/**
3932
 * @method string getProjectId()
3933
 * @method $this withProjectId($value)
3934
 */
3935
class DeleteFlowProject extends V20160408Rpc
3936
{
3937
}
3938
3939
/**
3940
 * @method string getClusterId()
3941
 * @method $this withClusterId($value)
3942
 * @method string getProjectId()
3943
 * @method $this withProjectId($value)
3944
 */
3945
class DeleteFlowProjectClusterSetting extends V20160408Rpc
3946
{
3947
}
3948
3949
/**
3950
 * @method string getProjectId()
3951
 * @method $this withProjectId($value)
3952
 * @method string getUserName()
3953
 * @method $this withUserName($value)
3954
 */
3955
class DeleteFlowProjectUser extends V20160408Rpc
3956
{
3957
}
3958
3959
/**
3960
 * @method string getId()
3961
 * @method $this withId($value)
3962
 * @method string getProjectId()
3963
 * @method $this withProjectId($value)
3964
 */
3965
class DeleteFlow extends V20160408Rpc
3966
{
3967
}
3968
3969
/**
3970
 * @method string getId()
3971
 * @method $this withId($value)
3972
 * @method string getProjectId()
3973
 * @method $this withProjectId($value)
3974
 */
3975
class DeleteFlowCategory extends V20160408Rpc
3976
{
3977
}
3978
3979
/**
3980
 * @method string getId()
3981
 * @method $this withId($value)
3982
 * @method string getProjectId()
3983
 * @method $this withProjectId($value)
3984
 */
3985
class DeleteFlowJob extends V20160408Rpc
3986
{
3987
}
3988
3989
/**
3990
 * @method string getName()
3991
 * @method $this withName($value)
3992
 * @method string getDescription()
3993
 * @method $this withDescription($value)
3994
 */
3995
class CreateFlowProject extends V20160408Rpc
3996
{
3997
}
3998
3999
/**
4000
 * @method array getUserList()
4001
 * @method array getQueueList()
4002
 * @method array getHostList()
4003
 * @method string getClusterId()
4004
 * @method $this withClusterId($value)
4005
 * @method string getDefaultQueue()
4006
 * @method $this withDefaultQueue($value)
4007
 * @method string getProjectId()
4008
 * @method $this withProjectId($value)
4009
 * @method string getDefaultUser()
4010
 * @method $this withDefaultUser($value)
4011
 */
4012
class CreateFlowProjectClusterSetting extends V20160408Rpc
4013
{
4014
4015
    /**
4016
     * @param array $userList
4017
     *
4018
     * @return $this
4019
     */
4020
    public function withUserList(array $userList)
4021
    {
4022
        $this->data['UserList'] = $userList;
4023
        foreach ($userList as $i => $iValue) {
4024
            $this->options['query']['UserList.' . ($i + 1)] = $iValue;
4025
        }
4026
4027
        return $this;
4028
    }
4029
4030
    /**
4031
     * @param array $queueList
4032
     *
4033
     * @return $this
4034
     */
4035
    public function withQueueList(array $queueList)
4036
    {
4037
        $this->data['QueueList'] = $queueList;
4038
        foreach ($queueList as $i => $iValue) {
4039
            $this->options['query']['QueueList.' . ($i + 1)] = $iValue;
4040
        }
4041
4042
        return $this;
4043
    }
4044
4045
    /**
4046
     * @param array $hostList
4047
     *
4048
     * @return $this
4049
     */
4050
    public function withHostList(array $hostList)
4051
    {
4052
        $this->data['HostList'] = $hostList;
4053
        foreach ($hostList as $i => $iValue) {
4054
            $this->options['query']['HostList.' . ($i + 1)] = $iValue;
4055
        }
4056
4057
        return $this;
4058
    }
4059
}
4060
4061
/**
4062
 * @method string getProjectId()
4063
 * @method $this withProjectId($value)
4064
 * @method array getUser()
4065
 */
4066
class CreateFlowProjectUser extends V20160408Rpc
4067
{
4068
4069
    /**
4070
     * @param array $user
4071
     *
4072
     * @return $this
4073
     */
4074
    public function withUser(array $user)
4075
    {
4076
        $this->data['User'] = $user;
4077
        foreach ($user as $depth1 => $depth1Value) {
4078
            $this->options['query']['User.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
4079
            $this->options['query']['User.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
4080
        }
4081
4082
        return $this;
4083
    }
4084
}
4085
4086
/**
4087
 * @method string getCronExpr()
4088
 * @method $this withCronExpr($value)
4089
 * @method string getParentFlowList()
4090
 * @method $this withParentFlowList($value)
4091
 * @method string getAlertDingDingGroupBizId()
4092
 * @method $this withAlertDingDingGroupBizId($value)
4093
 * @method string getStartSchedule()
4094
 * @method $this withStartSchedule($value)
4095
 * @method string getDescription()
4096
 * @method $this withDescription($value)
4097
 * @method string getClusterId()
4098
 * @method $this withClusterId($value)
4099
 * @method string getAlertUserGroupBizId()
4100
 * @method $this withAlertUserGroupBizId($value)
4101
 * @method string getHostName()
4102
 * @method $this withHostName($value)
4103
 * @method string getApplication()
4104
 * @method $this withApplication($value)
4105
 * @method string getCreateCluster()
4106
 * @method $this withCreateCluster($value)
4107
 * @method string getName()
4108
 * @method $this withName($value)
4109
 * @method string getEndSchedule()
4110
 * @method $this withEndSchedule($value)
4111
 * @method string getAlertConf()
4112
 * @method $this withAlertConf($value)
4113
 * @method string getProjectId()
4114
 * @method $this withProjectId($value)
4115
 * @method string getParentCategory()
4116
 * @method $this withParentCategory($value)
4117
 */
4118
class CreateFlow extends V20160408Rpc
4119
{
4120
}
4121
4122
/**
4123
 * @method string getName()
4124
 * @method $this withName($value)
4125
 * @method string getType()
4126
 * @method $this withType($value)
4127
 * @method string getProjectId()
4128
 * @method $this withProjectId($value)
4129
 * @method string getParentId()
4130
 * @method $this withParentId($value)
4131
 */
4132
class CreateFlowCategory extends V20160408Rpc
4133
{
4134
}
4135
4136
/**
4137
 * @method string getRunConf()
4138
 * @method $this withRunConf($value)
4139
 * @method string getEnvConf()
4140
 * @method $this withEnvConf($value)
4141
 * @method string getDescription()
4142
 * @method $this withDescription($value)
4143
 * @method string getClusterId()
4144
 * @method $this withClusterId($value)
4145
 * @method string getType()
4146
 * @method $this withType($value)
4147
 * @method string getParams()
4148
 * @method $this withParams($value)
4149
 * @method string getParamConf()
4150
 * @method $this withParamConf($value)
4151
 * @method array getResourceList()
4152
 * @method string getFailAct()
4153
 * @method $this withFailAct($value)
4154
 * @method string getMode()
4155
 * @method $this withMode($value)
4156
 * @method string getRetryInterval()
4157
 * @method $this withRetryInterval($value)
4158
 * @method string getMonitorConf()
4159
 * @method $this withMonitorConf($value)
4160
 * @method string getName()
4161
 * @method $this withName($value)
4162
 * @method string getMaxRetry()
4163
 * @method $this withMaxRetry($value)
4164
 * @method string getAdhoc()
4165
 * @method $this withAdhoc($value)
4166
 * @method string getAlertConf()
4167
 * @method $this withAlertConf($value)
4168
 * @method string getProjectId()
4169
 * @method $this withProjectId($value)
4170
 * @method string getParentCategory()
4171
 * @method $this withParentCategory($value)
4172
 */
4173
class CreateFlowJob extends V20160408Rpc
4174
{
4175
4176
    /**
4177
     * @param array $resourceList
4178
     *
4179
     * @return $this
4180
     */
4181
    public function withResourceList(array $resourceList)
4182
    {
4183
        $this->data['ResourceList'] = $resourceList;
4184
        foreach ($resourceList as $depth1 => $depth1Value) {
4185
            $this->options['query']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4186
            $this->options['query']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
4187
        }
4188
4189
        return $this;
4190
    }
4191
}
4192
4193
/**
4194
 * @method string getResourceOwnerId()
4195
 * @method $this withResourceOwnerId($value)
4196
 * @method string getClusterId()
4197
 * @method $this withClusterId($value)
4198
 */
4199
class DescribeAvailableInstanceType extends V20160408Rpc
4200
{
4201
}
4202
4203
/**
4204
 * @method string getResourceOwnerId()
4205
 * @method $this withResourceOwnerId($value)
4206
 * @method string getOpsCommandName()
4207
 * @method $this withOpsCommandName($value)
4208
 */
4209
class GetOpsCommandDetail extends V20160408Rpc
4210
{
4211
4212
    /** @var string */
4213
    public $method = 'GET';
4214
}
4215
4216
/**
4217
 * @method string getResourceOwnerId()
4218
 * @method $this withResourceOwnerId($value)
4219
 * @method string getOperationId()
4220
 * @method $this withOperationId($value)
4221
 * @method string getPageNumber()
4222
 * @method $this withPageNumber($value)
4223
 */
4224
class ListOpsOperationTask1 extends V20160408Rpc
4225
{
4226
4227
    /** @var string */
4228
    public $method = 'GET';
4229
}
4230
4231
/**
4232
 * @method string getResourceOwnerId()
4233
 * @method $this withResourceOwnerId($value)
4234
 * @method string getOperationId()
4235
 * @method $this withOperationId($value)
4236
 * @method string getPageNumber()
4237
 * @method $this withPageNumber($value)
4238
 */
4239
class ListOpsOperationTask extends V20160408Rpc
4240
{
4241
4242
    /** @var string */
4243
    public $method = 'GET';
4244
}
4245
4246
/**
4247
 * @method string getResourceOwnerId()
4248
 * @method $this withResourceOwnerId($value)
4249
 * @method string getClusterId()
4250
 * @method $this withClusterId($value)
4251
 * @method string getTaskId()
4252
 * @method $this withTaskId($value)
4253
 */
4254
class GetOpsCommandResultOnce extends V20160408Rpc
4255
{
4256
}
4257
4258
/**
4259
 * @method string getResourceOwnerId()
4260
 * @method $this withResourceOwnerId($value)
4261
 * @method string getEndCursor()
4262
 * @method $this withEndCursor($value)
4263
 * @method string getStartCursor()
4264
 * @method $this withStartCursor($value)
4265
 * @method string getClusterId()
4266
 * @method $this withClusterId($value)
4267
 * @method string getTaskId()
4268
 * @method $this withTaskId($value)
4269
 */
4270
class GetOpsCommandResult extends V20160408Rpc
4271
{
4272
4273
    /** @var string */
4274
    public $method = 'GET';
4275
}
4276
4277
/**
4278
 * @method string getResourceOwnerId()
4279
 * @method $this withResourceOwnerId($value)
4280
 * @method string getOpsCommandName()
4281
 * @method $this withOpsCommandName($value)
4282
 * @method string getComment()
4283
 * @method $this withComment($value)
4284
 * @method string getCustomParams()
4285
 * @method $this withCustomParams($value)
4286
 * @method string getClusterId()
4287
 * @method $this withClusterId($value)
4288
 * @method array getHostIdList()
4289
 * @method string getDimension()
4290
 * @method $this withDimension($value)
4291
 */
4292
class RunOpsCommand extends V20160408Rpc
4293
{
4294
4295
    /** @var string */
4296
    public $method = 'GET';
4297
4298
    /**
4299
     * @param array $hostIdList
4300
     *
4301
     * @return $this
4302
     */
4303
    public function withHostIdList(array $hostIdList)
4304
    {
4305
        $this->data['HostIdList'] = $hostIdList;
4306
        foreach ($hostIdList as $i => $iValue) {
4307
            $this->options['query']['HostIdList.' . ($i + 1)] = $iValue;
4308
        }
4309
4310
        return $this;
4311
    }
4312
}
4313
4314
/**
4315
 * @method string getResourceOwnerId()
4316
 * @method $this withResourceOwnerId($value)
4317
 */
4318
class GetSupportedOpsCommand extends V20160408Rpc
4319
{
4320
}
4321
4322
/**
4323
 * @method string getResourceOwnerId()
4324
 * @method $this withResourceOwnerId($value)
4325
 * @method string getClusterId()
4326
 * @method $this withClusterId($value)
4327
 * @method string getPageNumber()
4328
 * @method $this withPageNumber($value)
4329
 */
4330
class ListOpsOperation extends V20160408Rpc
4331
{
4332
4333
    /** @var string */
4334
    public $method = 'GET';
4335
}
4336
4337
/**
4338
 * @method string getResourceOwnerId()
4339
 * @method $this withResourceOwnerId($value)
4340
 * @method string getLogstoreName()
4341
 * @method $this withLogstoreName($value)
4342
 * @method string getFromTimestamp()
4343
 * @method $this withFromTimestamp($value)
4344
 * @method string getOffset()
4345
 * @method $this withOffset($value)
4346
 * @method string getLine()
4347
 * @method $this withLine($value)
4348
 * @method string getClusterId()
4349
 * @method $this withClusterId($value)
4350
 * @method string getReverse()
4351
 * @method $this withReverse($value)
4352
 * @method string getHostInnerIp()
4353
 * @method $this withHostInnerIp($value)
4354
 * @method string getHostName()
4355
 * @method $this withHostName($value)
4356
 * @method string getToTimestamp()
4357
 * @method $this withToTimestamp($value)
4358
 * @method string getSlsQueryString()
4359
 * @method $this withSlsQueryString($value)
4360
 */
4361
class SearchLog extends V20160408Rpc
4362
{
4363
}
4364
4365
/**
4366
 * @method string getResourceOwnerId()
4367
 * @method $this withResourceOwnerId($value)
4368
 * @method string getHostName()
4369
 * @method $this withHostName($value)
4370
 * @method string getMaxKeys()
4371
 * @method $this withMaxKeys($value)
4372
 * @method string getLogstoreName()
4373
 * @method $this withLogstoreName($value)
4374
 * @method string getMarker()
4375
 * @method $this withMarker($value)
4376
 * @method string getClusterId()
4377
 * @method $this withClusterId($value)
4378
 */
4379
class ListServiceLog extends V20160408Rpc
4380
{
4381
}
4382
4383
/**
4384
 * @method string getResourceOwnerId()
4385
 * @method $this withResourceOwnerId($value)
4386
 * @method string getComponentName()
4387
 * @method $this withComponentName($value)
4388
 * @method string getServiceName()
4389
 * @method $this withServiceName($value)
4390
 * @method string getClusterId()
4391
 * @method $this withClusterId($value)
4392
 */
4393
class ListSlsLogstoreInfo extends V20160408Rpc
4394
{
4395
}
4396
4397
/**
4398
 * @method string getResourceOwnerId()
4399
 * @method $this withResourceOwnerId($value)
4400
 * @method string getHostName()
4401
 * @method $this withHostName($value)
4402
 * @method string getLogstoreName()
4403
 * @method $this withLogstoreName($value)
4404
 * @method string getClusterId()
4405
 * @method $this withClusterId($value)
4406
 * @method string getLogFileName()
4407
 * @method $this withLogFileName($value)
4408
 */
4409
class GetLogDownloadUrl extends V20160408Rpc
4410
{
4411
}
4412
4413
/**
4414
 * @method string getResourceOwnerId()
4415
 * @method $this withResourceOwnerId($value)
4416
 * @method string getClusterId()
4417
 * @method $this withClusterId($value)
4418
 */
4419
class ListClusterFullServiceQuickLink extends V20160408Rpc
4420
{
4421
}
4422
4423
/**
4424
 * @method string getResourceOwnerId()
4425
 * @method $this withResourceOwnerId($value)
4426
 * @method string getRelateId()
4427
 * @method $this withRelateId($value)
4428
 * @method string getParamBizType()
4429
 * @method $this withParamBizType($value)
4430
 */
4431
class ListJobExecutionPlanParams extends V20160408Rpc
4432
{
4433
}
4434
4435
/**
4436
 * @method string getResourceOwnerId()
4437
 * @method $this withResourceOwnerId($value)
4438
 * @method string getName()
4439
 * @method $this withName($value)
4440
 * @method string getActive()
4441
 * @method $this withActive($value)
4442
 * @method string getId()
4443
 * @method $this withId($value)
4444
 * @method string getClusterId()
4445
 * @method $this withClusterId($value)
4446
 * @method string getYarnsiteconfig()
4447
 * @method $this withYarnsiteconfig($value)
4448
 * @method array getConfig()
4449
 */
4450
class ModifyResourcePool extends V20160408Rpc
4451
{
4452
4453
    /**
4454
     * @param array $config
4455
     *
4456
     * @return $this
4457
     */
4458
    public function withConfig(array $config)
4459
    {
4460
        $this->data['Config'] = $config;
4461
        foreach ($config as $depth1 => $depth1Value) {
4462
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4463
            $this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
4464
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4465
            $this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4466
            $this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
4467
        }
4468
4469
        return $this;
4470
    }
4471
}
4472
4473
/**
4474
 * @method string getResourceOwnerId()
4475
 * @method $this withResourceOwnerId($value)
4476
 * @method string getParentQueueId()
4477
 * @method $this withParentQueueId($value)
4478
 * @method string getName()
4479
 * @method $this withName($value)
4480
 * @method string getQualifiedName()
4481
 * @method $this withQualifiedName($value)
4482
 * @method string getResourcePoolId()
4483
 * @method $this withResourcePoolId($value)
4484
 * @method string getId()
4485
 * @method $this withId($value)
4486
 * @method string getClusterId()
4487
 * @method $this withClusterId($value)
4488
 * @method string getLeaf()
4489
 * @method $this withLeaf($value)
4490
 * @method array getConfig()
4491
 */
4492
class ModifyResourceQueue extends V20160408Rpc
4493
{
4494
4495
    /**
4496
     * @param array $config
4497
     *
4498
     * @return $this
4499
     */
4500
    public function withConfig(array $config)
4501
    {
4502
        $this->data['Config'] = $config;
4503
        foreach ($config as $depth1 => $depth1Value) {
4504
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4505
            $this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
4506
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4507
            $this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4508
            $this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
4509
        }
4510
4511
        return $this;
4512
    }
4513
}
4514
4515
/**
4516
 * @method string getResourceOwnerId()
4517
 * @method $this withResourceOwnerId($value)
4518
 * @method string getName()
4519
 * @method $this withName($value)
4520
 * @method string getId()
4521
 * @method $this withId($value)
4522
 * @method string getParentId()
4523
 * @method $this withParentId($value)
4524
 */
4525
class ModifyJobExecutionPlanFolder extends V20160408Rpc
4526
{
4527
}
4528
4529
/**
4530
 * @method string getResourceOwnerId()
4531
 * @method $this withResourceOwnerId($value)
4532
 * @method string getParamName()
4533
 * @method $this withParamName($value)
4534
 * @method string getParamValue()
4535
 * @method $this withParamValue($value)
4536
 * @method string getId()
4537
 * @method $this withId($value)
4538
 */
4539
class ModifyJobExecutionPlanParam extends V20160408Rpc
4540
{
4541
}
4542
4543
/**
4544
 * @method string getResourceOwnerId()
4545
 * @method $this withResourceOwnerId($value)
4546
 * @method string getLogPath()
4547
 * @method $this withLogPath($value)
4548
 * @method string getMasterPwd()
4549
 * @method $this withMasterPwd($value)
4550
 * @method string getConfigurations()
4551
 * @method $this withConfigurations($value)
4552
 * @method string getIoOptimized()
4553
 * @method $this withIoOptimized($value)
4554
 * @method string getSecurityGroupId()
4555
 * @method $this withSecurityGroupId($value)
4556
 * @method string getSshEnable()
4557
 * @method $this withSshEnable($value)
4558
 * @method string getEasEnable()
4559
 * @method $this withEasEnable($value)
4560
 * @method string getSecurityGroupName()
4561
 * @method $this withSecurityGroupName($value)
4562
 * @method string getDepositType()
4563
 * @method $this withDepositType($value)
4564
 * @method string getMachineType()
4565
 * @method $this withMachineType($value)
4566
 * @method array getBootstrapAction()
4567
 * @method string getUseLocalMetaDb()
4568
 * @method $this withUseLocalMetaDb($value)
4569
 * @method string getEmrVer()
4570
 * @method $this withEmrVer($value)
4571
 * @method string getTemplateName()
4572
 * @method $this withTemplateName($value)
4573
 * @method string getUserDefinedEmrEcsRole()
4574
 * @method $this withUserDefinedEmrEcsRole($value)
4575
 * @method string getIsOpenPublicIp()
4576
 * @method $this withIsOpenPublicIp($value)
4577
 * @method string getPeriod()
4578
 * @method $this withPeriod($value)
4579
 * @method string getInstanceGeneration()
4580
 * @method $this withInstanceGeneration($value)
4581
 * @method string getVSwitchId()
4582
 * @method $this withVSwitchId($value)
4583
 * @method string getClusterType()
4584
 * @method $this withClusterType($value)
4585
 * @method string getAutoRenew()
4586
 * @method $this withAutoRenew($value)
4587
 * @method array getOptionSoftWareList()
4588
 * @method string getVpcId()
4589
 * @method $this withVpcId($value)
4590
 * @method string getNetType()
4591
 * @method $this withNetType($value)
4592
 * @method string getBizId()
4593
 * @method $this withBizId($value)
4594
 * @method array getHostGroup()
4595
 * @method string getZoneId()
4596
 * @method $this withZoneId($value)
4597
 * @method string getChargeType()
4598
 * @method $this withChargeType($value)
4599
 * @method string getUseCustomHiveMetaDb()
4600
 * @method $this withUseCustomHiveMetaDb($value)
4601
 * @method array getConfig()
4602
 * @method string getHighAvailabilityEnable()
4603
 * @method $this withHighAvailabilityEnable($value)
4604
 * @method string getInitCustomHiveMetaDb()
4605
 * @method $this withInitCustomHiveMetaDb($value)
4606
 */
4607
class ModifyClusterTemplate extends V20160408Rpc
4608
{
4609
4610
    /**
4611
     * @param array $bootstrapAction
4612
     *
4613
     * @return $this
4614
     */
4615
    public function withBootstrapAction(array $bootstrapAction)
4616
    {
4617
        $this->data['BootstrapAction'] = $bootstrapAction;
4618
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
4619
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4620
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4621
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4622
        }
4623
4624
        return $this;
4625
    }
4626
4627
    /**
4628
     * @param array $optionSoftWareList
4629
     *
4630
     * @return $this
4631
     */
4632
    public function withOptionSoftWareList(array $optionSoftWareList)
4633
    {
4634
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
4635
        foreach ($optionSoftWareList as $i => $iValue) {
4636
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4637
        }
4638
4639
        return $this;
4640
    }
4641
4642
    /**
4643
     * @param array $hostGroup
4644
     *
4645
     * @return $this
4646
     */
4647
    public function withHostGroup(array $hostGroup)
4648
    {
4649
        $this->data['HostGroup'] = $hostGroup;
4650
        foreach ($hostGroup as $depth1 => $depth1Value) {
4651
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
4652
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
4653
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4654
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
4655
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
4656
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
4657
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
4658
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
4659
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4660
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
4661
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
4662
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4663
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
4664
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
4665
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
4666
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
4667
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
4668
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
4669
        }
4670
4671
        return $this;
4672
    }
4673
4674
    /**
4675
     * @param array $config
4676
     *
4677
     * @return $this
4678
     */
4679
    public function withConfig(array $config)
4680
    {
4681
        $this->data['Config'] = $config;
4682
        foreach ($config as $depth1 => $depth1Value) {
4683
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4684
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
4685
            $this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
4686
            $this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
4687
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4688
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
4689
        }
4690
4691
        return $this;
4692
    }
4693
}
4694
4695
/**
4696
 * @method string getResourceOwnerId()
4697
 * @method $this withResourceOwnerId($value)
4698
 * @method string getCurrentId()
4699
 * @method $this withCurrentId($value)
4700
 * @method string getPageSize()
4701
 * @method $this withPageSize($value)
4702
 * @method string getPageNumber()
4703
 * @method $this withPageNumber($value)
4704
 */
4705
class ListJobExecutionPlanHierarchy extends V20160408Rpc
4706
{
4707
}
4708
4709
/**
4710
 * @method string getResourceOwnerId()
4711
 * @method $this withResourceOwnerId($value)
4712
 * @method string getResourcePoolId()
4713
 * @method $this withResourcePoolId($value)
4714
 * @method string getClusterId()
4715
 * @method $this withClusterId($value)
4716
 */
4717
class RefreshClusterResourcePool extends V20160408Rpc
4718
{
4719
}
4720
4721
/**
4722
 * @method string getResourceOwnerId()
4723
 * @method $this withResourceOwnerId($value)
4724
 * @method string getBizId()
4725
 * @method $this withBizId($value)
4726
 * @method string getPageSize()
4727
 * @method $this withPageSize($value)
4728
 * @method string getPageNumber()
4729
 * @method $this withPageNumber($value)
4730
 */
4731
class ListClusterTemplates extends V20160408Rpc
4732
{
4733
}
4734
4735
/**
4736
 * @method string getResourceOwnerId()
4737
 * @method $this withResourceOwnerId($value)
4738
 * @method string getBizId()
4739
 * @method $this withBizId($value)
4740
 */
4741
class DescribeClusterTemplate extends V20160408Rpc
4742
{
4743
}
4744
4745
/**
4746
 * @method string getResourceOwnerId()
4747
 * @method $this withResourceOwnerId($value)
4748
 * @method string getBizId()
4749
 * @method $this withBizId($value)
4750
 */
4751
class DeleteClusterTemplate extends V20160408Rpc
4752
{
4753
}
4754
4755
/**
4756
 * @method string getResourceOwnerId()
4757
 * @method $this withResourceOwnerId($value)
4758
 * @method string getLogPath()
4759
 * @method $this withLogPath($value)
4760
 * @method string getMasterPwd()
4761
 * @method $this withMasterPwd($value)
4762
 * @method string getConfigurations()
4763
 * @method $this withConfigurations($value)
4764
 * @method string getIoOptimized()
4765
 * @method $this withIoOptimized($value)
4766
 * @method string getSecurityGroupId()
4767
 * @method $this withSecurityGroupId($value)
4768
 * @method string getSshEnable()
4769
 * @method $this withSshEnable($value)
4770
 * @method string getEasEnable()
4771
 * @method $this withEasEnable($value)
4772
 * @method string getSecurityGroupName()
4773
 * @method $this withSecurityGroupName($value)
4774
 * @method string getDepositType()
4775
 * @method $this withDepositType($value)
4776
 * @method string getMachineType()
4777
 * @method $this withMachineType($value)
4778
 * @method array getBootstrapAction()
4779
 * @method string getUseLocalMetaDb()
4780
 * @method $this withUseLocalMetaDb($value)
4781
 * @method string getEmrVer()
4782
 * @method $this withEmrVer($value)
4783
 * @method string getTemplateName()
4784
 * @method $this withTemplateName($value)
4785
 * @method string getUserDefinedEmrEcsRole()
4786
 * @method $this withUserDefinedEmrEcsRole($value)
4787
 * @method string getIsOpenPublicIp()
4788
 * @method $this withIsOpenPublicIp($value)
4789
 * @method string getPeriod()
4790
 * @method $this withPeriod($value)
4791
 * @method string getInstanceGeneration()
4792
 * @method $this withInstanceGeneration($value)
4793
 * @method string getVSwitchId()
4794
 * @method $this withVSwitchId($value)
4795
 * @method string getClusterType()
4796
 * @method $this withClusterType($value)
4797
 * @method string getAutoRenew()
4798
 * @method $this withAutoRenew($value)
4799
 * @method array getOptionSoftWareList()
4800
 * @method string getVpcId()
4801
 * @method $this withVpcId($value)
4802
 * @method string getNetType()
4803
 * @method $this withNetType($value)
4804
 * @method array getHostGroup()
4805
 * @method string getZoneId()
4806
 * @method $this withZoneId($value)
4807
 * @method string getUseCustomHiveMetaDb()
4808
 * @method $this withUseCustomHiveMetaDb($value)
4809
 * @method array getConfig()
4810
 * @method string getHighAvailabilityEnable()
4811
 * @method $this withHighAvailabilityEnable($value)
4812
 * @method string getInitCustomHiveMetaDb()
4813
 * @method $this withInitCustomHiveMetaDb($value)
4814
 */
4815
class CreateClusterTemplate extends V20160408Rpc
4816
{
4817
4818
    /**
4819
     * @param array $bootstrapAction
4820
     *
4821
     * @return $this
4822
     */
4823
    public function withBootstrapAction(array $bootstrapAction)
4824
    {
4825
        $this->data['BootstrapAction'] = $bootstrapAction;
4826
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
4827
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4828
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4829
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4830
        }
4831
4832
        return $this;
4833
    }
4834
4835
    /**
4836
     * @param array $optionSoftWareList
4837
     *
4838
     * @return $this
4839
     */
4840
    public function withOptionSoftWareList(array $optionSoftWareList)
4841
    {
4842
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
4843
        foreach ($optionSoftWareList as $i => $iValue) {
4844
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4845
        }
4846
4847
        return $this;
4848
    }
4849
4850
    /**
4851
     * @param array $hostGroup
4852
     *
4853
     * @return $this
4854
     */
4855
    public function withHostGroup(array $hostGroup)
4856
    {
4857
        $this->data['HostGroup'] = $hostGroup;
4858
        foreach ($hostGroup as $depth1 => $depth1Value) {
4859
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
4860
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
4861
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4862
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
4863
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
4864
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
4865
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
4866
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
4867
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4868
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
4869
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
4870
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4871
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
4872
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
4873
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
4874
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
4875
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
4876
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
4877
        }
4878
4879
        return $this;
4880
    }
4881
4882
    /**
4883
     * @param array $config
4884
     *
4885
     * @return $this
4886
     */
4887
    public function withConfig(array $config)
4888
    {
4889
        $this->data['Config'] = $config;
4890
        foreach ($config as $depth1 => $depth1Value) {
4891
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4892
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
4893
            $this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
4894
            $this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
4895
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4896
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
4897
        }
4898
4899
        return $this;
4900
    }
4901
}
4902
4903
/**
4904
 * @method string getResourceOwnerId()
4905
 * @method $this withResourceOwnerId($value)
4906
 * @method string getId()
4907
 * @method $this withId($value)
4908
 */
4909
class SuspendExecutionPlanInstance extends V20160408Rpc
4910
{
4911
}
4912
4913
/**
4914
 * @method string getResourceOwnerId()
4915
 * @method $this withResourceOwnerId($value)
4916
 * @method string getId()
4917
 * @method $this withId($value)
4918
 */
4919
class ResumeExecutionPlanInstance extends V20160408Rpc
4920
{
4921
}
4922
4923
/**
4924
 * @method string getResourceOwnerId()
4925
 * @method $this withResourceOwnerId($value)
4926
 * @method string getArguments()
4927
 * @method $this withArguments($value)
4928
 * @method string getId()
4929
 * @method $this withId($value)
4930
 * @method string getRerunFail()
4931
 * @method $this withRerunFail($value)
4932
 */
4933
class RetryExecutionPlanInstance extends V20160408Rpc
4934
{
4935
}
4936
4937
/**
4938
 * @method string getResourceOwnerId()
4939
 * @method $this withResourceOwnerId($value)
4940
 * @method string getParentQueueId()
4941
 * @method $this withParentQueueId($value)
4942
 * @method string getName()
4943
 * @method $this withName($value)
4944
 * @method string getQualifiedName()
4945
 * @method $this withQualifiedName($value)
4946
 * @method string getResourcePoolId()
4947
 * @method $this withResourcePoolId($value)
4948
 * @method string getClusterId()
4949
 * @method $this withClusterId($value)
4950
 * @method string getLeaf()
4951
 * @method $this withLeaf($value)
4952
 * @method array getConfig()
4953
 */
4954
class CreateResourceQueue extends V20160408Rpc
4955
{
4956
4957
    /**
4958
     * @param array $config
4959
     *
4960
     * @return $this
4961
     */
4962
    public function withConfig(array $config)
4963
    {
4964
        $this->data['Config'] = $config;
4965
        foreach ($config as $depth1 => $depth1Value) {
4966
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4967
            $this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
4968
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4969
            $this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
4970
        }
4971
4972
        return $this;
4973
    }
4974
}
4975
4976
/**
4977
 * @method string getResourceOwnerId()
4978
 * @method $this withResourceOwnerId($value)
4979
 * @method string getResourceQueueId()
4980
 * @method $this withResourceQueueId($value)
4981
 * @method string getClusterId()
4982
 * @method $this withClusterId($value)
4983
 */
4984
class DeleteResourceQueue extends V20160408Rpc
4985
{
4986
}
4987
4988
/**
4989
 * @method string getResourceOwnerId()
4990
 * @method $this withResourceOwnerId($value)
4991
 * @method string getClusterId()
4992
 * @method $this withClusterId($value)
4993
 */
4994
class DescribeClusterResourcePoolSchedulerType extends V20160408Rpc
4995
{
4996
}
4997
4998
/**
4999
 * @method string getNote()
5000
 * @method $this withNote($value)
5001
 * @method string getResourceOwnerId()
5002
 * @method $this withResourceOwnerId($value)
5003
 * @method string getName()
5004
 * @method $this withName($value)
5005
 * @method string getActive()
5006
 * @method $this withActive($value)
5007
 * @method string getClusterId()
5008
 * @method $this withClusterId($value)
5009
 * @method string getYarnSiteConfig()
5010
 * @method $this withYarnSiteConfig($value)
5011
 * @method array getConfig()
5012
 * @method string getPoolType()
5013
 * @method $this withPoolType($value)
5014
 */
5015
class CreateResourcePool extends V20160408Rpc
5016
{
5017
5018
    /**
5019
     * @param array $config
5020
     *
5021
     * @return $this
5022
     */
5023
    public function withConfig(array $config)
5024
    {
5025
        $this->data['Config'] = $config;
5026
        foreach ($config as $depth1 => $depth1Value) {
5027
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5028
            $this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
5029
            $this->options['query']['Config.' . ($depth1 + 1) . '.configType'] = $depth1Value['ConfigType'];
5030
            $this->options['query']['Config.' . ($depth1 + 1) . '.TargetId'] = $depth1Value['TargetId'];
5031
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5032
            $this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
5033
        }
5034
5035
        return $this;
5036
    }
5037
}
5038
5039
/**
5040
 * @method string getResourceOwnerId()
5041
 * @method $this withResourceOwnerId($value)
5042
 * @method string getResourcePoolId()
5043
 * @method $this withResourcePoolId($value)
5044
 * @method string getClusterId()
5045
 * @method $this withClusterId($value)
5046
 */
5047
class DeleteResourcePool extends V20160408Rpc
5048
{
5049
}
5050
5051
/**
5052
 * @method string getResourceOwnerId()
5053
 * @method $this withResourceOwnerId($value)
5054
 * @method string getPageSize()
5055
 * @method $this withPageSize($value)
5056
 * @method string getClusterId()
5057
 * @method $this withClusterId($value)
5058
 * @method string getPageNumber()
5059
 * @method $this withPageNumber($value)
5060
 * @method string getPoolType()
5061
 * @method $this withPoolType($value)
5062
 */
5063
class ListResourcePool extends V20160408Rpc
5064
{
5065
}
5066
5067
/**
5068
 * @method string getResourceOwnerId()
5069
 * @method $this withResourceOwnerId($value)
5070
 * @method string getSchedulerType()
5071
 * @method $this withSchedulerType($value)
5072
 * @method string getClusterId()
5073
 * @method $this withClusterId($value)
5074
 */
5075
class ModifyResourcePoolSchedulerType extends V20160408Rpc
5076
{
5077
}
5078
5079
/**
5080
 * @method string getResourceOwnerId()
5081
 * @method $this withResourceOwnerId($value)
5082
 * @method array getStatusList()
5083
 * @method string getHostGroupId()
5084
 * @method $this withHostGroupId($value)
5085
 * @method string getPageSize()
5086
 * @method $this withPageSize($value)
5087
 * @method string getClusterId()
5088
 * @method $this withClusterId($value)
5089
 * @method string getHostGroupName()
5090
 * @method $this withHostGroupName($value)
5091
 * @method string getHostGroupType()
5092
 * @method $this withHostGroupType($value)
5093
 * @method string getPageNumber()
5094
 * @method $this withPageNumber($value)
5095
 */
5096
class ListClusterHostGroup extends V20160408Rpc
5097
{
5098
5099
    /**
5100
     * @param array $statusList
5101
     *
5102
     * @return $this
5103
     */
5104
    public function withStatusList(array $statusList)
5105
    {
5106
        $this->data['StatusList'] = $statusList;
5107
        foreach ($statusList as $i => $iValue) {
5108
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
5109
        }
5110
5111
        return $this;
5112
    }
5113
}
5114
5115
/**
5116
 * @method string getResourceOwnerId()
5117
 * @method $this withResourceOwnerId($value)
5118
 * @method string getConfigTag()
5119
 * @method $this withConfigTag($value)
5120
 * @method string getServiceName()
5121
 * @method $this withServiceName($value)
5122
 * @method string getClusterId()
5123
 * @method $this withClusterId($value)
5124
 */
5125
class DescribeClusterServiceConfigTag extends V20160408Rpc
5126
{
5127
}
5128
5129
/**
5130
 * @method string getCursor()
5131
 * @method $this withCursor($value)
5132
 * @method string getResourceOwnerId()
5133
 * @method $this withResourceOwnerId($value)
5134
 * @method string getSize()
5135
 * @method $this withSize($value)
5136
 * @method string getClusterId()
5137
 * @method $this withClusterId($value)
5138
 * @method string getStartTimeStamp()
5139
 * @method $this withStartTimeStamp($value)
5140
 * @method string getEndTimeStamp()
5141
 * @method $this withEndTimeStamp($value)
5142
 */
5143
class QueryAlarmHistory extends V20160408Rpc
5144
{
5145
}
5146
5147
/**
5148
 * @method string getResourceOwnerId()
5149
 * @method $this withResourceOwnerId($value)
5150
 * @method string getClusterId()
5151
 * @method $this withClusterId($value)
5152
 */
5153
class QueryAlarmRules extends V20160408Rpc
5154
{
5155
}
5156
5157
/**
5158
 * @method string getResourceOwnerId()
5159
 * @method $this withResourceOwnerId($value)
5160
 * @method string getServiceName()
5161
 * @method $this withServiceName($value)
5162
 * @method string getClusterId()
5163
 * @method $this withClusterId($value)
5164
 */
5165
class ListClusterServiceQuickLink extends V20160408Rpc
5166
{
5167
}
5168
5169
/**
5170
 * @method string getResourceOwnerId()
5171
 * @method $this withResourceOwnerId($value)
5172
 * @method string getPageSize()
5173
 * @method $this withPageSize($value)
5174
 * @method string getServiceName()
5175
 * @method $this withServiceName($value)
5176
 * @method string getClusterId()
5177
 * @method $this withClusterId($value)
5178
 * @method string getPageNumber()
5179
 * @method $this withPageNumber($value)
5180
 * @method string getConfigVersion()
5181
 * @method $this withConfigVersion($value)
5182
 */
5183
class ListClusterServiceConfigHistory extends V20160408Rpc
5184
{
5185
}
5186
5187
/**
5188
 * @method string getResourceOwnerId()
5189
 * @method $this withResourceOwnerId($value)
5190
 * @method string getHostGroupId()
5191
 * @method $this withHostGroupId($value)
5192
 * @method string getInstanceIdList()
5193
 * @method $this withInstanceIdList($value)
5194
 * @method string getClusterId()
5195
 * @method $this withClusterId($value)
5196
 */
5197
class ReleaseClusterHostGroup extends V20160408Rpc
5198
{
5199
}
5200
5201
/**
5202
 * @method string getResourceOwnerId()
5203
 * @method $this withResourceOwnerId($value)
5204
 * @method string getId()
5205
 * @method $this withId($value)
5206
 */
5207
class DescribeClusterV2 extends V20160408Rpc
5208
{
5209
}
5210
5211
/**
5212
 * @method string getVswitchId()
5213
 * @method $this withVswitchId($value)
5214
 * @method string getIsOpenPublicIp()
5215
 * @method $this withIsOpenPublicIp($value)
5216
 * @method string getAutoPayOrder()
5217
 * @method $this withAutoPayOrder($value)
5218
 * @method array getHostComponentInfo()
5219
 * @method array getHostGroup()
5220
 * @method string getClusterId()
5221
 * @method $this withClusterId($value)
5222
 */
5223
class ResizeClusterV2 extends V20160408Rpc
5224
{
5225
5226
    /**
5227
     * @param array $hostComponentInfo
5228
     *
5229
     * @return $this
5230
     */
5231
    public function withHostComponentInfo(array $hostComponentInfo)
5232
    {
5233
        $this->data['HostComponentInfo'] = $hostComponentInfo;
5234
        foreach ($hostComponentInfo as $depth1 => $depth1Value) {
5235
            $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
5236
            foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
5237
                $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
5238
            }
5239
            $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5240
        }
5241
5242
        return $this;
5243
    }
5244
5245
    /**
5246
     * @param array $hostGroup
5247
     *
5248
     * @return $this
5249
     */
5250
    public function withHostGroup(array $hostGroup)
5251
    {
5252
        $this->data['HostGroup'] = $hostGroup;
5253
        foreach ($hostGroup as $depth1 => $depth1Value) {
5254
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5255
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
5256
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostKeyPairName'] = $depth1Value['HostKeyPairName'];
5257
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
5258
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
5259
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
5260
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
5261
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
5262
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId'];
5263
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
5264
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
5265
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
5266
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
5267
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
5268
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
5269
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
5270
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
5271
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostPassword'] = $depth1Value['HostPassword'];
5272
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
5273
        }
5274
5275
        return $this;
5276
    }
5277
}
5278
5279
/**
5280
 * @method string getAutoPayOrder()
5281
 * @method $this withAutoPayOrder($value)
5282
 * @method string getResourceOwnerId()
5283
 * @method $this withResourceOwnerId($value)
5284
 * @method string getLogPath()
5285
 * @method $this withLogPath($value)
5286
 * @method string getMasterPwd()
5287
 * @method $this withMasterPwd($value)
5288
 * @method string getConfigurations()
5289
 * @method $this withConfigurations($value)
5290
 * @method string getIoOptimized()
5291
 * @method $this withIoOptimized($value)
5292
 * @method string getSecurityGroupId()
5293
 * @method $this withSecurityGroupId($value)
5294
 * @method string getSshEnable()
5295
 * @method $this withSshEnable($value)
5296
 * @method string getEasEnable()
5297
 * @method $this withEasEnable($value)
5298
 * @method string getKeyPairName()
5299
 * @method $this withKeyPairName($value)
5300
 * @method string getSecurityGroupName()
5301
 * @method $this withSecurityGroupName($value)
5302
 * @method string getDepositType()
5303
 * @method $this withDepositType($value)
5304
 * @method string getMachineType()
5305
 * @method $this withMachineType($value)
5306
 * @method array getHostComponentInfo()
5307
 * @method array getBootstrapAction()
5308
 * @method string getUseLocalMetaDb()
5309
 * @method $this withUseLocalMetaDb($value)
5310
 * @method string getEmrVer()
5311
 * @method $this withEmrVer($value)
5312
 * @method array getUserInfo()
5313
 * @method string getUserDefinedEmrEcsRole()
5314
 * @method $this withUserDefinedEmrEcsRole($value)
5315
 * @method string getAuthorizeContent()
5316
 * @method $this withAuthorizeContent($value)
5317
 * @method string getIsOpenPublicIp()
5318
 * @method $this withIsOpenPublicIp($value)
5319
 * @method string getPeriod()
5320
 * @method $this withPeriod($value)
5321
 * @method string getWhiteListType()
5322
 * @method $this withWhiteListType($value)
5323
 * @method string getRelatedClusterId()
5324
 * @method $this withRelatedClusterId($value)
5325
 * @method string getInstanceGeneration()
5326
 * @method $this withInstanceGeneration($value)
5327
 * @method string getVSwitchId()
5328
 * @method $this withVSwitchId($value)
5329
 * @method string getClusterType()
5330
 * @method $this withClusterType($value)
5331
 * @method string getAutoRenew()
5332
 * @method $this withAutoRenew($value)
5333
 * @method array getOptionSoftWareList()
5334
 * @method string getVpcId()
5335
 * @method $this withVpcId($value)
5336
 * @method string getNetType()
5337
 * @method $this withNetType($value)
5338
 * @method string getName()
5339
 * @method $this withName($value)
5340
 * @method array getHostGroup()
5341
 * @method string getZoneId()
5342
 * @method $this withZoneId($value)
5343
 * @method string getChargeType()
5344
 * @method $this withChargeType($value)
5345
 * @method string getUseCustomHiveMetaDB()
5346
 * @method $this withUseCustomHiveMetaDB($value)
5347
 * @method array getConfig()
5348
 * @method string getHighAvailabilityEnable()
5349
 * @method $this withHighAvailabilityEnable($value)
5350
 * @method string getInitCustomHiveMetaDB()
5351
 * @method $this withInitCustomHiveMetaDB($value)
5352
 */
5353
class CreateClusterV2 extends V20160408Rpc
5354
{
5355
5356
    /**
5357
     * @param array $hostComponentInfo
5358
     *
5359
     * @return $this
5360
     */
5361
    public function withHostComponentInfo(array $hostComponentInfo)
5362
    {
5363
        $this->data['HostComponentInfo'] = $hostComponentInfo;
5364
        foreach ($hostComponentInfo as $depth1 => $depth1Value) {
5365
            $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
5366
            foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
5367
                $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
5368
            }
5369
            $this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5370
        }
5371
5372
        return $this;
5373
    }
5374
5375
    /**
5376
     * @param array $bootstrapAction
5377
     *
5378
     * @return $this
5379
     */
5380
    public function withBootstrapAction(array $bootstrapAction)
5381
    {
5382
        $this->data['BootstrapAction'] = $bootstrapAction;
5383
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
5384
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
5385
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
5386
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
5387
        }
5388
5389
        return $this;
5390
    }
5391
5392
    /**
5393
     * @param array $userInfo
5394
     *
5395
     * @return $this
5396
     */
5397
    public function withUserInfo(array $userInfo)
5398
    {
5399
        $this->data['UserInfo'] = $userInfo;
5400
        foreach ($userInfo as $depth1 => $depth1Value) {
5401
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
5402
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
5403
            $this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
5404
        }
5405
5406
        return $this;
5407
    }
5408
5409
    /**
5410
     * @param array $optionSoftWareList
5411
     *
5412
     * @return $this
5413
     */
5414
    public function withOptionSoftWareList(array $optionSoftWareList)
5415
    {
5416
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
5417
        foreach ($optionSoftWareList as $i => $iValue) {
5418
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
5419
        }
5420
5421
        return $this;
5422
    }
5423
5424
    /**
5425
     * @param array $hostGroup
5426
     *
5427
     * @return $this
5428
     */
5429
    public function withHostGroup(array $hostGroup)
5430
    {
5431
        $this->data['HostGroup'] = $hostGroup;
5432
        foreach ($hostGroup as $depth1 => $depth1Value) {
5433
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5434
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
5435
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
5436
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
5437
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
5438
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
5439
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
5440
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
5441
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
5442
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
5443
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.GpuDriver'] = $depth1Value['GpuDriver'];
5444
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
5445
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
5446
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
5447
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
5448
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
5449
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
5450
            $this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
5451
        }
5452
5453
        return $this;
5454
    }
5455
5456
    /**
5457
     * @param array $config
5458
     *
5459
     * @return $this
5460
     */
5461
    public function withConfig(array $config)
5462
    {
5463
        $this->data['Config'] = $config;
5464
        foreach ($config as $depth1 => $depth1Value) {
5465
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5466
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
5467
            $this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
5468
            $this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
5469
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5470
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5471
        }
5472
5473
        return $this;
5474
    }
5475
}
5476
5477
/**
5478
 * @method string getResourceOwnerId()
5479
 * @method $this withResourceOwnerId($value)
5480
 * @method string getEndTime()
5481
 * @method $this withEndTime($value)
5482
 * @method string getId()
5483
 * @method $this withId($value)
5484
 * @method string getStartTime()
5485
 * @method $this withStartTime($value)
5486
 */
5487
class DescribeClusterOpLog extends V20160408Rpc
5488
{
5489
}
5490
5491
/**
5492
 * @method string getResourceOwnerId()
5493
 * @method $this withResourceOwnerId($value)
5494
 * @method string getOperationId()
5495
 * @method $this withOperationId($value)
5496
 * @method string getClusterId()
5497
 * @method $this withClusterId($value)
5498
 */
5499
class TerminateClusterOperation extends V20160408Rpc
5500
{
5501
}
5502
5503
/**
5504
 * @method string getResourceOwnerId()
5505
 * @method $this withResourceOwnerId($value)
5506
 * @method string getServiceName()
5507
 * @method $this withServiceName($value)
5508
 * @method string getClusterId()
5509
 * @method $this withClusterId($value)
5510
 */
5511
class ListDependedService extends V20160408Rpc
5512
{
5513
}
5514
5515
/**
5516
 * @method string getResourceOwnerId()
5517
 * @method $this withResourceOwnerId($value)
5518
 * @method string getClusterId()
5519
 * @method $this withClusterId($value)
5520
 */
5521
class DescribeClusterBasicInfo extends V20160408Rpc
5522
{
5523
}
5524
5525
/**
5526
 * @method string getResourceOwnerId()
5527
 * @method $this withResourceOwnerId($value)
5528
 * @method string getHostName()
5529
 * @method $this withHostName($value)
5530
 * @method string getHostInstanceId()
5531
 * @method $this withHostInstanceId($value)
5532
 * @method string getPageSize()
5533
 * @method $this withPageSize($value)
5534
 * @method string getComponentName()
5535
 * @method $this withComponentName($value)
5536
 * @method string getServiceName()
5537
 * @method $this withServiceName($value)
5538
 * @method string getClusterId()
5539
 * @method $this withClusterId($value)
5540
 * @method string getHostRole()
5541
 * @method $this withHostRole($value)
5542
 * @method string getPageNumber()
5543
 * @method $this withPageNumber($value)
5544
 * @method string getComponentStatus()
5545
 * @method $this withComponentStatus($value)
5546
 */
5547
class ListClusterHostComponent extends V20160408Rpc
5548
{
5549
}
5550
5551
/**
5552
 * @method string getResourceOwnerId()
5553
 * @method $this withResourceOwnerId($value)
5554
 * @method string getHostInstanceId()
5555
 * @method $this withHostInstanceId($value)
5556
 * @method array getStatusList()
5557
 * @method string getPrivateIp()
5558
 * @method $this withPrivateIp($value)
5559
 * @method string getComponentName()
5560
 * @method $this withComponentName($value)
5561
 * @method string getPublicIp()
5562
 * @method $this withPublicIp($value)
5563
 * @method string getClusterId()
5564
 * @method $this withClusterId($value)
5565
 * @method string getPageNumber()
5566
 * @method $this withPageNumber($value)
5567
 * @method string getHostName()
5568
 * @method $this withHostName($value)
5569
 * @method string getGroupType()
5570
 * @method $this withGroupType($value)
5571
 * @method string getHostGroupId()
5572
 * @method $this withHostGroupId($value)
5573
 * @method string getPageSize()
5574
 * @method $this withPageSize($value)
5575
 */
5576
class ListClusterHost extends V20160408Rpc
5577
{
5578
5579
    /**
5580
     * @param array $statusList
5581
     *
5582
     * @return $this
5583
     */
5584
    public function withStatusList(array $statusList)
5585
    {
5586
        $this->data['StatusList'] = $statusList;
5587
        foreach ($statusList as $i => $iValue) {
5588
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
5589
        }
5590
5591
        return $this;
5592
    }
5593
}
5594
5595
/**
5596
 * @method string getResourceOwnerId()
5597
 * @method $this withResourceOwnerId($value)
5598
 * @method string getServiceName()
5599
 * @method $this withServiceName($value)
5600
 * @method string getClusterId()
5601
 * @method $this withClusterId($value)
5602
 * @method string getConfigVersion()
5603
 * @method $this withConfigVersion($value)
5604
 */
5605
class DescribeClusterServiceConfigHistory extends V20160408Rpc
5606
{
5607
}
5608
5609
/**
5610
 * @method string getResourceOwnerId()
5611
 * @method $this withResourceOwnerId($value)
5612
 * @method string getEmrVersion()
5613
 * @method $this withEmrVersion($value)
5614
 * @method string getServiceNameList()
5615
 * @method $this withServiceNameList($value)
5616
 */
5617
class ListRequiredService extends V20160408Rpc
5618
{
5619
}
5620
5621
/**
5622
 * @method string getResourceOwnerId()
5623
 * @method $this withResourceOwnerId($value)
5624
 * @method string getServiceName()
5625
 * @method $this withServiceName($value)
5626
 * @method string getClusterId()
5627
 * @method $this withClusterId($value)
5628
 */
5629
class DescribeClusterService extends V20160408Rpc
5630
{
5631
}
5632
5633
/**
5634
 * @method string getExecuteStrategy()
5635
 * @method $this withExecuteStrategy($value)
5636
 * @method array getHostGroupIdList()
5637
 * @method string getResourceOwnerId()
5638
 * @method $this withResourceOwnerId($value)
5639
 * @method string getOnlyRestartStaleConfigNodes()
5640
 * @method $this withOnlyRestartStaleConfigNodes($value)
5641
 * @method string getNodeCountPerBatch()
5642
 * @method $this withNodeCountPerBatch($value)
5643
 * @method string getClusterId()
5644
 * @method $this withClusterId($value)
5645
 * @method string getCustomCommand()
5646
 * @method $this withCustomCommand($value)
5647
 * @method string getComponentNameList()
5648
 * @method $this withComponentNameList($value)
5649
 * @method string getServiceActionName()
5650
 * @method $this withServiceActionName($value)
5651
 * @method string getIsRolling()
5652
 * @method $this withIsRolling($value)
5653
 * @method string getTotlerateFailCount()
5654
 * @method $this withTotlerateFailCount($value)
5655
 * @method string getServiceName()
5656
 * @method $this withServiceName($value)
5657
 * @method string getComment()
5658
 * @method $this withComment($value)
5659
 * @method string getCustomParams()
5660
 * @method $this withCustomParams($value)
5661
 * @method string getInterval()
5662
 * @method $this withInterval($value)
5663
 * @method string getHostIdList()
5664
 * @method $this withHostIdList($value)
5665
 * @method string getTurnOnMaintenanceMode()
5666
 * @method $this withTurnOnMaintenanceMode($value)
5667
 */
5668
class RunClusterServiceAction extends V20160408Rpc
5669
{
5670
5671
    /**
5672
     * @param array $hostGroupIdList
5673
     *
5674
     * @return $this
5675
     */
5676
    public function withHostGroupIdList(array $hostGroupIdList)
5677
    {
5678
        $this->data['HostGroupIdList'] = $hostGroupIdList;
5679
        foreach ($hostGroupIdList as $i => $iValue) {
5680
            $this->options['query']['HostGroupIdList.' . ($i + 1)] = $iValue;
5681
        }
5682
5683
        return $this;
5684
    }
5685
}
5686
5687
/**
5688
 * @method string getRefreshHostConfig()
5689
 * @method $this withRefreshHostConfig($value)
5690
 * @method string getResourceOwnerId()
5691
 * @method $this withResourceOwnerId($value)
5692
 * @method string getConfigType()
5693
 * @method $this withConfigType($value)
5694
 * @method string getHostInstanceId()
5695
 * @method $this withHostInstanceId($value)
5696
 * @method string getGroupId()
5697
 * @method $this withGroupId($value)
5698
 * @method string getClusterId()
5699
 * @method $this withClusterId($value)
5700
 * @method string getCustomConfigParams()
5701
 * @method $this withCustomConfigParams($value)
5702
 * @method string getServiceName()
5703
 * @method $this withServiceName($value)
5704
 * @method string getComment()
5705
 * @method $this withComment($value)
5706
 * @method array getGatewayClusterIdList()
5707
 * @method string getConfigParams()
5708
 * @method $this withConfigParams($value)
5709
 */
5710
class ModifyClusterServiceConfig extends V20160408Rpc
5711
{
5712
5713
    /**
5714
     * @param array $gatewayClusterIdList
5715
     *
5716
     * @return $this
5717
     */
5718
    public function withGatewayClusterIdList(array $gatewayClusterIdList)
5719
    {
5720
        $this->data['GatewayClusterIdList'] = $gatewayClusterIdList;
5721
        foreach ($gatewayClusterIdList as $i => $iValue) {
5722
            $this->options['query']['GatewayClusterIdList.' . ($i + 1)] = $iValue;
5723
        }
5724
5725
        return $this;
5726
    }
5727
}
5728
5729
/**
5730
 * @method string getResourceOwnerId()
5731
 * @method $this withResourceOwnerId($value)
5732
 * @method string getPageSize()
5733
 * @method $this withPageSize($value)
5734
 * @method string getClusterId()
5735
 * @method $this withClusterId($value)
5736
 * @method string getPageNumber()
5737
 * @method $this withPageNumber($value)
5738
 */
5739
class ListClusterService extends V20160408Rpc
5740
{
5741
}
5742
5743
/**
5744
 * @method string getResourceOwnerId()
5745
 * @method $this withResourceOwnerId($value)
5746
 * @method string getPageSize()
5747
 * @method $this withPageSize($value)
5748
 * @method string getServiceName()
5749
 * @method $this withServiceName($value)
5750
 * @method string getClusterId()
5751
 * @method $this withClusterId($value)
5752
 * @method string getPageNumber()
5753
 * @method $this withPageNumber($value)
5754
 * @method string getStatus()
5755
 * @method $this withStatus($value)
5756
 */
5757
class ListClusterOperation extends V20160408Rpc
5758
{
5759
}
5760
5761
/**
5762
 * @method string getResourceOwnerId()
5763
 * @method $this withResourceOwnerId($value)
5764
 * @method string getPageSize()
5765
 * @method $this withPageSize($value)
5766
 * @method string getOperationId()
5767
 * @method $this withOperationId($value)
5768
 * @method string getClusterId()
5769
 * @method $this withClusterId($value)
5770
 * @method string getPageNumber()
5771
 * @method $this withPageNumber($value)
5772
 * @method string getStatus()
5773
 * @method $this withStatus($value)
5774
 */
5775
class ListClusterOperationHost extends V20160408Rpc
5776
{
5777
}
5778
5779
/**
5780
 * @method string getResourceOwnerId()
5781
 * @method $this withResourceOwnerId($value)
5782
 * @method string getPageSize()
5783
 * @method $this withPageSize($value)
5784
 * @method string getOperationId()
5785
 * @method $this withOperationId($value)
5786
 * @method string getHostId()
5787
 * @method $this withHostId($value)
5788
 * @method string getClusterId()
5789
 * @method $this withClusterId($value)
5790
 * @method string getPageNumber()
5791
 * @method $this withPageNumber($value)
5792
 * @method string getStatus()
5793
 * @method $this withStatus($value)
5794
 */
5795
class ListClusterOperationHostTask extends V20160408Rpc
5796
{
5797
}
5798
5799
/**
5800
 * @method string getResourceOwnerId()
5801
 * @method $this withResourceOwnerId($value)
5802
 * @method string getHostInstanceId()
5803
 * @method $this withHostInstanceId($value)
5804
 * @method string getTagValue()
5805
 * @method $this withTagValue($value)
5806
 * @method string getGroupId()
5807
 * @method $this withGroupId($value)
5808
 * @method string getServiceName()
5809
 * @method $this withServiceName($value)
5810
 * @method string getClusterId()
5811
 * @method $this withClusterId($value)
5812
 * @method string getConfigVersion()
5813
 * @method $this withConfigVersion($value)
5814
 */
5815
class DescribeClusterServiceConfig extends V20160408Rpc
5816
{
5817
}
5818
5819
/**
5820
 * @method string getResourceOwnerId()
5821
 * @method $this withResourceOwnerId($value)
5822
 * @method string getOperationId()
5823
 * @method $this withOperationId($value)
5824
 * @method string getHostId()
5825
 * @method $this withHostId($value)
5826
 * @method string getClusterId()
5827
 * @method $this withClusterId($value)
5828
 * @method string getTaskId()
5829
 * @method $this withTaskId($value)
5830
 * @method string getStatus()
5831
 * @method $this withStatus($value)
5832
 */
5833
class DescribeClusterOperationHostTaskLog extends V20160408Rpc
5834
{
5835
}
5836
5837
/**
5838
 * @method string getResourceOwnerId()
5839
 * @method $this withResourceOwnerId($value)
5840
 * @method array getService()
5841
 * @method string getComment()
5842
 * @method $this withComment($value)
5843
 * @method string getClusterId()
5844
 * @method $this withClusterId($value)
5845
 */
5846
class AddClusterService extends V20160408Rpc
5847
{
5848
5849
    /**
5850
     * @param array $service
5851
     *
5852
     * @return $this
5853
     */
5854
    public function withService(array $service)
5855
    {
5856
        $this->data['Service'] = $service;
5857
        foreach ($service as $depth1 => $depth1Value) {
5858
            $this->options['query']['Service.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5859
        }
5860
5861
        return $this;
5862
    }
5863
}
5864
5865
/**
5866
 * @method string getResourceOwnerId()
5867
 * @method $this withResourceOwnerId($value)
5868
 * @method string getClusterId()
5869
 * @method $this withClusterId($value)
5870
 */
5871
class CancelOrder extends V20160408Rpc
5872
{
5873
}
5874
5875
/**
5876
 * @method string getResourceOwnerId()
5877
 * @method $this withResourceOwnerId($value)
5878
 * @method string getDbName()
5879
 * @method $this withDbName($value)
5880
 * @method string getTableName()
5881
 * @method $this withTableName($value)
5882
 */
5883
class MetastoreSearchTables extends V20160408Rpc
5884
{
5885
}
5886
5887
/**
5888
 * @method string getResourceOwnerId()
5889
 * @method $this withResourceOwnerId($value)
5890
 * @method string getDbName()
5891
 * @method $this withDbName($value)
5892
 * @method string getTableName()
5893
 * @method $this withTableName($value)
5894
 */
5895
class MetastoreDataPreview extends V20160408Rpc
5896
{
5897
}
5898
5899
/**
5900
 * @method string getResourceOwnerId()
5901
 * @method $this withResourceOwnerId($value)
5902
 * @method string getNoteId()
5903
 * @method $this withNoteId($value)
5904
 */
5905
class RunNoteParagraphs extends V20160408Rpc
5906
{
5907
}
5908
5909
/**
5910
 * @method string getResourceOwnerId()
5911
 * @method $this withResourceOwnerId($value)
5912
 * @method string getNoteId()
5913
 * @method $this withNoteId($value)
5914
 * @method string getId()
5915
 * @method $this withId($value)
5916
 */
5917
class StopParagraph extends V20160408Rpc
5918
{
5919
}
5920
5921
/**
5922
 * @method string getResourceOwnerId()
5923
 * @method $this withResourceOwnerId($value)
5924
 * @method string getNoteId()
5925
 * @method $this withNoteId($value)
5926
 * @method string getId()
5927
 * @method $this withId($value)
5928
 * @method string getText()
5929
 * @method $this withText($value)
5930
 */
5931
class RunParagraph extends V20160408Rpc
5932
{
5933
}
5934
5935
/**
5936
 * @method string getResourceOwnerId()
5937
 * @method $this withResourceOwnerId($value)
5938
 * @method string getNoteId()
5939
 * @method $this withNoteId($value)
5940
 * @method string getId()
5941
 * @method $this withId($value)
5942
 */
5943
class DescribeParagraph extends V20160408Rpc
5944
{
5945
}
5946
5947
/**
5948
 * @method string getResourceOwnerId()
5949
 * @method $this withResourceOwnerId($value)
5950
 * @method string getId()
5951
 * @method $this withId($value)
5952
 */
5953
class DeleteNote extends V20160408Rpc
5954
{
5955
}
5956
5957
/**
5958
 * @method string getResourceOwnerId()
5959
 * @method $this withResourceOwnerId($value)
5960
 * @method string getNoteId()
5961
 * @method $this withNoteId($value)
5962
 * @method string getId()
5963
 * @method $this withId($value)
5964
 */
5965
class DeleteParagraph extends V20160408Rpc
5966
{
5967
}
5968
5969
/**
5970
 * @method string getResourceOwnerId()
5971
 * @method $this withResourceOwnerId($value)
5972
 * @method string getDbName()
5973
 * @method $this withDbName($value)
5974
 * @method string getTableId()
5975
 * @method $this withTableId($value)
5976
 * @method string getTableName()
5977
 * @method $this withTableName($value)
5978
 * @method string getDatabaseId()
5979
 * @method $this withDatabaseId($value)
5980
 */
5981
class MetastoreDropTable extends V20160408Rpc
5982
{
5983
}
5984
5985
/**
5986
 * @method string getResourceOwnerId()
5987
 * @method $this withResourceOwnerId($value)
5988
 * @method string getDbName()
5989
 * @method $this withDbName($value)
5990
 * @method string getPageSize()
5991
 * @method $this withPageSize($value)
5992
 * @method string getFuzzyDatabaseName()
5993
 * @method $this withFuzzyDatabaseName($value)
5994
 * @method string getPageNumber()
5995
 * @method $this withPageNumber($value)
5996
 */
5997
class MetastoreListDatabases extends V20160408Rpc
5998
{
5999
}
6000
6001
/**
6002
 * @method string getResourceOwnerId()
6003
 * @method $this withResourceOwnerId($value)
6004
 * @method string getDbName()
6005
 * @method $this withDbName($value)
6006
 * @method string getPageSize()
6007
 * @method $this withPageSize($value)
6008
 * @method string getTableId()
6009
 * @method $this withTableId($value)
6010
 * @method string getDatabaseId()
6011
 * @method $this withDatabaseId($value)
6012
 * @method string getTableName()
6013
 * @method $this withTableName($value)
6014
 * @method string getPageNumber()
6015
 * @method $this withPageNumber($value)
6016
 * @method string getFuzzyTableName()
6017
 * @method $this withFuzzyTableName($value)
6018
 */
6019
class MetastoreListTables extends V20160408Rpc
6020
{
6021
}
6022
6023
/**
6024
 * @method string getResourceOwnerId()
6025
 * @method $this withResourceOwnerId($value)
6026
 * @method string getDbName()
6027
 * @method $this withDbName($value)
6028
 * @method string getId()
6029
 * @method $this withId($value)
6030
 */
6031
class MetastoreDescribeDatabase extends V20160408Rpc
6032
{
6033
}
6034
6035
/**
6036
 * @method string getResourceOwnerId()
6037
 * @method $this withResourceOwnerId($value)
6038
 * @method string getDbName()
6039
 * @method $this withDbName($value)
6040
 * @method string getId()
6041
 * @method $this withId($value)
6042
 * @method string getTableName()
6043
 * @method $this withTableName($value)
6044
 * @method string getDatabaseId()
6045
 * @method $this withDatabaseId($value)
6046
 */
6047
class MetastoreDescribeTable extends V20160408Rpc
6048
{
6049
}
6050
6051
/**
6052
 * @method string getResourceOwnerId()
6053
 * @method $this withResourceOwnerId($value)
6054
 * @method string getDbName()
6055
 * @method $this withDbName($value)
6056
 * @method string getDatabaseId()
6057
 * @method $this withDatabaseId($value)
6058
 */
6059
class MetastoreDropDatabase extends V20160408Rpc
6060
{
6061
}
6062
6063
/**
6064
 * @method string getDbSource()
6065
 * @method $this withDbSource($value)
6066
 * @method string getResourceOwnerId()
6067
 * @method $this withResourceOwnerId($value)
6068
 * @method string getDbName()
6069
 * @method $this withDbName($value)
6070
 * @method string getDataSourceId()
6071
 * @method $this withDataSourceId($value)
6072
 * @method string getDescription()
6073
 * @method $this withDescription($value)
6074
 * @method string getComment()
6075
 * @method $this withComment($value)
6076
 * @method string getLocationUri()
6077
 * @method $this withLocationUri($value)
6078
 * @method string getClusterBizId()
6079
 * @method $this withClusterBizId($value)
6080
 */
6081
class MetastoreCreateDatabase extends V20160408Rpc
6082
{
6083
}
6084
6085
/**
6086
 * @method string getResourceOwnerId()
6087
 * @method $this withResourceOwnerId($value)
6088
 * @method string getFieldDelimiter()
6089
 * @method $this withFieldDelimiter($value)
6090
 * @method array getColumn()
6091
 * @method string getCreateWith()
6092
 * @method $this withCreateWith($value)
6093
 * @method array getPartition()
6094
 * @method string getDbName()
6095
 * @method $this withDbName($value)
6096
 * @method string getCreateSql()
6097
 * @method $this withCreateSql($value)
6098
 * @method string getComment()
6099
 * @method $this withComment($value)
6100
 * @method string getLocationUri()
6101
 * @method $this withLocationUri($value)
6102
 * @method string getTableName()
6103
 * @method $this withTableName($value)
6104
 * @method string getDatabaseId()
6105
 * @method $this withDatabaseId($value)
6106
 */
6107
class MetastoreCreateTable extends V20160408Rpc
6108
{
6109
6110
    /**
6111
     * @param array $column
6112
     *
6113
     * @return $this
6114
     */
6115
    public function withColumn(array $column)
6116
    {
6117
        $this->data['Column'] = $column;
6118
        foreach ($column as $depth1 => $depth1Value) {
6119
            $this->options['query']['Column.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
6120
            $this->options['query']['Column.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
6121
            $this->options['query']['Column.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
6122
        }
6123
6124
        return $this;
6125
    }
6126
6127
    /**
6128
     * @param array $partition
6129
     *
6130
     * @return $this
6131
     */
6132
    public function withPartition(array $partition)
6133
    {
6134
        $this->data['Partition'] = $partition;
6135
        foreach ($partition as $depth1 => $depth1Value) {
6136
            $this->options['query']['Partition.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
6137
            $this->options['query']['Partition.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
6138
            $this->options['query']['Partition.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
6139
        }
6140
6141
        return $this;
6142
    }
6143
}
6144
6145
/**
6146
 * @method string getResourceOwnerId()
6147
 * @method $this withResourceOwnerId($value)
6148
 * @method string getId()
6149
 * @method $this withId($value)
6150
 */
6151
class DetachClusterForNote extends V20160408Rpc
6152
{
6153
}
6154
6155
/**
6156
 * @method string getResourceOwnerId()
6157
 * @method $this withResourceOwnerId($value)
6158
 * @method string getId()
6159
 * @method $this withId($value)
6160
 * @method string getClusterId()
6161
 * @method $this withClusterId($value)
6162
 */
6163
class AttachClusterForNote extends V20160408Rpc
6164
{
6165
}
6166
6167
/**
6168
 * @method string getResourceOwnerId()
6169
 * @method $this withResourceOwnerId($value)
6170
 * @method string getNoteId()
6171
 * @method $this withNoteId($value)
6172
 * @method string getId()
6173
 * @method $this withId($value)
6174
 * @method string getText()
6175
 * @method $this withText($value)
6176
 */
6177
class SaveParagraph extends V20160408Rpc
6178
{
6179
}
6180
6181
/**
6182
 * @method string getResourceOwnerId()
6183
 * @method $this withResourceOwnerId($value)
6184
 */
6185
class ListNotes extends V20160408Rpc
6186
{
6187
}
6188
6189
/**
6190
 * @method string getResourceOwnerId()
6191
 * @method $this withResourceOwnerId($value)
6192
 * @method string getId()
6193
 * @method $this withId($value)
6194
 */
6195
class DescribeNote extends V20160408Rpc
6196
{
6197
}
6198
6199
/**
6200
 * @method string getResourceOwnerId()
6201
 * @method $this withResourceOwnerId($value)
6202
 * @method string getName()
6203
 * @method $this withName($value)
6204
 * @method string getClusterId()
6205
 * @method $this withClusterId($value)
6206
 * @method string getType()
6207
 * @method $this withType($value)
6208
 */
6209
class CreateNote extends V20160408Rpc
6210
{
6211
}
6212
6213
/**
6214
 * @method string getResourceOwnerId()
6215
 * @method $this withResourceOwnerId($value)
6216
 * @method string getNoteId()
6217
 * @method $this withNoteId($value)
6218
 * @method string getText()
6219
 * @method $this withText($value)
6220
 */
6221
class CreateParagraph extends V20160408Rpc
6222
{
6223
}
6224
6225
/**
6226
 * @method string getResourceOwnerId()
6227
 * @method $this withResourceOwnerId($value)
6228
 * @method string getExecutionPlanWorkNodeIds()
6229
 * @method $this withExecutionPlanWorkNodeIds($value)
6230
 * @method string getId()
6231
 * @method $this withId($value)
6232
 */
6233
class RetryExecutionPlan extends V20160408Rpc
6234
{
6235
}
6236
6237
/**
6238
 * @method string getResourceOwnerId()
6239
 * @method $this withResourceOwnerId($value)
6240
 */
6241
class ListJobExecutionInstanceTrend extends V20160408Rpc
6242
{
6243
}
6244
6245
/**
6246
 * @method string getResourceOwnerId()
6247
 * @method $this withResourceOwnerId($value)
6248
 */
6249
class ListExecutionPlanInstanceTrend extends V20160408Rpc
6250
{
6251
}
6252
6253
/**
6254
 * @method string getResourceOwnerId()
6255
 * @method $this withResourceOwnerId($value)
6256
 * @method string getCount()
6257
 * @method $this withCount($value)
6258
 */
6259
class ListFailureJobExecutionInstances extends V20160408Rpc
6260
{
6261
}
6262
6263
/**
6264
 * @method string getResourceOwnerId()
6265
 * @method $this withResourceOwnerId($value)
6266
 * @method string getLogPath()
6267
 * @method $this withLogPath($value)
6268
 * @method string getClusterName()
6269
 * @method $this withClusterName($value)
6270
 * @method string getConfigurations()
6271
 * @method $this withConfigurations($value)
6272
 * @method string getIoOptimized()
6273
 * @method $this withIoOptimized($value)
6274
 * @method string getSecurityGroupId()
6275
 * @method $this withSecurityGroupId($value)
6276
 * @method string getEasEnable()
6277
 * @method $this withEasEnable($value)
6278
 * @method string getCreateClusterOnDemand()
6279
 * @method $this withCreateClusterOnDemand($value)
6280
 * @method array getBootstrapAction()
6281
 * @method string getUseLocalMetaDb()
6282
 * @method $this withUseLocalMetaDb($value)
6283
 * @method string getEmrVer()
6284
 * @method $this withEmrVer($value)
6285
 * @method string getId()
6286
 * @method $this withId($value)
6287
 * @method string getIsOpenPublicIp()
6288
 * @method $this withIsOpenPublicIp($value)
6289
 * @method string getClusterId()
6290
 * @method $this withClusterId($value)
6291
 * @method string getInstanceGeneration()
6292
 * @method $this withInstanceGeneration($value)
6293
 * @method string getClusterType()
6294
 * @method $this withClusterType($value)
6295
 * @method string getVSwitchId()
6296
 * @method $this withVSwitchId($value)
6297
 * @method array getOptionSoftWareList()
6298
 * @method string getVpcId()
6299
 * @method $this withVpcId($value)
6300
 * @method string getNetType()
6301
 * @method $this withNetType($value)
6302
 * @method array getEcsOrder()
6303
 * @method string getZoneId()
6304
 * @method $this withZoneId($value)
6305
 * @method string getHighAvailabilityEnable()
6306
 * @method $this withHighAvailabilityEnable($value)
6307
 * @method string getLogEnable()
6308
 * @method $this withLogEnable($value)
6309
 */
6310
class ModifyExecutionPlanClusterInfo extends V20160408Rpc
6311
{
6312
6313
    /**
6314
     * @param array $bootstrapAction
6315
     *
6316
     * @return $this
6317
     */
6318
    public function withBootstrapAction(array $bootstrapAction)
6319
    {
6320
        $this->data['BootstrapAction'] = $bootstrapAction;
6321
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
6322
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
6323
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
6324
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
6325
        }
6326
6327
        return $this;
6328
    }
6329
6330
    /**
6331
     * @param array $optionSoftWareList
6332
     *
6333
     * @return $this
6334
     */
6335
    public function withOptionSoftWareList(array $optionSoftWareList)
6336
    {
6337
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
6338
        foreach ($optionSoftWareList as $i => $iValue) {
6339
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
6340
        }
6341
6342
        return $this;
6343
    }
6344
6345
    /**
6346
     * @param array $ecsOrder
6347
     *
6348
     * @return $this
6349
     */
6350
    public function withEcsOrder(array $ecsOrder)
6351
    {
6352
        $this->data['EcsOrder'] = $ecsOrder;
6353
        foreach ($ecsOrder as $depth1 => $depth1Value) {
6354
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
6355
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
6356
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
6357
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
6358
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
6359
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
6360
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
6361
        }
6362
6363
        return $this;
6364
    }
6365
}
6366
6367
/**
6368
 * @method string getResourceOwnerId()
6369
 * @method $this withResourceOwnerId($value)
6370
 * @method string getId()
6371
 * @method $this withId($value)
6372
 * @method array getJobIdList()
6373
 */
6374
class ModifyExecutionPlanJobInfo extends V20160408Rpc
6375
{
6376
6377
    /**
6378
     * @param array $jobIdList
6379
     *
6380
     * @return $this
6381
     */
6382
    public function withJobIdList(array $jobIdList)
6383
    {
6384
        $this->data['JobIdList'] = $jobIdList;
6385
        foreach ($jobIdList as $i => $iValue) {
6386
            $this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
6387
        }
6388
6389
        return $this;
6390
    }
6391
}
6392
6393
/**
6394
 * @method string getResourceOwnerId()
6395
 * @method $this withResourceOwnerId($value)
6396
 * @method string getTimeInterval()
6397
 * @method $this withTimeInterval($value)
6398
 * @method string getDayOfWeek()
6399
 * @method $this withDayOfWeek($value)
6400
 * @method string getId()
6401
 * @method $this withId($value)
6402
 * @method string getStartTime()
6403
 * @method $this withStartTime($value)
6404
 * @method string getStrategy()
6405
 * @method $this withStrategy($value)
6406
 * @method string getTimeUnit()
6407
 * @method $this withTimeUnit($value)
6408
 * @method string getDayOfMonth()
6409
 * @method $this withDayOfMonth($value)
6410
 */
6411
class ModifyExecutionPlanScheduleInfo extends V20160408Rpc
6412
{
6413
}
6414
6415
/**
6416
 * @method string getResourceOwnerId()
6417
 * @method $this withResourceOwnerId($value)
6418
 * @method string getName()
6419
 * @method $this withName($value)
6420
 * @method string getId()
6421
 * @method $this withId($value)
6422
 * @method string getClusterId()
6423
 * @method $this withClusterId($value)
6424
 */
6425
class ModifyExecutionPlanBasicInfo extends V20160408Rpc
6426
{
6427
}
6428
6429
/**
6430
 * @method string getResourceOwnerId()
6431
 * @method $this withResourceOwnerId($value)
6432
 * @method string getClusterId()
6433
 * @method $this withClusterId($value)
6434
 */
6435
class ListClusterScripts extends V20160408Rpc
6436
{
6437
}
6438
6439
/**
6440
 * @method string getResourceOwnerId()
6441
 * @method $this withResourceOwnerId($value)
6442
 * @method string getId()
6443
 * @method $this withId($value)
6444
 */
6445
class DescribeClusterScript extends V20160408Rpc
6446
{
6447
}
6448
6449
/**
6450
 * @method string getResourceOwnerId()
6451
 * @method $this withResourceOwnerId($value)
6452
 * @method string getId()
6453
 * @method $this withId($value)
6454
 */
6455
class DeleteClusterScript extends V20160408Rpc
6456
{
6457
}
6458
6459
/**
6460
 * @method string getArgs()
6461
 * @method $this withArgs($value)
6462
 * @method string getPath()
6463
 * @method $this withPath($value)
6464
 * @method string getResourceOwnerId()
6465
 * @method $this withResourceOwnerId($value)
6466
 * @method string getName()
6467
 * @method $this withName($value)
6468
 * @method string getClusterId()
6469
 * @method $this withClusterId($value)
6470
 * @method string getNodeIdList()
6471
 * @method $this withNodeIdList($value)
6472
 */
6473
class CreateClusterScript extends V20160408Rpc
6474
{
6475
}
6476
6477
/**
6478
 * @method string getResourceOwnerId()
6479
 * @method $this withResourceOwnerId($value)
6480
 * @method string getId()
6481
 * @method $this withId($value)
6482
 */
6483
class KillExecutionPlanInstance extends V20160408Rpc
6484
{
6485
}
6486
6487
/**
6488
 * @method string getResourceOwnerId()
6489
 * @method $this withResourceOwnerId($value)
6490
 * @method string getForceRelease()
6491
 * @method $this withForceRelease($value)
6492
 * @method string getId()
6493
 * @method $this withId($value)
6494
 */
6495
class ReleaseCluster extends V20160408Rpc
6496
{
6497
}
6498
6499
/**
6500
 * @method string getResourceOwnerId()
6501
 * @method $this withResourceOwnerId($value)
6502
 * @method string getId()
6503
 * @method $this withId($value)
6504
 */
6505
class ResumeExecutionPlanScheduler extends V20160408Rpc
6506
{
6507
}
6508
6509
/**
6510
 * @method string getResourceOwnerId()
6511
 * @method $this withResourceOwnerId($value)
6512
 * @method string getArguments()
6513
 * @method $this withArguments($value)
6514
 * @method string getId()
6515
 * @method $this withId($value)
6516
 */
6517
class RunExecutionPlan extends V20160408Rpc
6518
{
6519
}
6520
6521
/**
6522
 * @method string getResourceOwnerId()
6523
 * @method $this withResourceOwnerId($value)
6524
 * @method string getId()
6525
 * @method $this withId($value)
6526
 */
6527
class SuspendExecutionPlanScheduler extends V20160408Rpc
6528
{
6529
}
6530
6531
/**
6532
 * @method string getResourceOwnerId()
6533
 * @method $this withResourceOwnerId($value)
6534
 * @method string getPageSize()
6535
 * @method $this withPageSize($value)
6536
 * @method string getQueryString()
6537
 * @method $this withQueryString($value)
6538
 * @method string getIsDesc()
6539
 * @method $this withIsDesc($value)
6540
 * @method string getPageNumber()
6541
 * @method $this withPageNumber($value)
6542
 * @method string getQueryType()
6543
 * @method $this withQueryType($value)
6544
 */
6545
class ListJobs extends V20160408Rpc
6546
{
6547
}
6548
6549
/**
6550
 * @method string getResourceOwnerId()
6551
 * @method $this withResourceOwnerId($value)
6552
 * @method string getName()
6553
 * @method $this withName($value)
6554
 * @method string getId()
6555
 * @method $this withId($value)
6556
 */
6557
class ModifyClusterName extends V20160408Rpc
6558
{
6559
}
6560
6561
/**
6562
 * @method string getResourceOwnerId()
6563
 * @method $this withResourceOwnerId($value)
6564
 * @method string getLogPath()
6565
 * @method $this withLogPath($value)
6566
 * @method string getTimeInterval()
6567
 * @method $this withTimeInterval($value)
6568
 * @method string getClusterName()
6569
 * @method $this withClusterName($value)
6570
 * @method string getConfigurations()
6571
 * @method $this withConfigurations($value)
6572
 * @method string getIoOptimized()
6573
 * @method $this withIoOptimized($value)
6574
 * @method string getSecurityGroupId()
6575
 * @method $this withSecurityGroupId($value)
6576
 * @method string getEasEnable()
6577
 * @method $this withEasEnable($value)
6578
 * @method string getCreateClusterOnDemand()
6579
 * @method $this withCreateClusterOnDemand($value)
6580
 * @method string getStartTime()
6581
 * @method $this withStartTime($value)
6582
 * @method array getJobIdList()
6583
 * @method string getDayOfMonth()
6584
 * @method $this withDayOfMonth($value)
6585
 * @method array getBootstrapAction()
6586
 * @method string getUseLocalMetaDb()
6587
 * @method $this withUseLocalMetaDb($value)
6588
 * @method string getEmrVer()
6589
 * @method $this withEmrVer($value)
6590
 * @method string getId()
6591
 * @method $this withId($value)
6592
 * @method string getUserDefinedEmrEcsRole()
6593
 * @method $this withUserDefinedEmrEcsRole($value)
6594
 * @method string getIsOpenPublicIp()
6595
 * @method $this withIsOpenPublicIp($value)
6596
 * @method string getExecutionPlanVersion()
6597
 * @method $this withExecutionPlanVersion($value)
6598
 * @method string getClusterId()
6599
 * @method $this withClusterId($value)
6600
 * @method string getTimeUnit()
6601
 * @method $this withTimeUnit($value)
6602
 * @method string getInstanceGeneration()
6603
 * @method $this withInstanceGeneration($value)
6604
 * @method string getClusterType()
6605
 * @method $this withClusterType($value)
6606
 * @method string getVSwitchId()
6607
 * @method $this withVSwitchId($value)
6608
 * @method array getOptionSoftWareList()
6609
 * @method string getVpcId()
6610
 * @method $this withVpcId($value)
6611
 * @method string getNetType()
6612
 * @method $this withNetType($value)
6613
 * @method string getWorkflowDefinition()
6614
 * @method $this withWorkflowDefinition($value)
6615
 * @method array getEcsOrder()
6616
 * @method string getName()
6617
 * @method $this withName($value)
6618
 * @method string getZoneId()
6619
 * @method $this withZoneId($value)
6620
 * @method string getDayOfWeek()
6621
 * @method $this withDayOfWeek($value)
6622
 * @method string getUseCustomHiveMetaDB()
6623
 * @method $this withUseCustomHiveMetaDB($value)
6624
 * @method string getStrategy()
6625
 * @method $this withStrategy($value)
6626
 * @method array getConfig()
6627
 * @method string getHighAvailabilityEnable()
6628
 * @method $this withHighAvailabilityEnable($value)
6629
 * @method string getInitCustomHiveMetaDB()
6630
 * @method $this withInitCustomHiveMetaDB($value)
6631
 * @method string getLogEnable()
6632
 * @method $this withLogEnable($value)
6633
 */
6634
class ModifyExecutionPlan extends V20160408Rpc
6635
{
6636
6637
    /**
6638
     * @param array $jobIdList
6639
     *
6640
     * @return $this
6641
     */
6642
    public function withJobIdList(array $jobIdList)
6643
    {
6644
        $this->data['JobIdList'] = $jobIdList;
6645
        foreach ($jobIdList as $i => $iValue) {
6646
            $this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
6647
        }
6648
6649
        return $this;
6650
    }
6651
6652
    /**
6653
     * @param array $bootstrapAction
6654
     *
6655
     * @return $this
6656
     */
6657
    public function withBootstrapAction(array $bootstrapAction)
6658
    {
6659
        $this->data['BootstrapAction'] = $bootstrapAction;
6660
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
6661
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
6662
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
6663
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
6664
        }
6665
6666
        return $this;
6667
    }
6668
6669
    /**
6670
     * @param array $optionSoftWareList
6671
     *
6672
     * @return $this
6673
     */
6674
    public function withOptionSoftWareList(array $optionSoftWareList)
6675
    {
6676
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
6677
        foreach ($optionSoftWareList as $i => $iValue) {
6678
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
6679
        }
6680
6681
        return $this;
6682
    }
6683
6684
    /**
6685
     * @param array $ecsOrder
6686
     *
6687
     * @return $this
6688
     */
6689
    public function withEcsOrder(array $ecsOrder)
6690
    {
6691
        $this->data['EcsOrder'] = $ecsOrder;
6692
        foreach ($ecsOrder as $depth1 => $depth1Value) {
6693
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
6694
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
6695
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
6696
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
6697
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
6698
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
6699
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
6700
        }
6701
6702
        return $this;
6703
    }
6704
6705
    /**
6706
     * @param array $config
6707
     *
6708
     * @return $this
6709
     */
6710
    public function withConfig(array $config)
6711
    {
6712
        $this->data['Config'] = $config;
6713
        foreach ($config as $depth1 => $depth1Value) {
6714
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
6715
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
6716
            $this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
6717
            $this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
6718
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
6719
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
6720
        }
6721
6722
        return $this;
6723
    }
6724
}
6725
6726
/**
6727
 * @method string getRunParameter()
6728
 * @method $this withRunParameter($value)
6729
 * @method string getRetryInterval()
6730
 * @method $this withRetryInterval($value)
6731
 * @method string getResourceOwnerId()
6732
 * @method $this withResourceOwnerId($value)
6733
 * @method string getName()
6734
 * @method $this withName($value)
6735
 * @method string getId()
6736
 * @method $this withId($value)
6737
 * @method string getType()
6738
 * @method $this withType($value)
6739
 * @method string getMaxRetry()
6740
 * @method $this withMaxRetry($value)
6741
 * @method string getFailAct()
6742
 * @method $this withFailAct($value)
6743
 */
6744
class ModifyJob extends V20160408Rpc
6745
{
6746
}
6747
6748
/**
6749
 * @method string getResourceOwnerId()
6750
 * @method $this withResourceOwnerId($value)
6751
 * @method array getStatusList()
6752
 * @method string getPageSize()
6753
 * @method $this withPageSize($value)
6754
 * @method array getClusterTypeList()
6755
 * @method string getIsDesc()
6756
 * @method $this withIsDesc($value)
6757
 * @method string getCreateType()
6758
 * @method $this withCreateType($value)
6759
 * @method string getDepositType()
6760
 * @method $this withDepositType($value)
6761
 * @method string getDefaultStatus()
6762
 * @method $this withDefaultStatus($value)
6763
 * @method string getPageNumber()
6764
 * @method $this withPageNumber($value)
6765
 */
6766
class ListClusters extends V20160408Rpc
6767
{
6768
6769
    /**
6770
     * @param array $statusList
6771
     *
6772
     * @return $this
6773
     */
6774
    public function withStatusList(array $statusList)
6775
    {
6776
        $this->data['StatusList'] = $statusList;
6777
        foreach ($statusList as $i => $iValue) {
6778
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
6779
        }
6780
6781
        return $this;
6782
    }
6783
6784
    /**
6785
     * @param array $clusterTypeList
6786
     *
6787
     * @return $this
6788
     */
6789
    public function withClusterTypeList(array $clusterTypeList)
6790
    {
6791
        $this->data['ClusterTypeList'] = $clusterTypeList;
6792
        foreach ($clusterTypeList as $i => $iValue) {
6793
            $this->options['query']['ClusterTypeList.' . ($i + 1)] = $iValue;
6794
        }
6795
6796
        return $this;
6797
    }
6798
}
6799
6800
/**
6801
 * @method string getOnlyLastInstance()
6802
 * @method $this withOnlyLastInstance($value)
6803
 * @method string getResourceOwnerId()
6804
 * @method $this withResourceOwnerId($value)
6805
 * @method array getExecutionPlanIdList()
6806
 * @method array getStatusList()
6807
 * @method string getPageSize()
6808
 * @method $this withPageSize($value)
6809
 * @method string getIsDesc()
6810
 * @method $this withIsDesc($value)
6811
 * @method string getPageNumber()
6812
 * @method $this withPageNumber($value)
6813
 */
6814
class ListExecutionPlanInstances extends V20160408Rpc
6815
{
6816
6817
    /**
6818
     * @param array $executionPlanIdList
6819
     *
6820
     * @return $this
6821
     */
6822
    public function withExecutionPlanIdList(array $executionPlanIdList)
6823
    {
6824
        $this->data['ExecutionPlanIdList'] = $executionPlanIdList;
6825
        foreach ($executionPlanIdList as $i => $iValue) {
6826
            $this->options['query']['ExecutionPlanIdList.' . ($i + 1)] = $iValue;
6827
        }
6828
6829
        return $this;
6830
    }
6831
6832
    /**
6833
     * @param array $statusList
6834
     *
6835
     * @return $this
6836
     */
6837
    public function withStatusList(array $statusList)
6838
    {
6839
        $this->data['StatusList'] = $statusList;
6840
        foreach ($statusList as $i => $iValue) {
6841
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
6842
        }
6843
6844
        return $this;
6845
    }
6846
}
6847
6848
/**
6849
 * @method string getJobId()
6850
 * @method $this withJobId($value)
6851
 * @method string getResourceOwnerId()
6852
 * @method $this withResourceOwnerId($value)
6853
 * @method array getStatusList()
6854
 * @method string getPageSize()
6855
 * @method $this withPageSize($value)
6856
 * @method string getQueryString()
6857
 * @method $this withQueryString($value)
6858
 * @method string getClusterId()
6859
 * @method $this withClusterId($value)
6860
 * @method string getIsDesc()
6861
 * @method $this withIsDesc($value)
6862
 * @method string getStrategy()
6863
 * @method $this withStrategy($value)
6864
 * @method string getPageNumber()
6865
 * @method $this withPageNumber($value)
6866
 * @method string getQueryType()
6867
 * @method $this withQueryType($value)
6868
 */
6869
class ListExecutionPlans extends V20160408Rpc
6870
{
6871
6872
    /**
6873
     * @param array $statusList
6874
     *
6875
     * @return $this
6876
     */
6877
    public function withStatusList(array $statusList)
6878
    {
6879
        $this->data['StatusList'] = $statusList;
6880
        foreach ($statusList as $i => $iValue) {
6881
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
6882
        }
6883
6884
        return $this;
6885
    }
6886
}
6887
6888
/**
6889
 * @method string getResourceOwnerId()
6890
 * @method $this withResourceOwnerId($value)
6891
 * @method string getExecutionPlanInstanceId()
6892
 * @method $this withExecutionPlanInstanceId($value)
6893
 * @method string getPageSize()
6894
 * @method $this withPageSize($value)
6895
 * @method string getIsDesc()
6896
 * @method $this withIsDesc($value)
6897
 * @method string getPageNumber()
6898
 * @method $this withPageNumber($value)
6899
 */
6900
class ListJobExecutionInstances extends V20160408Rpc
6901
{
6902
}
6903
6904
/**
6905
 * @method string getResourceOwnerId()
6906
 * @method $this withResourceOwnerId($value)
6907
 * @method string getJobInstanceId()
6908
 * @method $this withJobInstanceId($value)
6909
 */
6910
class ListJobInstanceWorkers extends V20160408Rpc
6911
{
6912
}
6913
6914
/**
6915
 * @method string getResourceOwnerId()
6916
 * @method $this withResourceOwnerId($value)
6917
 * @method string getJobInstanceId()
6918
 * @method $this withJobInstanceId($value)
6919
 */
6920
class KillExecutionJobInstance extends V20160408Rpc
6921
{
6922
}
6923
6924
/**
6925
 * @method string getResourceOwnerId()
6926
 * @method $this withResourceOwnerId($value)
6927
 * @method string getId()
6928
 * @method $this withId($value)
6929
 */
6930
class DeleteJob extends V20160408Rpc
6931
{
6932
}
6933
6934
/**
6935
 * @method string getResourceOwnerId()
6936
 * @method $this withResourceOwnerId($value)
6937
 * @method string getId()
6938
 * @method $this withId($value)
6939
 */
6940
class DescribeExecutionPlan extends V20160408Rpc
6941
{
6942
}
6943
6944
/**
6945
 * @method string getResourceOwnerId()
6946
 * @method $this withResourceOwnerId($value)
6947
 * @method string getId()
6948
 * @method $this withId($value)
6949
 */
6950
class DescribeJob extends V20160408Rpc
6951
{
6952
}
6953
6954
/**
6955
 * @method string getResourceOwnerId()
6956
 * @method $this withResourceOwnerId($value)
6957
 * @method string getTimeInterval()
6958
 * @method $this withTimeInterval($value)
6959
 * @method string getLogPath()
6960
 * @method $this withLogPath($value)
6961
 * @method string getClusterName()
6962
 * @method $this withClusterName($value)
6963
 * @method string getConfigurations()
6964
 * @method $this withConfigurations($value)
6965
 * @method string getIoOptimized()
6966
 * @method $this withIoOptimized($value)
6967
 * @method string getSecurityGroupId()
6968
 * @method $this withSecurityGroupId($value)
6969
 * @method string getEasEnable()
6970
 * @method $this withEasEnable($value)
6971
 * @method string getCreateClusterOnDemand()
6972
 * @method $this withCreateClusterOnDemand($value)
6973
 * @method string getStartTime()
6974
 * @method $this withStartTime($value)
6975
 * @method array getJobIdList()
6976
 * @method string getDayOfMonth()
6977
 * @method $this withDayOfMonth($value)
6978
 * @method array getBootstrapAction()
6979
 * @method string getUseLocalMetaDb()
6980
 * @method $this withUseLocalMetaDb($value)
6981
 * @method string getEmrVer()
6982
 * @method $this withEmrVer($value)
6983
 * @method string getUserDefinedEmrEcsRole()
6984
 * @method $this withUserDefinedEmrEcsRole($value)
6985
 * @method string getIsOpenPublicIp()
6986
 * @method $this withIsOpenPublicIp($value)
6987
 * @method string getClusterId()
6988
 * @method $this withClusterId($value)
6989
 * @method string getTimeUnit()
6990
 * @method $this withTimeUnit($value)
6991
 * @method string getInstanceGeneration()
6992
 * @method $this withInstanceGeneration($value)
6993
 * @method string getClusterType()
6994
 * @method $this withClusterType($value)
6995
 * @method string getVSwitchId()
6996
 * @method $this withVSwitchId($value)
6997
 * @method array getOptionSoftWareList()
6998
 * @method string getVpcId()
6999
 * @method $this withVpcId($value)
7000
 * @method string getNetType()
7001
 * @method $this withNetType($value)
7002
 * @method array getEcsOrder()
7003
 * @method string getWorkflowDefinition()
7004
 * @method $this withWorkflowDefinition($value)
7005
 * @method string getName()
7006
 * @method $this withName($value)
7007
 * @method string getDayOfWeek()
7008
 * @method $this withDayOfWeek($value)
7009
 * @method string getZoneId()
7010
 * @method $this withZoneId($value)
7011
 * @method string getUseCustomHiveMetaDB()
7012
 * @method $this withUseCustomHiveMetaDB($value)
7013
 * @method string getStrategy()
7014
 * @method $this withStrategy($value)
7015
 * @method array getConfig()
7016
 * @method string getHighAvailabilityEnable()
7017
 * @method $this withHighAvailabilityEnable($value)
7018
 * @method string getInitCustomHiveMetaDB()
7019
 * @method $this withInitCustomHiveMetaDB($value)
7020
 * @method string getLogEnable()
7021
 * @method $this withLogEnable($value)
7022
 */
7023
class CreateExecutionPlan extends V20160408Rpc
7024
{
7025
7026
    /**
7027
     * @param array $jobIdList
7028
     *
7029
     * @return $this
7030
     */
7031
    public function withJobIdList(array $jobIdList)
7032
    {
7033
        $this->data['JobIdList'] = $jobIdList;
7034
        foreach ($jobIdList as $i => $iValue) {
7035
            $this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
7036
        }
7037
7038
        return $this;
7039
    }
7040
7041
    /**
7042
     * @param array $bootstrapAction
7043
     *
7044
     * @return $this
7045
     */
7046
    public function withBootstrapAction(array $bootstrapAction)
7047
    {
7048
        $this->data['BootstrapAction'] = $bootstrapAction;
7049
        foreach ($bootstrapAction as $depth1 => $depth1Value) {
7050
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
7051
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
7052
            $this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
7053
        }
7054
7055
        return $this;
7056
    }
7057
7058
    /**
7059
     * @param array $optionSoftWareList
7060
     *
7061
     * @return $this
7062
     */
7063
    public function withOptionSoftWareList(array $optionSoftWareList)
7064
    {
7065
        $this->data['OptionSoftWareList'] = $optionSoftWareList;
7066
        foreach ($optionSoftWareList as $i => $iValue) {
7067
            $this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
7068
        }
7069
7070
        return $this;
7071
    }
7072
7073
    /**
7074
     * @param array $ecsOrder
7075
     *
7076
     * @return $this
7077
     */
7078
    public function withEcsOrder(array $ecsOrder)
7079
    {
7080
        $this->data['EcsOrder'] = $ecsOrder;
7081
        foreach ($ecsOrder as $depth1 => $depth1Value) {
7082
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
7083
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
7084
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
7085
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
7086
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
7087
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
7088
            $this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
7089
        }
7090
7091
        return $this;
7092
    }
7093
7094
    /**
7095
     * @param array $config
7096
     *
7097
     * @return $this
7098
     */
7099
    public function withConfig(array $config)
7100
    {
7101
        $this->data['Config'] = $config;
7102
        foreach ($config as $depth1 => $depth1Value) {
7103
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
7104
            $this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
7105
            $this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
7106
            $this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
7107
            $this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
7108
            $this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
7109
        }
7110
7111
        return $this;
7112
    }
7113
}
7114
7115
/**
7116
 * @method string getRunParameter()
7117
 * @method $this withRunParameter($value)
7118
 * @method string getRetryInterval()
7119
 * @method $this withRetryInterval($value)
7120
 * @method string getResourceOwnerId()
7121
 * @method $this withResourceOwnerId($value)
7122
 * @method string getName()
7123
 * @method $this withName($value)
7124
 * @method string getType()
7125
 * @method $this withType($value)
7126
 * @method string getMaxRetry()
7127
 * @method $this withMaxRetry($value)
7128
 * @method string getFailAct()
7129
 * @method $this withFailAct($value)
7130
 */
7131
class CreateJob extends V20160408Rpc
7132
{
7133
}
7134
7135
/**
7136
 * @method string getResourceOwnerId()
7137
 * @method $this withResourceOwnerId($value)
7138
 * @method string getId()
7139
 * @method $this withId($value)
7140
 */
7141
class DeleteExecutionPlan extends V20160408Rpc
7142
{
7143
}
7144