GitHub Access Token became invalid

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

UntagResources::withResourceId()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 1
crap 6
1
<?php
2
3
namespace AlibabaCloud\Slb\V20140515;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddAccessControlListEntry addAccessControlListEntry(array $options = [])
9
 * @method AddBackendServers addBackendServers(array $options = [])
10
 * @method AddListenerWhiteListItem addListenerWhiteListItem(array $options = [])
11
 * @method AddTags addTags(array $options = [])
12
 * @method AddVServerGroupBackendServers addVServerGroupBackendServers(array $options = [])
13
 * @method CreateAccessControlList createAccessControlList(array $options = [])
14
 * @method CreateDomainExtension createDomainExtension(array $options = [])
15
 * @method CreateLoadBalancer createLoadBalancer(array $options = [])
16
 * @method CreateLoadBalancerHTTPListener createLoadBalancerHTTPListener(array $options = [])
17
 * @method CreateLoadBalancerHTTPSListener createLoadBalancerHTTPSListener(array $options = [])
18
 * @method CreateLoadBalancerTCPListener createLoadBalancerTCPListener(array $options = [])
19
 * @method CreateLoadBalancerUDPListener createLoadBalancerUDPListener(array $options = [])
20
 * @method CreateMasterSlaveServerGroup createMasterSlaveServerGroup(array $options = [])
21
 * @method CreateRules createRules(array $options = [])
22
 * @method CreateTLSCipherPolicy createTLSCipherPolicy(array $options = [])
23
 * @method CreateVServerGroup createVServerGroup(array $options = [])
24
 * @method DeleteAccessControlList deleteAccessControlList(array $options = [])
25
 * @method DeleteCACertificate deleteCACertificate(array $options = [])
26
 * @method DeleteDomainExtension deleteDomainExtension(array $options = [])
27
 * @method DeleteLoadBalancer deleteLoadBalancer(array $options = [])
28
 * @method DeleteLoadBalancerListener deleteLoadBalancerListener(array $options = [])
29
 * @method DeleteMasterSlaveServerGroup deleteMasterSlaveServerGroup(array $options = [])
30
 * @method DeleteRules deleteRules(array $options = [])
31
 * @method DeleteServerCertificate deleteServerCertificate(array $options = [])
32
 * @method DeleteTLSCipherPolicy deleteTLSCipherPolicy(array $options = [])
33
 * @method DeleteVServerGroup deleteVServerGroup(array $options = [])
34
 * @method DescribeAccessControlListAttribute describeAccessControlListAttribute(array $options = [])
35
 * @method DescribeAccessControlLists describeAccessControlLists(array $options = [])
36
 * @method DescribeAvailableResource describeAvailableResource(array $options = [])
37
 * @method DescribeCACertificates describeCACertificates(array $options = [])
38
 * @method DescribeDomainExtensionAttribute describeDomainExtensionAttribute(array $options = [])
39
 * @method DescribeDomainExtensions describeDomainExtensions(array $options = [])
40
 * @method DescribeHealthStatus describeHealthStatus(array $options = [])
41
 * @method DescribeListenerAccessControlAttribute describeListenerAccessControlAttribute(array $options = [])
42
 * @method DescribeLoadBalancerAttribute describeLoadBalancerAttribute(array $options = [])
43
 * @method DescribeLoadBalancerHTTPListenerAttribute describeLoadBalancerHTTPListenerAttribute(array $options = [])
44
 * @method DescribeLoadBalancerHTTPSListenerAttribute describeLoadBalancerHTTPSListenerAttribute(array $options = [])
45
 * @method DescribeLoadBalancers describeLoadBalancers(array $options = [])
46
 * @method DescribeLoadBalancerTCPListenerAttribute describeLoadBalancerTCPListenerAttribute(array $options = [])
47
 * @method DescribeLoadBalancerUDPListenerAttribute describeLoadBalancerUDPListenerAttribute(array $options = [])
48
 * @method DescribeMasterSlaveServerGroupAttribute describeMasterSlaveServerGroupAttribute(array $options = [])
49
 * @method DescribeMasterSlaveServerGroups describeMasterSlaveServerGroups(array $options = [])
50
 * @method DescribeRegions describeRegions(array $options = [])
51
 * @method DescribeRuleAttribute describeRuleAttribute(array $options = [])
52
 * @method DescribeRules describeRules(array $options = [])
53
 * @method DescribeServerCertificates describeServerCertificates(array $options = [])
54
 * @method DescribeTags describeTags(array $options = [])
55
 * @method DescribeVServerGroupAttribute describeVServerGroupAttribute(array $options = [])
56
 * @method DescribeVServerGroups describeVServerGroups(array $options = [])
57
 * @method DescribeZones describeZones(array $options = [])
58
 * @method ListTagResources listTagResources(array $options = [])
59
 * @method ListTLSCipherPolicies listTLSCipherPolicies(array $options = [])
60
 * @method ModifyLoadBalancerInstanceSpec modifyLoadBalancerInstanceSpec(array $options = [])
61
 * @method ModifyLoadBalancerInternetSpec modifyLoadBalancerInternetSpec(array $options = [])
62
 * @method ModifyLoadBalancerPayType modifyLoadBalancerPayType(array $options = [])
63
 * @method ModifyVServerGroupBackendServers modifyVServerGroupBackendServers(array $options = [])
64
 * @method RemoveAccessControlListEntry removeAccessControlListEntry(array $options = [])
65
 * @method RemoveBackendServers removeBackendServers(array $options = [])
66
 * @method RemoveListenerWhiteListItem removeListenerWhiteListItem(array $options = [])
67
 * @method RemoveTags removeTags(array $options = [])
68
 * @method RemoveVServerGroupBackendServers removeVServerGroupBackendServers(array $options = [])
69
 * @method SetAccessControlListAttribute setAccessControlListAttribute(array $options = [])
70
 * @method SetBackendServers setBackendServers(array $options = [])
71
 * @method SetCACertificateName setCACertificateName(array $options = [])
72
 * @method SetDomainExtensionAttribute setDomainExtensionAttribute(array $options = [])
73
 * @method SetListenerAccessControlStatus setListenerAccessControlStatus(array $options = [])
74
 * @method SetLoadBalancerDeleteProtection setLoadBalancerDeleteProtection(array $options = [])
75
 * @method SetLoadBalancerHTTPListenerAttribute setLoadBalancerHTTPListenerAttribute(array $options = [])
76
 * @method SetLoadBalancerHTTPSListenerAttribute setLoadBalancerHTTPSListenerAttribute(array $options = [])
77
 * @method SetLoadBalancerModificationProtection setLoadBalancerModificationProtection(array $options = [])
78
 * @method SetLoadBalancerName setLoadBalancerName(array $options = [])
79
 * @method SetLoadBalancerStatus setLoadBalancerStatus(array $options = [])
80
 * @method SetLoadBalancerTCPListenerAttribute setLoadBalancerTCPListenerAttribute(array $options = [])
81
 * @method SetLoadBalancerUDPListenerAttribute setLoadBalancerUDPListenerAttribute(array $options = [])
82
 * @method SetRule setRule(array $options = [])
83
 * @method SetServerCertificateName setServerCertificateName(array $options = [])
84
 * @method SetTLSCipherPolicyAttribute setTLSCipherPolicyAttribute(array $options = [])
85
 * @method SetVServerGroupAttribute setVServerGroupAttribute(array $options = [])
86
 * @method StartLoadBalancerListener startLoadBalancerListener(array $options = [])
87
 * @method StopLoadBalancerListener stopLoadBalancerListener(array $options = [])
88
 * @method TagResources tagResources(array $options = [])
89
 * @method UntagResources untagResources(array $options = [])
90
 * @method UploadCACertificate uploadCACertificate(array $options = [])
91
 * @method UploadServerCertificate uploadServerCertificate(array $options = [])
92
 */
93
class SlbApiResolver extends ApiResolver
94
{
95
}
96
97
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
98
{
99
    /** @var string */
100
    public $product = 'Slb';
101
102
    /** @var string */
103
    public $version = '2014-05-15';
104
105
    /** @var string */
106
    public $method = 'POST';
107
108
    /** @var string */
109
    public $serviceCode = 'slb';
110
}
111
112
/**
113
 * @method string getAccessKeyId()
114
 * @method string getResourceOwnerId()
115
 * @method $this withResourceOwnerId($value)
116
 * @method string getAclEntrys()
117
 * @method $this withAclEntrys($value)
118
 * @method string getAclId()
119
 * @method $this withAclId($value)
120
 * @method string getResourceOwnerAccount()
121
 * @method $this withResourceOwnerAccount($value)
122
 * @method string getOwnerAccount()
123
 * @method $this withOwnerAccount($value)
124
 * @method string getOwnerId()
125
 * @method $this withOwnerId($value)
126
 * @method string getTags()
127
 * @method $this withTags($value)
128
 */
129
class AddAccessControlListEntry extends Rpc
130
{
131
132
    /**
133
     * @param string $value
134
     *
135
     * @return $this
136
     */
137
    public function withAccessKeyId($value)
138
    {
139
        $this->data['AccessKeyId'] = $value;
140
        $this->options['query']['access_key_id'] = $value;
141
142
        return $this;
143
    }
144
}
145
146
/**
147
 * @method string getAccessKeyId()
148
 * @method string getResourceOwnerId()
149
 * @method $this withResourceOwnerId($value)
150
 * @method string getBackendServers()
151
 * @method $this withBackendServers($value)
152
 * @method string getResourceOwnerAccount()
153
 * @method $this withResourceOwnerAccount($value)
154
 * @method string getOwnerAccount()
155
 * @method $this withOwnerAccount($value)
156
 * @method string getOwnerId()
157
 * @method $this withOwnerId($value)
158
 * @method string getTags()
159
 * @method $this withTags($value)
160
 * @method string getLoadBalancerId()
161
 * @method $this withLoadBalancerId($value)
162
 */
163
class AddBackendServers extends Rpc
164
{
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withAccessKeyId($value)
172
    {
173
        $this->data['AccessKeyId'] = $value;
174
        $this->options['query']['access_key_id'] = $value;
175
176
        return $this;
177
    }
178
}
179
180
/**
181
 * @method string getAccessKeyId()
182
 * @method string getResourceOwnerId()
183
 * @method $this withResourceOwnerId($value)
184
 * @method string getSourceItems()
185
 * @method $this withSourceItems($value)
186
 * @method string getListenerPort()
187
 * @method $this withListenerPort($value)
188
 * @method string getResourceOwnerAccount()
189
 * @method $this withResourceOwnerAccount($value)
190
 * @method string getOwnerAccount()
191
 * @method $this withOwnerAccount($value)
192
 * @method string getOwnerId()
193
 * @method $this withOwnerId($value)
194
 * @method string getListenerProtocol()
195
 * @method $this withListenerProtocol($value)
196
 * @method string getTags()
197
 * @method $this withTags($value)
198
 * @method string getLoadBalancerId()
199
 * @method $this withLoadBalancerId($value)
200
 */
201
class AddListenerWhiteListItem extends Rpc
202
{
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withAccessKeyId($value)
210
    {
211
        $this->data['AccessKeyId'] = $value;
212
        $this->options['query']['access_key_id'] = $value;
213
214
        return $this;
215
    }
216
}
217
218
/**
219
 * @method string getAccessKeyId()
220
 * @method string getResourceOwnerId()
221
 * @method $this withResourceOwnerId($value)
222
 * @method string getResourceOwnerAccount()
223
 * @method $this withResourceOwnerAccount($value)
224
 * @method string getOwnerAccount()
225
 * @method $this withOwnerAccount($value)
226
 * @method string getOwnerId()
227
 * @method $this withOwnerId($value)
228
 * @method string getTags()
229
 * @method $this withTags($value)
230
 * @method string getLoadBalancerId()
231
 * @method $this withLoadBalancerId($value)
232
 */
233
class AddTags extends Rpc
234
{
235
236
    /**
237
     * @param string $value
238
     *
239
     * @return $this
240
     */
241
    public function withAccessKeyId($value)
242
    {
243
        $this->data['AccessKeyId'] = $value;
244
        $this->options['query']['access_key_id'] = $value;
245
246
        return $this;
247
    }
248
}
249
250
/**
251
 * @method string getAccessKeyId()
252
 * @method string getResourceOwnerId()
253
 * @method $this withResourceOwnerId($value)
254
 * @method string getBackendServers()
255
 * @method $this withBackendServers($value)
256
 * @method string getVServerGroupId()
257
 * @method $this withVServerGroupId($value)
258
 * @method string getResourceOwnerAccount()
259
 * @method $this withResourceOwnerAccount($value)
260
 * @method string getOwnerAccount()
261
 * @method $this withOwnerAccount($value)
262
 * @method string getOwnerId()
263
 * @method $this withOwnerId($value)
264
 * @method string getTags()
265
 * @method $this withTags($value)
266
 */
267
class AddVServerGroupBackendServers extends Rpc
268
{
269
270
    /**
271
     * @param string $value
272
     *
273
     * @return $this
274
     */
275
    public function withAccessKeyId($value)
276
    {
277
        $this->data['AccessKeyId'] = $value;
278
        $this->options['query']['access_key_id'] = $value;
279
280
        return $this;
281
    }
282
}
283
284
/**
285
 * @method string getAccessKeyId()
286
 * @method string getResourceOwnerId()
287
 * @method $this withResourceOwnerId($value)
288
 * @method string getAclName()
289
 * @method $this withAclName($value)
290
 * @method string getAddressIPVersion()
291
 * @method $this withAddressIPVersion($value)
292
 * @method string getResourceGroupId()
293
 * @method $this withResourceGroupId($value)
294
 * @method string getResourceOwnerAccount()
295
 * @method $this withResourceOwnerAccount($value)
296
 * @method string getOwnerAccount()
297
 * @method $this withOwnerAccount($value)
298
 * @method string getOwnerId()
299
 * @method $this withOwnerId($value)
300
 * @method string getTags()
301
 * @method $this withTags($value)
302
 */
303
class CreateAccessControlList extends Rpc
304
{
305
306
    /**
307
     * @param string $value
308
     *
309
     * @return $this
310
     */
311
    public function withAccessKeyId($value)
312
    {
313
        $this->data['AccessKeyId'] = $value;
314
        $this->options['query']['access_key_id'] = $value;
315
316
        return $this;
317
    }
318
}
319
320
/**
321
 * @method string getAccessKeyId()
322
 * @method string getResourceOwnerId()
323
 * @method $this withResourceOwnerId($value)
324
 * @method array getServerCertificate()
325
 * @method string getListenerPort()
326
 * @method $this withListenerPort($value)
327
 * @method string getResourceOwnerAccount()
328
 * @method $this withResourceOwnerAccount($value)
329
 * @method string getOwnerAccount()
330
 * @method $this withOwnerAccount($value)
331
 * @method array getCertificateId()
332
 * @method string getOwnerId()
333
 * @method $this withOwnerId($value)
334
 * @method string getServerCertificateId()
335
 * @method $this withServerCertificateId($value)
336
 * @method string getTags()
337
 * @method $this withTags($value)
338
 * @method string getLoadBalancerId()
339
 * @method $this withLoadBalancerId($value)
340
 * @method string getDomain()
341
 * @method $this withDomain($value)
342
 */
343
class CreateDomainExtension extends Rpc
344
{
345
346
    /**
347
     * @param string $value
348
     *
349
     * @return $this
350
     */
351
    public function withAccessKeyId($value)
352
    {
353
        $this->data['AccessKeyId'] = $value;
354
        $this->options['query']['access_key_id'] = $value;
355
356
        return $this;
357
    }
358
359
    /**
360
     * @param array $serverCertificate
361
     *
362
     * @return $this
363
     */
364
	public function withServerCertificate(array $serverCertificate)
365
	{
366
	    $this->data['ServerCertificate'] = $serverCertificate;
367
		foreach ($serverCertificate as $depth1 => $depth1Value) {
368
			if(isset($depth1Value['BindingType'])){
369
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.BindingType'] = $depth1Value['BindingType'];
370
			}
371
			if(isset($depth1Value['CertificateId'])){
372
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.CertificateId'] = $depth1Value['CertificateId'];
373
			}
374
			if(isset($depth1Value['StandardType'])){
375
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.StandardType'] = $depth1Value['StandardType'];
376
			}
377
		}
378
379
		return $this;
380
    }
381
382
    /**
383
     * @param array $certificateId
384
     *
385
     * @return $this
386
     */
387
	public function withCertificateId(array $certificateId)
388
	{
389
	    $this->data['CertificateId'] = $certificateId;
390
		foreach ($certificateId as $i => $iValue) {
391
			$this->options['query']['CertificateId.' . ($i + 1)] = $iValue;
392
		}
393
394
		return $this;
395
    }
396
}
397
398
/**
399
 * @method string getResourceOwnerId()
400
 * @method $this withResourceOwnerId($value)
401
 * @method string getAddressIPVersion()
402
 * @method $this withAddressIPVersion($value)
403
 * @method string getMasterZoneId()
404
 * @method $this withMasterZoneId($value)
405
 * @method string getResourceGroupId()
406
 * @method $this withResourceGroupId($value)
407
 * @method string getLoadBalancerName()
408
 * @method $this withLoadBalancerName($value)
409
 * @method string getSlaveZoneId()
410
 * @method $this withSlaveZoneId($value)
411
 * @method string getLoadBalancerSpec()
412
 * @method $this withLoadBalancerSpec($value)
413
 * @method string getOwnerId()
414
 * @method $this withOwnerId($value)
415
 * @method string getTags()
416
 * @method $this withTags($value)
417
 * @method string getVSwitchId()
418
 * @method $this withVSwitchId($value)
419
 * @method string getEnableVpcVipFlow()
420
 * @method $this withEnableVpcVipFlow($value)
421
 * @method string getInternetChargeType()
422
 * @method $this withInternetChargeType($value)
423
 * @method string getPricingCycle()
424
 * @method $this withPricingCycle($value)
425
 * @method string getAccessKeyId()
426
 * @method string getModificationProtectionReason()
427
 * @method $this withModificationProtectionReason($value)
428
 * @method string getSupportPrivateLink()
429
 * @method $this withSupportPrivateLink($value)
430
 * @method string getClientToken()
431
 * @method $this withClientToken($value)
432
 * @method string getCloudType()
433
 * @method $this withCloudType($value)
434
 * @method string getDuration()
435
 * @method $this withDuration($value)
436
 * @method string getAddressType()
437
 * @method $this withAddressType($value)
438
 * @method string getDeleteProtection()
439
 * @method $this withDeleteProtection($value)
440
 * @method string getAutoPay()
441
 * @method $this withAutoPay($value)
442
 * @method string getAddress()
443
 * @method $this withAddress($value)
444
 * @method string getResourceOwnerAccount()
445
 * @method $this withResourceOwnerAccount($value)
446
 * @method string getBandwidth()
447
 * @method $this withBandwidth($value)
448
 * @method string getOwnerAccount()
449
 * @method $this withOwnerAccount($value)
450
 * @method string getModificationProtectionStatus()
451
 * @method $this withModificationProtectionStatus($value)
452
 * @method string getVpcId()
453
 * @method $this withVpcId($value)
454
 * @method string getPayType()
455
 * @method $this withPayType($value)
456
 * @method string getRatio()
457
 * @method $this withRatio($value)
458
 */
459
class CreateLoadBalancer extends Rpc
460
{
461
462
    /**
463
     * @param string $value
464
     *
465
     * @return $this
466
     */
467
    public function withAccessKeyId($value)
468
    {
469
        $this->data['AccessKeyId'] = $value;
470
        $this->options['query']['access_key_id'] = $value;
471
472
        return $this;
473
    }
474
}
475
476
/**
477
 * @method string getResourceOwnerId()
478
 * @method $this withResourceOwnerId($value)
479
 * @method string getHealthCheckTimeout()
480
 * @method $this withHealthCheckTimeout($value)
481
 * @method string getListenerForward()
482
 * @method $this withListenerForward($value)
483
 * @method string getXForwardedFor()
484
 * @method $this withXForwardedFor($value)
485
 * @method string getHealthCheckURI()
486
 * @method $this withHealthCheckURI($value)
487
 * @method string getXForwardedForSLBPORT()
488
 * @method string getAclStatus()
489
 * @method $this withAclStatus($value)
490
 * @method string getAclType()
491
 * @method $this withAclType($value)
492
 * @method string getHealthCheck()
493
 * @method $this withHealthCheck($value)
494
 * @method string getVpcIds()
495
 * @method $this withVpcIds($value)
496
 * @method string getVServerGroupId()
497
 * @method $this withVServerGroupId($value)
498
 * @method string getAclId()
499
 * @method $this withAclId($value)
500
 * @method string getForwardCode()
501
 * @method $this withForwardCode($value)
502
 * @method string getCookie()
503
 * @method $this withCookie($value)
504
 * @method string getHealthCheckMethod()
505
 * @method $this withHealthCheckMethod($value)
506
 * @method string getHealthCheckDomain()
507
 * @method $this withHealthCheckDomain($value)
508
 * @method string getRequestTimeout()
509
 * @method $this withRequestTimeout($value)
510
 * @method string getOwnerId()
511
 * @method $this withOwnerId($value)
512
 * @method string getTags()
513
 * @method $this withTags($value)
514
 * @method string getLoadBalancerId()
515
 * @method $this withLoadBalancerId($value)
516
 * @method string getXForwardedForSLBIP()
517
 * @method string getBackendServerPort()
518
 * @method $this withBackendServerPort($value)
519
 * @method string getHealthCheckInterval()
520
 * @method $this withHealthCheckInterval($value)
521
 * @method string getXForwardedForSLBID()
522
 * @method string getHealthCheckHttpVersion()
523
 * @method $this withHealthCheckHttpVersion($value)
524
 * @method string getAccessKeyId()
525
 * @method string getXForwardedForCLientSrcPort()
526
 * @method string getDescription()
527
 * @method $this withDescription($value)
528
 * @method string getUnhealthyThreshold()
529
 * @method $this withUnhealthyThreshold($value)
530
 * @method string getHealthyThreshold()
531
 * @method $this withHealthyThreshold($value)
532
 * @method string getScheduler()
533
 * @method $this withScheduler($value)
534
 * @method string getForwardPort()
535
 * @method $this withForwardPort($value)
536
 * @method string getMaxConnection()
537
 * @method $this withMaxConnection($value)
538
 * @method string getCookieTimeout()
539
 * @method $this withCookieTimeout($value)
540
 * @method string getStickySessionType()
541
 * @method $this withStickySessionType($value)
542
 * @method string getListenerPort()
543
 * @method $this withListenerPort($value)
544
 * @method string getHealthCheckType()
545
 * @method $this withHealthCheckType($value)
546
 * @method string getResourceOwnerAccount()
547
 * @method $this withResourceOwnerAccount($value)
548
 * @method string getBandwidth()
549
 * @method $this withBandwidth($value)
550
 * @method string getStickySession()
551
 * @method $this withStickySession($value)
552
 * @method string getOwnerAccount()
553
 * @method $this withOwnerAccount($value)
554
 * @method string getGzip()
555
 * @method $this withGzip($value)
556
 * @method string getIdleTimeout()
557
 * @method $this withIdleTimeout($value)
558
 * @method string getXForwardedForProto()
559
 * @method string getHealthCheckConnectPort()
560
 * @method $this withHealthCheckConnectPort($value)
561
 * @method string getHealthCheckHttpCode()
562
 * @method $this withHealthCheckHttpCode($value)
563
 */
564
class CreateLoadBalancerHTTPListener extends Rpc
565
{
566
567
    /**
568
     * @param string $value
569
     *
570
     * @return $this
571
     */
572
    public function withXForwardedForSLBPORT($value)
573
    {
574
        $this->data['XForwardedForSLBPORT'] = $value;
575
        $this->options['query']['XForwardedFor_SLBPORT'] = $value;
576
577
        return $this;
578
    }
579
580
    /**
581
     * @param string $value
582
     *
583
     * @return $this
584
     */
585
    public function withXForwardedForSLBIP($value)
586
    {
587
        $this->data['XForwardedForSLBIP'] = $value;
588
        $this->options['query']['XForwardedFor_SLBIP'] = $value;
589
590
        return $this;
591
    }
592
593
    /**
594
     * @param string $value
595
     *
596
     * @return $this
597
     */
598
    public function withXForwardedForSLBID($value)
599
    {
600
        $this->data['XForwardedForSLBID'] = $value;
601
        $this->options['query']['XForwardedFor_SLBID'] = $value;
602
603
        return $this;
604
    }
605
606
    /**
607
     * @param string $value
608
     *
609
     * @return $this
610
     */
611
    public function withAccessKeyId($value)
612
    {
613
        $this->data['AccessKeyId'] = $value;
614
        $this->options['query']['access_key_id'] = $value;
615
616
        return $this;
617
    }
618
619
    /**
620
     * @param string $value
621
     *
622
     * @return $this
623
     */
624
    public function withXForwardedForCLientSrcPort($value)
625
    {
626
        $this->data['XForwardedForCLientSrcPort'] = $value;
627
        $this->options['query']['XForwardedFor_ClientSrcPort'] = $value;
628
629
        return $this;
630
    }
631
632
    /**
633
     * @param string $value
634
     *
635
     * @return $this
636
     */
637
    public function withXForwardedForProto($value)
638
    {
639
        $this->data['XForwardedForProto'] = $value;
640
        $this->options['query']['XForwardedFor_proto'] = $value;
641
642
        return $this;
643
    }
644
}
645
646
/**
647
 * @method string getResourceOwnerId()
648
 * @method $this withResourceOwnerId($value)
649
 * @method array getServerCertificate()
650
 * @method string getHealthCheckTimeout()
651
 * @method $this withHealthCheckTimeout($value)
652
 * @method string getXForwardedFor()
653
 * @method $this withXForwardedFor($value)
654
 * @method string getHealthCheckURI()
655
 * @method $this withHealthCheckURI($value)
656
 * @method string getXForwardedForSLBPORT()
657
 * @method string getAclStatus()
658
 * @method $this withAclStatus($value)
659
 * @method string getAclType()
660
 * @method $this withAclType($value)
661
 * @method string getHealthCheck()
662
 * @method $this withHealthCheck($value)
663
 * @method string getVpcIds()
664
 * @method $this withVpcIds($value)
665
 * @method string getVServerGroupId()
666
 * @method $this withVServerGroupId($value)
667
 * @method string getAclId()
668
 * @method $this withAclId($value)
669
 * @method string getXForwardedForCLientCertClientVerify()
670
 * @method string getCookie()
671
 * @method $this withCookie($value)
672
 * @method string getHealthCheckMethod()
673
 * @method $this withHealthCheckMethod($value)
674
 * @method string getHealthCheckDomain()
675
 * @method $this withHealthCheckDomain($value)
676
 * @method string getRequestTimeout()
677
 * @method $this withRequestTimeout($value)
678
 * @method string getOwnerId()
679
 * @method $this withOwnerId($value)
680
 * @method string getCACertificateId()
681
 * @method $this withCACertificateId($value)
682
 * @method string getBackendProtocol()
683
 * @method $this withBackendProtocol($value)
684
 * @method string getTags()
685
 * @method $this withTags($value)
686
 * @method string getXForwardedForCLientCertFingerprintAlias()
687
 * @method string getLoadBalancerId()
688
 * @method $this withLoadBalancerId($value)
689
 * @method string getXForwardedForSLBIP()
690
 * @method string getBackendServerPort()
691
 * @method $this withBackendServerPort($value)
692
 * @method string getHealthCheckInterval()
693
 * @method $this withHealthCheckInterval($value)
694
 * @method string getXForwardedForCLientCertClientVerifyAlias()
695
 * @method string getXForwardedForSLBID()
696
 * @method string getXForwardedForCLientCertFingerprint()
697
 * @method string getHealthCheckHttpVersion()
698
 * @method $this withHealthCheckHttpVersion($value)
699
 * @method string getAccessKeyId()
700
 * @method string getXForwardedForCLientSrcPort()
701
 * @method string getDescription()
702
 * @method $this withDescription($value)
703
 * @method string getUnhealthyThreshold()
704
 * @method $this withUnhealthyThreshold($value)
705
 * @method string getXForwardedForCLientCertIssuerDNAlias()
706
 * @method string getHealthyThreshold()
707
 * @method $this withHealthyThreshold($value)
708
 * @method string getScheduler()
709
 * @method $this withScheduler($value)
710
 * @method string getMaxConnection()
711
 * @method $this withMaxConnection($value)
712
 * @method string getEnableHttp2()
713
 * @method $this withEnableHttp2($value)
714
 * @method string getXForwardedForCLientCertSubjectDN()
715
 * @method string getCookieTimeout()
716
 * @method $this withCookieTimeout($value)
717
 * @method string getStickySessionType()
718
 * @method $this withStickySessionType($value)
719
 * @method string getListenerPort()
720
 * @method $this withListenerPort($value)
721
 * @method string getHealthCheckType()
722
 * @method $this withHealthCheckType($value)
723
 * @method string getResourceOwnerAccount()
724
 * @method $this withResourceOwnerAccount($value)
725
 * @method string getBandwidth()
726
 * @method $this withBandwidth($value)
727
 * @method string getStickySession()
728
 * @method $this withStickySession($value)
729
 * @method string getOwnerAccount()
730
 * @method $this withOwnerAccount($value)
731
 * @method string getGzip()
732
 * @method $this withGzip($value)
733
 * @method string getTLSCipherPolicy()
734
 * @method $this withTLSCipherPolicy($value)
735
 * @method string getServerCertificateId()
736
 * @method $this withServerCertificateId($value)
737
 * @method string getIdleTimeout()
738
 * @method $this withIdleTimeout($value)
739
 * @method string getXForwardedForProto()
740
 * @method string getXForwardedForCLientCertSubjectDNAlias()
741
 * @method string getHealthCheckConnectPort()
742
 * @method $this withHealthCheckConnectPort($value)
743
 * @method string getHealthCheckHttpCode()
744
 * @method $this withHealthCheckHttpCode($value)
745
 * @method string getXForwardedForCLientCertIssuerDN()
746
 */
747
class CreateLoadBalancerHTTPSListener extends Rpc
748
{
749
750
    /**
751
     * @param array $serverCertificate
752
     *
753
     * @return $this
754
     */
755
	public function withServerCertificate(array $serverCertificate)
756
	{
757
	    $this->data['ServerCertificate'] = $serverCertificate;
758
		foreach ($serverCertificate as $depth1 => $depth1Value) {
759
			if(isset($depth1Value['BindingType'])){
760
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.BindingType'] = $depth1Value['BindingType'];
761
			}
762
			if(isset($depth1Value['CertificateId'])){
763
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.CertificateId'] = $depth1Value['CertificateId'];
764
			}
765
			if(isset($depth1Value['StandardType'])){
766
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.StandardType'] = $depth1Value['StandardType'];
767
			}
768
		}
769
770
		return $this;
771
    }
772
773
    /**
774
     * @param string $value
775
     *
776
     * @return $this
777
     */
778
    public function withXForwardedForSLBPORT($value)
779
    {
780
        $this->data['XForwardedForSLBPORT'] = $value;
781
        $this->options['query']['XForwardedFor_SLBPORT'] = $value;
782
783
        return $this;
784
    }
785
786
    /**
787
     * @param string $value
788
     *
789
     * @return $this
790
     */
791
    public function withXForwardedForCLientCertClientVerify($value)
792
    {
793
        $this->data['XForwardedForCLientCertClientVerify'] = $value;
794
        $this->options['query']['XForwardedFor_ClientCertClientVerify'] = $value;
795
796
        return $this;
797
    }
798
799
    /**
800
     * @param string $value
801
     *
802
     * @return $this
803
     */
804
    public function withXForwardedForCLientCertFingerprintAlias($value)
805
    {
806
        $this->data['XForwardedForCLientCertFingerprintAlias'] = $value;
807
        $this->options['query']['XForwardedFor_ClientCertFingerprintAlias'] = $value;
808
809
        return $this;
810
    }
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withXForwardedForSLBIP($value)
818
    {
819
        $this->data['XForwardedForSLBIP'] = $value;
820
        $this->options['query']['XForwardedFor_SLBIP'] = $value;
821
822
        return $this;
823
    }
824
825
    /**
826
     * @param string $value
827
     *
828
     * @return $this
829
     */
830
    public function withXForwardedForCLientCertClientVerifyAlias($value)
831
    {
832
        $this->data['XForwardedForCLientCertClientVerifyAlias'] = $value;
833
        $this->options['query']['XForwardedFor_ClientCertClientVerifyAlias'] = $value;
834
835
        return $this;
836
    }
837
838
    /**
839
     * @param string $value
840
     *
841
     * @return $this
842
     */
843
    public function withXForwardedForSLBID($value)
844
    {
845
        $this->data['XForwardedForSLBID'] = $value;
846
        $this->options['query']['XForwardedFor_SLBID'] = $value;
847
848
        return $this;
849
    }
850
851
    /**
852
     * @param string $value
853
     *
854
     * @return $this
855
     */
856
    public function withXForwardedForCLientCertFingerprint($value)
857
    {
858
        $this->data['XForwardedForCLientCertFingerprint'] = $value;
859
        $this->options['query']['XForwardedFor_ClientCertFingerprint'] = $value;
860
861
        return $this;
862
    }
863
864
    /**
865
     * @param string $value
866
     *
867
     * @return $this
868
     */
869
    public function withAccessKeyId($value)
870
    {
871
        $this->data['AccessKeyId'] = $value;
872
        $this->options['query']['access_key_id'] = $value;
873
874
        return $this;
875
    }
876
877
    /**
878
     * @param string $value
879
     *
880
     * @return $this
881
     */
882
    public function withXForwardedForCLientSrcPort($value)
883
    {
884
        $this->data['XForwardedForCLientSrcPort'] = $value;
885
        $this->options['query']['XForwardedFor_ClientSrcPort'] = $value;
886
887
        return $this;
888
    }
889
890
    /**
891
     * @param string $value
892
     *
893
     * @return $this
894
     */
895
    public function withXForwardedForCLientCertIssuerDNAlias($value)
896
    {
897
        $this->data['XForwardedForCLientCertIssuerDNAlias'] = $value;
898
        $this->options['query']['XForwardedFor_ClientCertIssuerDNAlias'] = $value;
899
900
        return $this;
901
    }
902
903
    /**
904
     * @param string $value
905
     *
906
     * @return $this
907
     */
908
    public function withXForwardedForCLientCertSubjectDN($value)
909
    {
910
        $this->data['XForwardedForCLientCertSubjectDN'] = $value;
911
        $this->options['query']['XForwardedFor_ClientCertSubjectDN'] = $value;
912
913
        return $this;
914
    }
915
916
    /**
917
     * @param string $value
918
     *
919
     * @return $this
920
     */
921
    public function withXForwardedForProto($value)
922
    {
923
        $this->data['XForwardedForProto'] = $value;
924
        $this->options['query']['XForwardedFor_proto'] = $value;
925
926
        return $this;
927
    }
928
929
    /**
930
     * @param string $value
931
     *
932
     * @return $this
933
     */
934
    public function withXForwardedForCLientCertSubjectDNAlias($value)
935
    {
936
        $this->data['XForwardedForCLientCertSubjectDNAlias'] = $value;
937
        $this->options['query']['XForwardedFor_ClientCertSubjectDNAlias'] = $value;
938
939
        return $this;
940
    }
941
942
    /**
943
     * @param string $value
944
     *
945
     * @return $this
946
     */
947
    public function withXForwardedForCLientCertIssuerDN($value)
948
    {
949
        $this->data['XForwardedForCLientCertIssuerDN'] = $value;
950
        $this->options['query']['XForwardedFor_ClientCertIssuerDN'] = $value;
951
952
        return $this;
953
    }
954
}
955
956
/**
957
 * @method string getResourceOwnerId()
958
 * @method $this withResourceOwnerId($value)
959
 * @method string getHealthCheckURI()
960
 * @method $this withHealthCheckURI($value)
961
 * @method string getAclStatus()
962
 * @method $this withAclStatus($value)
963
 * @method string getAclType()
964
 * @method $this withAclType($value)
965
 * @method string getEstablishedTimeout()
966
 * @method $this withEstablishedTimeout($value)
967
 * @method string getPersistenceTimeout()
968
 * @method $this withPersistenceTimeout($value)
969
 * @method string getVpcIds()
970
 * @method $this withVpcIds($value)
971
 * @method string getVServerGroupId()
972
 * @method $this withVServerGroupId($value)
973
 * @method string getAclId()
974
 * @method $this withAclId($value)
975
 * @method array getPortRange()
976
 * @method string getHealthCheckMethod()
977
 * @method $this withHealthCheckMethod($value)
978
 * @method string getHealthCheckDomain()
979
 * @method $this withHealthCheckDomain($value)
980
 * @method string getOwnerId()
981
 * @method $this withOwnerId($value)
982
 * @method string getTags()
983
 * @method $this withTags($value)
984
 * @method string getLoadBalancerId()
985
 * @method $this withLoadBalancerId($value)
986
 * @method string getMasterSlaveServerGroupId()
987
 * @method $this withMasterSlaveServerGroupId($value)
988
 * @method string getBackendServerPort()
989
 * @method $this withBackendServerPort($value)
990
 * @method string getHealthCheckInterval()
991
 * @method string getConnectionDrain()
992
 * @method $this withConnectionDrain($value)
993
 * @method string getAccessKeyId()
994
 * @method string getHealthCheckConnectTimeout()
995
 * @method $this withHealthCheckConnectTimeout($value)
996
 * @method string getDescription()
997
 * @method $this withDescription($value)
998
 * @method string getUnhealthyThreshold()
999
 * @method $this withUnhealthyThreshold($value)
1000
 * @method string getHealthyThreshold()
1001
 * @method $this withHealthyThreshold($value)
1002
 * @method string getScheduler()
1003
 * @method $this withScheduler($value)
1004
 * @method string getMaxConnection()
1005
 * @method $this withMaxConnection($value)
1006
 * @method string getListenerPort()
1007
 * @method $this withListenerPort($value)
1008
 * @method string getHealthCheckType()
1009
 * @method $this withHealthCheckType($value)
1010
 * @method string getResourceOwnerAccount()
1011
 * @method $this withResourceOwnerAccount($value)
1012
 * @method string getBandwidth()
1013
 * @method $this withBandwidth($value)
1014
 * @method string getOwnerAccount()
1015
 * @method $this withOwnerAccount($value)
1016
 * @method string getConnectionDrainTimeout()
1017
 * @method $this withConnectionDrainTimeout($value)
1018
 * @method string getHealthCheckConnectPort()
1019
 * @method $this withHealthCheckConnectPort($value)
1020
 * @method string getHealthCheckHttpCode()
1021
 * @method $this withHealthCheckHttpCode($value)
1022
 */
1023
class CreateLoadBalancerTCPListener extends Rpc
1024
{
1025
1026
    /**
1027
     * @param array $portRange
1028
     *
1029
     * @return $this
1030
     */
1031
	public function withPortRange(array $portRange)
1032
	{
1033
	    $this->data['PortRange'] = $portRange;
1034
		foreach ($portRange as $depth1 => $depth1Value) {
1035
			if(isset($depth1Value['StartPort'])){
1036
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.StartPort'] = $depth1Value['StartPort'];
1037
			}
1038
			if(isset($depth1Value['EndPort'])){
1039
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.EndPort'] = $depth1Value['EndPort'];
1040
			}
1041
		}
1042
1043
		return $this;
1044
    }
1045
1046
    /**
1047
     * @param string $value
1048
     *
1049
     * @return $this
1050
     */
1051
    public function withHealthCheckInterval($value)
1052
    {
1053
        $this->data['HealthCheckInterval'] = $value;
1054
        $this->options['query']['healthCheckInterval'] = $value;
1055
1056
        return $this;
1057
    }
1058
1059
    /**
1060
     * @param string $value
1061
     *
1062
     * @return $this
1063
     */
1064
    public function withAccessKeyId($value)
1065
    {
1066
        $this->data['AccessKeyId'] = $value;
1067
        $this->options['query']['access_key_id'] = $value;
1068
1069
        return $this;
1070
    }
1071
}
1072
1073
/**
1074
 * @method string getResourceOwnerId()
1075
 * @method $this withResourceOwnerId($value)
1076
 * @method string getAclStatus()
1077
 * @method $this withAclStatus($value)
1078
 * @method string getAclType()
1079
 * @method $this withAclType($value)
1080
 * @method string getPersistenceTimeout()
1081
 * @method $this withPersistenceTimeout($value)
1082
 * @method string getVpcIds()
1083
 * @method $this withVpcIds($value)
1084
 * @method string getVServerGroupId()
1085
 * @method $this withVServerGroupId($value)
1086
 * @method string getAclId()
1087
 * @method $this withAclId($value)
1088
 * @method array getPortRange()
1089
 * @method string getOwnerId()
1090
 * @method $this withOwnerId($value)
1091
 * @method string getTags()
1092
 * @method $this withTags($value)
1093
 * @method string getLoadBalancerId()
1094
 * @method $this withLoadBalancerId($value)
1095
 * @method string getMasterSlaveServerGroupId()
1096
 * @method $this withMasterSlaveServerGroupId($value)
1097
 * @method string getHealthCheckReq()
1098
 * @method string getBackendServerPort()
1099
 * @method $this withBackendServerPort($value)
1100
 * @method string getHealthCheckInterval()
1101
 * @method string getHealthCheckExp()
1102
 * @method string getConnectionDrain()
1103
 * @method $this withConnectionDrain($value)
1104
 * @method string getAccessKeyId()
1105
 * @method string getHealthCheckConnectTimeout()
1106
 * @method $this withHealthCheckConnectTimeout($value)
1107
 * @method string getDescription()
1108
 * @method $this withDescription($value)
1109
 * @method string getUnhealthyThreshold()
1110
 * @method $this withUnhealthyThreshold($value)
1111
 * @method string getHealthyThreshold()
1112
 * @method $this withHealthyThreshold($value)
1113
 * @method string getScheduler()
1114
 * @method $this withScheduler($value)
1115
 * @method string getMaxConnection()
1116
 * @method $this withMaxConnection($value)
1117
 * @method string getListenerPort()
1118
 * @method $this withListenerPort($value)
1119
 * @method string getResourceOwnerAccount()
1120
 * @method $this withResourceOwnerAccount($value)
1121
 * @method string getBandwidth()
1122
 * @method $this withBandwidth($value)
1123
 * @method string getOwnerAccount()
1124
 * @method $this withOwnerAccount($value)
1125
 * @method string getConnectionDrainTimeout()
1126
 * @method $this withConnectionDrainTimeout($value)
1127
 * @method string getHealthCheckConnectPort()
1128
 * @method $this withHealthCheckConnectPort($value)
1129
 */
1130
class CreateLoadBalancerUDPListener extends Rpc
1131
{
1132
1133
    /**
1134
     * @param array $portRange
1135
     *
1136
     * @return $this
1137
     */
1138
	public function withPortRange(array $portRange)
1139
	{
1140
	    $this->data['PortRange'] = $portRange;
1141
		foreach ($portRange as $depth1 => $depth1Value) {
1142
			if(isset($depth1Value['StartPort'])){
1143
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.StartPort'] = $depth1Value['StartPort'];
1144
			}
1145
			if(isset($depth1Value['EndPort'])){
1146
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.EndPort'] = $depth1Value['EndPort'];
1147
			}
1148
		}
1149
1150
		return $this;
1151
    }
1152
1153
    /**
1154
     * @param string $value
1155
     *
1156
     * @return $this
1157
     */
1158
    public function withHealthCheckReq($value)
1159
    {
1160
        $this->data['HealthCheckReq'] = $value;
1161
        $this->options['query']['healthCheckReq'] = $value;
1162
1163
        return $this;
1164
    }
1165
1166
    /**
1167
     * @param string $value
1168
     *
1169
     * @return $this
1170
     */
1171
    public function withHealthCheckInterval($value)
1172
    {
1173
        $this->data['HealthCheckInterval'] = $value;
1174
        $this->options['query']['healthCheckInterval'] = $value;
1175
1176
        return $this;
1177
    }
1178
1179
    /**
1180
     * @param string $value
1181
     *
1182
     * @return $this
1183
     */
1184
    public function withHealthCheckExp($value)
1185
    {
1186
        $this->data['HealthCheckExp'] = $value;
1187
        $this->options['query']['healthCheckExp'] = $value;
1188
1189
        return $this;
1190
    }
1191
1192
    /**
1193
     * @param string $value
1194
     *
1195
     * @return $this
1196
     */
1197
    public function withAccessKeyId($value)
1198
    {
1199
        $this->data['AccessKeyId'] = $value;
1200
        $this->options['query']['access_key_id'] = $value;
1201
1202
        return $this;
1203
    }
1204
}
1205
1206
/**
1207
 * @method string getAccessKeyId()
1208
 * @method string getResourceOwnerId()
1209
 * @method $this withResourceOwnerId($value)
1210
 * @method string getMasterSlaveBackendServers()
1211
 * @method $this withMasterSlaveBackendServers($value)
1212
 * @method string getResourceOwnerAccount()
1213
 * @method $this withResourceOwnerAccount($value)
1214
 * @method string getOwnerAccount()
1215
 * @method $this withOwnerAccount($value)
1216
 * @method string getMasterSlaveServerGroupName()
1217
 * @method $this withMasterSlaveServerGroupName($value)
1218
 * @method string getOwnerId()
1219
 * @method $this withOwnerId($value)
1220
 * @method string getTags()
1221
 * @method $this withTags($value)
1222
 * @method string getLoadBalancerId()
1223
 * @method $this withLoadBalancerId($value)
1224
 */
1225
class CreateMasterSlaveServerGroup extends Rpc
1226
{
1227
1228
    /**
1229
     * @param string $value
1230
     *
1231
     * @return $this
1232
     */
1233
    public function withAccessKeyId($value)
1234
    {
1235
        $this->data['AccessKeyId'] = $value;
1236
        $this->options['query']['access_key_id'] = $value;
1237
1238
        return $this;
1239
    }
1240
}
1241
1242
/**
1243
 * @method string getAccessKeyId()
1244
 * @method string getResourceOwnerId()
1245
 * @method $this withResourceOwnerId($value)
1246
 * @method string getRuleList()
1247
 * @method $this withRuleList($value)
1248
 * @method string getListenerPort()
1249
 * @method $this withListenerPort($value)
1250
 * @method string getResourceOwnerAccount()
1251
 * @method $this withResourceOwnerAccount($value)
1252
 * @method string getOwnerAccount()
1253
 * @method $this withOwnerAccount($value)
1254
 * @method string getOwnerId()
1255
 * @method $this withOwnerId($value)
1256
 * @method string getListenerProtocol()
1257
 * @method $this withListenerProtocol($value)
1258
 * @method string getTags()
1259
 * @method $this withTags($value)
1260
 * @method string getLoadBalancerId()
1261
 * @method $this withLoadBalancerId($value)
1262
 */
1263
class CreateRules extends Rpc
1264
{
1265
1266
    /**
1267
     * @param string $value
1268
     *
1269
     * @return $this
1270
     */
1271
    public function withAccessKeyId($value)
1272
    {
1273
        $this->data['AccessKeyId'] = $value;
1274
        $this->options['query']['access_key_id'] = $value;
1275
1276
        return $this;
1277
    }
1278
}
1279
1280
/**
1281
 * @method string getAccessKeyId()
1282
 * @method string getResourceOwnerId()
1283
 * @method $this withResourceOwnerId($value)
1284
 * @method array getCiphers()
1285
 * @method array getTLSVersions()
1286
 * @method string getResourceOwnerAccount()
1287
 * @method $this withResourceOwnerAccount($value)
1288
 * @method string getOwnerAccount()
1289
 * @method $this withOwnerAccount($value)
1290
 * @method string getOwnerId()
1291
 * @method $this withOwnerId($value)
1292
 * @method string getName()
1293
 * @method $this withName($value)
1294
 */
1295
class CreateTLSCipherPolicy extends Rpc
1296
{
1297
1298
    /**
1299
     * @param string $value
1300
     *
1301
     * @return $this
1302
     */
1303
    public function withAccessKeyId($value)
1304
    {
1305
        $this->data['AccessKeyId'] = $value;
1306
        $this->options['query']['access_key_id'] = $value;
1307
1308
        return $this;
1309
    }
1310
1311
    /**
1312
     * @param array $ciphers
1313
     *
1314
     * @return $this
1315
     */
1316
	public function withCiphers(array $ciphers)
1317
	{
1318
	    $this->data['Ciphers'] = $ciphers;
1319
		foreach ($ciphers as $i => $iValue) {
1320
			$this->options['query']['Ciphers.' . ($i + 1)] = $iValue;
1321
		}
1322
1323
		return $this;
1324
    }
1325
1326
    /**
1327
     * @param array $tLSVersions
1328
     *
1329
     * @return $this
1330
     */
1331
	public function withTLSVersions(array $tLSVersions)
1332
	{
1333
	    $this->data['TLSVersions'] = $tLSVersions;
1334
		foreach ($tLSVersions as $i => $iValue) {
1335
			$this->options['query']['TLSVersions.' . ($i + 1)] = $iValue;
1336
		}
1337
1338
		return $this;
1339
    }
1340
}
1341
1342
/**
1343
 * @method string getAccessKeyId()
1344
 * @method string getResourceOwnerId()
1345
 * @method $this withResourceOwnerId($value)
1346
 * @method string getBackendServers()
1347
 * @method $this withBackendServers($value)
1348
 * @method string getResourceOwnerAccount()
1349
 * @method $this withResourceOwnerAccount($value)
1350
 * @method string getOwnerAccount()
1351
 * @method $this withOwnerAccount($value)
1352
 * @method string getOwnerId()
1353
 * @method $this withOwnerId($value)
1354
 * @method string getTags()
1355
 * @method $this withTags($value)
1356
 * @method string getVServerGroupName()
1357
 * @method $this withVServerGroupName($value)
1358
 * @method string getLoadBalancerId()
1359
 * @method $this withLoadBalancerId($value)
1360
 */
1361
class CreateVServerGroup extends Rpc
1362
{
1363
1364
    /**
1365
     * @param string $value
1366
     *
1367
     * @return $this
1368
     */
1369
    public function withAccessKeyId($value)
1370
    {
1371
        $this->data['AccessKeyId'] = $value;
1372
        $this->options['query']['access_key_id'] = $value;
1373
1374
        return $this;
1375
    }
1376
}
1377
1378
/**
1379
 * @method string getAccessKeyId()
1380
 * @method string getResourceOwnerId()
1381
 * @method $this withResourceOwnerId($value)
1382
 * @method string getAclId()
1383
 * @method $this withAclId($value)
1384
 * @method string getResourceOwnerAccount()
1385
 * @method $this withResourceOwnerAccount($value)
1386
 * @method string getOwnerAccount()
1387
 * @method $this withOwnerAccount($value)
1388
 * @method string getOwnerId()
1389
 * @method $this withOwnerId($value)
1390
 * @method string getTags()
1391
 * @method $this withTags($value)
1392
 */
1393
class DeleteAccessControlList extends Rpc
1394
{
1395
1396
    /**
1397
     * @param string $value
1398
     *
1399
     * @return $this
1400
     */
1401
    public function withAccessKeyId($value)
1402
    {
1403
        $this->data['AccessKeyId'] = $value;
1404
        $this->options['query']['access_key_id'] = $value;
1405
1406
        return $this;
1407
    }
1408
}
1409
1410
/**
1411
 * @method string getAccessKeyId()
1412
 * @method string getResourceOwnerId()
1413
 * @method $this withResourceOwnerId($value)
1414
 * @method string getResourceOwnerAccount()
1415
 * @method $this withResourceOwnerAccount($value)
1416
 * @method string getOwnerAccount()
1417
 * @method $this withOwnerAccount($value)
1418
 * @method string getOwnerId()
1419
 * @method $this withOwnerId($value)
1420
 * @method string getCACertificateId()
1421
 * @method $this withCACertificateId($value)
1422
 */
1423
class DeleteCACertificate extends Rpc
1424
{
1425
1426
    /**
1427
     * @param string $value
1428
     *
1429
     * @return $this
1430
     */
1431
    public function withAccessKeyId($value)
1432
    {
1433
        $this->data['AccessKeyId'] = $value;
1434
        $this->options['query']['access_key_id'] = $value;
1435
1436
        return $this;
1437
    }
1438
}
1439
1440
/**
1441
 * @method string getAccessKeyId()
1442
 * @method string getResourceOwnerId()
1443
 * @method $this withResourceOwnerId($value)
1444
 * @method string getDomainExtensionId()
1445
 * @method $this withDomainExtensionId($value)
1446
 * @method string getResourceOwnerAccount()
1447
 * @method $this withResourceOwnerAccount($value)
1448
 * @method string getOwnerAccount()
1449
 * @method $this withOwnerAccount($value)
1450
 * @method string getOwnerId()
1451
 * @method $this withOwnerId($value)
1452
 * @method string getTags()
1453
 * @method $this withTags($value)
1454
 */
1455
class DeleteDomainExtension extends Rpc
1456
{
1457
1458
    /**
1459
     * @param string $value
1460
     *
1461
     * @return $this
1462
     */
1463
    public function withAccessKeyId($value)
1464
    {
1465
        $this->data['AccessKeyId'] = $value;
1466
        $this->options['query']['access_key_id'] = $value;
1467
1468
        return $this;
1469
    }
1470
}
1471
1472
/**
1473
 * @method string getAccessKeyId()
1474
 * @method string getResourceOwnerId()
1475
 * @method $this withResourceOwnerId($value)
1476
 * @method string getResourceOwnerAccount()
1477
 * @method $this withResourceOwnerAccount($value)
1478
 * @method string getOwnerAccount()
1479
 * @method $this withOwnerAccount($value)
1480
 * @method string getOwnerId()
1481
 * @method $this withOwnerId($value)
1482
 * @method string getTags()
1483
 * @method $this withTags($value)
1484
 * @method string getLoadBalancerId()
1485
 * @method $this withLoadBalancerId($value)
1486
 */
1487
class DeleteLoadBalancer extends Rpc
1488
{
1489
1490
    /**
1491
     * @param string $value
1492
     *
1493
     * @return $this
1494
     */
1495
    public function withAccessKeyId($value)
1496
    {
1497
        $this->data['AccessKeyId'] = $value;
1498
        $this->options['query']['access_key_id'] = $value;
1499
1500
        return $this;
1501
    }
1502
}
1503
1504
/**
1505
 * @method string getAccessKeyId()
1506
 * @method string getResourceOwnerId()
1507
 * @method $this withResourceOwnerId($value)
1508
 * @method string getListenerPort()
1509
 * @method $this withListenerPort($value)
1510
 * @method string getResourceOwnerAccount()
1511
 * @method $this withResourceOwnerAccount($value)
1512
 * @method string getOwnerAccount()
1513
 * @method $this withOwnerAccount($value)
1514
 * @method string getOwnerId()
1515
 * @method $this withOwnerId($value)
1516
 * @method string getListenerProtocol()
1517
 * @method $this withListenerProtocol($value)
1518
 * @method string getTags()
1519
 * @method $this withTags($value)
1520
 * @method string getLoadBalancerId()
1521
 * @method $this withLoadBalancerId($value)
1522
 */
1523
class DeleteLoadBalancerListener extends Rpc
1524
{
1525
1526
    /**
1527
     * @param string $value
1528
     *
1529
     * @return $this
1530
     */
1531
    public function withAccessKeyId($value)
1532
    {
1533
        $this->data['AccessKeyId'] = $value;
1534
        $this->options['query']['access_key_id'] = $value;
1535
1536
        return $this;
1537
    }
1538
}
1539
1540
/**
1541
 * @method string getAccessKeyId()
1542
 * @method string getResourceOwnerId()
1543
 * @method $this withResourceOwnerId($value)
1544
 * @method string getResourceOwnerAccount()
1545
 * @method $this withResourceOwnerAccount($value)
1546
 * @method string getOwnerAccount()
1547
 * @method $this withOwnerAccount($value)
1548
 * @method string getOwnerId()
1549
 * @method $this withOwnerId($value)
1550
 * @method string getTags()
1551
 * @method $this withTags($value)
1552
 * @method string getMasterSlaveServerGroupId()
1553
 * @method $this withMasterSlaveServerGroupId($value)
1554
 */
1555
class DeleteMasterSlaveServerGroup extends Rpc
1556
{
1557
1558
    /**
1559
     * @param string $value
1560
     *
1561
     * @return $this
1562
     */
1563
    public function withAccessKeyId($value)
1564
    {
1565
        $this->data['AccessKeyId'] = $value;
1566
        $this->options['query']['access_key_id'] = $value;
1567
1568
        return $this;
1569
    }
1570
}
1571
1572
/**
1573
 * @method string getAccessKeyId()
1574
 * @method string getResourceOwnerId()
1575
 * @method $this withResourceOwnerId($value)
1576
 * @method string getResourceOwnerAccount()
1577
 * @method $this withResourceOwnerAccount($value)
1578
 * @method string getOwnerAccount()
1579
 * @method $this withOwnerAccount($value)
1580
 * @method string getOwnerId()
1581
 * @method $this withOwnerId($value)
1582
 * @method string getTags()
1583
 * @method $this withTags($value)
1584
 * @method string getRuleIds()
1585
 * @method $this withRuleIds($value)
1586
 */
1587
class DeleteRules extends Rpc
1588
{
1589
1590
    /**
1591
     * @param string $value
1592
     *
1593
     * @return $this
1594
     */
1595
    public function withAccessKeyId($value)
1596
    {
1597
        $this->data['AccessKeyId'] = $value;
1598
        $this->options['query']['access_key_id'] = $value;
1599
1600
        return $this;
1601
    }
1602
}
1603
1604
/**
1605
 * @method string getAccessKeyId()
1606
 * @method string getResourceOwnerId()
1607
 * @method $this withResourceOwnerId($value)
1608
 * @method string getResourceOwnerAccount()
1609
 * @method $this withResourceOwnerAccount($value)
1610
 * @method string getOwnerAccount()
1611
 * @method $this withOwnerAccount($value)
1612
 * @method string getOwnerId()
1613
 * @method $this withOwnerId($value)
1614
 * @method string getServerCertificateId()
1615
 * @method $this withServerCertificateId($value)
1616
 * @method string getTags()
1617
 * @method $this withTags($value)
1618
 */
1619
class DeleteServerCertificate extends Rpc
1620
{
1621
1622
    /**
1623
     * @param string $value
1624
     *
1625
     * @return $this
1626
     */
1627
    public function withAccessKeyId($value)
1628
    {
1629
        $this->data['AccessKeyId'] = $value;
1630
        $this->options['query']['access_key_id'] = $value;
1631
1632
        return $this;
1633
    }
1634
}
1635
1636
/**
1637
 * @method string getAccessKeyId()
1638
 * @method string getResourceOwnerId()
1639
 * @method $this withResourceOwnerId($value)
1640
 * @method string getTLSCipherPolicyId()
1641
 * @method $this withTLSCipherPolicyId($value)
1642
 * @method string getResourceOwnerAccount()
1643
 * @method $this withResourceOwnerAccount($value)
1644
 * @method string getOwnerAccount()
1645
 * @method $this withOwnerAccount($value)
1646
 * @method string getOwnerId()
1647
 * @method $this withOwnerId($value)
1648
 */
1649
class DeleteTLSCipherPolicy extends Rpc
1650
{
1651
1652
    /**
1653
     * @param string $value
1654
     *
1655
     * @return $this
1656
     */
1657
    public function withAccessKeyId($value)
1658
    {
1659
        $this->data['AccessKeyId'] = $value;
1660
        $this->options['query']['access_key_id'] = $value;
1661
1662
        return $this;
1663
    }
1664
}
1665
1666
/**
1667
 * @method string getAccessKeyId()
1668
 * @method string getResourceOwnerId()
1669
 * @method $this withResourceOwnerId($value)
1670
 * @method string getVServerGroupId()
1671
 * @method $this withVServerGroupId($value)
1672
 * @method string getResourceOwnerAccount()
1673
 * @method $this withResourceOwnerAccount($value)
1674
 * @method string getOwnerAccount()
1675
 * @method $this withOwnerAccount($value)
1676
 * @method string getOwnerId()
1677
 * @method $this withOwnerId($value)
1678
 * @method string getTags()
1679
 * @method $this withTags($value)
1680
 */
1681
class DeleteVServerGroup extends Rpc
1682
{
1683
1684
    /**
1685
     * @param string $value
1686
     *
1687
     * @return $this
1688
     */
1689
    public function withAccessKeyId($value)
1690
    {
1691
        $this->data['AccessKeyId'] = $value;
1692
        $this->options['query']['access_key_id'] = $value;
1693
1694
        return $this;
1695
    }
1696
}
1697
1698
/**
1699
 * @method string getAccessKeyId()
1700
 * @method string getResourceOwnerId()
1701
 * @method $this withResourceOwnerId($value)
1702
 * @method string getAclId()
1703
 * @method $this withAclId($value)
1704
 * @method string getResourceOwnerAccount()
1705
 * @method $this withResourceOwnerAccount($value)
1706
 * @method string getOwnerAccount()
1707
 * @method $this withOwnerAccount($value)
1708
 * @method string getAclEntryComment()
1709
 * @method $this withAclEntryComment($value)
1710
 * @method string getOwnerId()
1711
 * @method $this withOwnerId($value)
1712
 * @method string getTags()
1713
 * @method $this withTags($value)
1714
 */
1715
class DescribeAccessControlListAttribute extends Rpc
1716
{
1717
1718
    /**
1719
     * @param string $value
1720
     *
1721
     * @return $this
1722
     */
1723
    public function withAccessKeyId($value)
1724
    {
1725
        $this->data['AccessKeyId'] = $value;
1726
        $this->options['query']['access_key_id'] = $value;
1727
1728
        return $this;
1729
    }
1730
}
1731
1732
/**
1733
 * @method string getAccessKeyId()
1734
 * @method string getResourceOwnerId()
1735
 * @method $this withResourceOwnerId($value)
1736
 * @method string getAclName()
1737
 * @method $this withAclName($value)
1738
 * @method string getAddressIPVersion()
1739
 * @method $this withAddressIPVersion($value)
1740
 * @method string getPageNumber()
1741
 * @method $this withPageNumber($value)
1742
 * @method string getResourceGroupId()
1743
 * @method $this withResourceGroupId($value)
1744
 * @method string getPageSize()
1745
 * @method $this withPageSize($value)
1746
 * @method array getTag()
1747
 * @method string getResourceOwnerAccount()
1748
 * @method $this withResourceOwnerAccount($value)
1749
 * @method string getOwnerAccount()
1750
 * @method $this withOwnerAccount($value)
1751
 * @method string getOwnerId()
1752
 * @method $this withOwnerId($value)
1753
 * @method string getTags()
1754
 * @method $this withTags($value)
1755
 */
1756
class DescribeAccessControlLists extends Rpc
1757
{
1758
1759
    /**
1760
     * @param string $value
1761
     *
1762
     * @return $this
1763
     */
1764
    public function withAccessKeyId($value)
1765
    {
1766
        $this->data['AccessKeyId'] = $value;
1767
        $this->options['query']['access_key_id'] = $value;
1768
1769
        return $this;
1770
    }
1771
1772
    /**
1773
     * @param array $tag
1774
     *
1775
     * @return $this
1776
     */
1777
	public function withTag(array $tag)
1778
	{
1779
	    $this->data['Tag'] = $tag;
1780
		foreach ($tag as $depth1 => $depth1Value) {
1781
			if(isset($depth1Value['Value'])){
1782
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1783
			}
1784
			if(isset($depth1Value['Key'])){
1785
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1786
			}
1787
		}
1788
1789
		return $this;
1790
    }
1791
}
1792
1793
/**
1794
 * @method string getAccessKeyId()
1795
 * @method string getResourceOwnerId()
1796
 * @method $this withResourceOwnerId($value)
1797
 * @method string getAddressIPVersion()
1798
 * @method $this withAddressIPVersion($value)
1799
 * @method string getAddressType()
1800
 * @method $this withAddressType($value)
1801
 * @method string getResourceOwnerAccount()
1802
 * @method $this withResourceOwnerAccount($value)
1803
 * @method string getOwnerAccount()
1804
 * @method $this withOwnerAccount($value)
1805
 * @method string getOwnerId()
1806
 * @method $this withOwnerId($value)
1807
 */
1808
class DescribeAvailableResource extends Rpc
1809
{
1810
1811
    /**
1812
     * @param string $value
1813
     *
1814
     * @return $this
1815
     */
1816
    public function withAccessKeyId($value)
1817
    {
1818
        $this->data['AccessKeyId'] = $value;
1819
        $this->options['query']['access_key_id'] = $value;
1820
1821
        return $this;
1822
    }
1823
}
1824
1825
/**
1826
 * @method string getAccessKeyId()
1827
 * @method string getResourceOwnerId()
1828
 * @method $this withResourceOwnerId($value)
1829
 * @method string getResourceGroupId()
1830
 * @method $this withResourceGroupId($value)
1831
 * @method array getTag()
1832
 * @method string getResourceOwnerAccount()
1833
 * @method $this withResourceOwnerAccount($value)
1834
 * @method string getOwnerAccount()
1835
 * @method $this withOwnerAccount($value)
1836
 * @method string getOwnerId()
1837
 * @method $this withOwnerId($value)
1838
 * @method string getCACertificateId()
1839
 * @method $this withCACertificateId($value)
1840
 */
1841
class DescribeCACertificates extends Rpc
1842
{
1843
1844
    /**
1845
     * @param string $value
1846
     *
1847
     * @return $this
1848
     */
1849
    public function withAccessKeyId($value)
1850
    {
1851
        $this->data['AccessKeyId'] = $value;
1852
        $this->options['query']['access_key_id'] = $value;
1853
1854
        return $this;
1855
    }
1856
1857
    /**
1858
     * @param array $tag
1859
     *
1860
     * @return $this
1861
     */
1862
	public function withTag(array $tag)
1863
	{
1864
	    $this->data['Tag'] = $tag;
1865
		foreach ($tag as $depth1 => $depth1Value) {
1866
			if(isset($depth1Value['Value'])){
1867
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1868
			}
1869
			if(isset($depth1Value['Key'])){
1870
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1871
			}
1872
		}
1873
1874
		return $this;
1875
    }
1876
}
1877
1878
/**
1879
 * @method string getAccessKeyId()
1880
 * @method string getResourceOwnerId()
1881
 * @method $this withResourceOwnerId($value)
1882
 * @method string getDomainExtensionId()
1883
 * @method $this withDomainExtensionId($value)
1884
 * @method string getResourceOwnerAccount()
1885
 * @method $this withResourceOwnerAccount($value)
1886
 * @method string getOwnerAccount()
1887
 * @method $this withOwnerAccount($value)
1888
 * @method string getOwnerId()
1889
 * @method $this withOwnerId($value)
1890
 * @method string getTags()
1891
 * @method $this withTags($value)
1892
 */
1893
class DescribeDomainExtensionAttribute extends Rpc
1894
{
1895
1896
    /**
1897
     * @param string $value
1898
     *
1899
     * @return $this
1900
     */
1901
    public function withAccessKeyId($value)
1902
    {
1903
        $this->data['AccessKeyId'] = $value;
1904
        $this->options['query']['access_key_id'] = $value;
1905
1906
        return $this;
1907
    }
1908
}
1909
1910
/**
1911
 * @method string getAccessKeyId()
1912
 * @method string getResourceOwnerId()
1913
 * @method $this withResourceOwnerId($value)
1914
 * @method string getDomainExtensionId()
1915
 * @method $this withDomainExtensionId($value)
1916
 * @method string getListenerPort()
1917
 * @method $this withListenerPort($value)
1918
 * @method string getResourceOwnerAccount()
1919
 * @method $this withResourceOwnerAccount($value)
1920
 * @method string getOwnerAccount()
1921
 * @method $this withOwnerAccount($value)
1922
 * @method string getOwnerId()
1923
 * @method $this withOwnerId($value)
1924
 * @method string getTags()
1925
 * @method $this withTags($value)
1926
 * @method string getLoadBalancerId()
1927
 * @method $this withLoadBalancerId($value)
1928
 */
1929
class DescribeDomainExtensions extends Rpc
1930
{
1931
1932
    /**
1933
     * @param string $value
1934
     *
1935
     * @return $this
1936
     */
1937
    public function withAccessKeyId($value)
1938
    {
1939
        $this->data['AccessKeyId'] = $value;
1940
        $this->options['query']['access_key_id'] = $value;
1941
1942
        return $this;
1943
    }
1944
}
1945
1946
/**
1947
 * @method string getAccessKeyId()
1948
 * @method string getResourceOwnerId()
1949
 * @method $this withResourceOwnerId($value)
1950
 * @method string getListenerPort()
1951
 * @method $this withListenerPort($value)
1952
 * @method string getResourceOwnerAccount()
1953
 * @method $this withResourceOwnerAccount($value)
1954
 * @method string getOwnerAccount()
1955
 * @method $this withOwnerAccount($value)
1956
 * @method string getOwnerId()
1957
 * @method $this withOwnerId($value)
1958
 * @method string getListenerProtocol()
1959
 * @method $this withListenerProtocol($value)
1960
 * @method string getTags()
1961
 * @method $this withTags($value)
1962
 * @method string getLoadBalancerId()
1963
 * @method $this withLoadBalancerId($value)
1964
 */
1965
class DescribeHealthStatus extends Rpc
1966
{
1967
1968
    /**
1969
     * @param string $value
1970
     *
1971
     * @return $this
1972
     */
1973
    public function withAccessKeyId($value)
1974
    {
1975
        $this->data['AccessKeyId'] = $value;
1976
        $this->options['query']['access_key_id'] = $value;
1977
1978
        return $this;
1979
    }
1980
}
1981
1982
/**
1983
 * @method string getAccessKeyId()
1984
 * @method string getResourceOwnerId()
1985
 * @method $this withResourceOwnerId($value)
1986
 * @method string getListenerPort()
1987
 * @method $this withListenerPort($value)
1988
 * @method string getResourceOwnerAccount()
1989
 * @method $this withResourceOwnerAccount($value)
1990
 * @method string getOwnerAccount()
1991
 * @method $this withOwnerAccount($value)
1992
 * @method string getOwnerId()
1993
 * @method $this withOwnerId($value)
1994
 * @method string getListenerProtocol()
1995
 * @method $this withListenerProtocol($value)
1996
 * @method string getTags()
1997
 * @method $this withTags($value)
1998
 * @method string getLoadBalancerId()
1999
 * @method $this withLoadBalancerId($value)
2000
 */
2001
class DescribeListenerAccessControlAttribute extends Rpc
2002
{
2003
2004
    /**
2005
     * @param string $value
2006
     *
2007
     * @return $this
2008
     */
2009
    public function withAccessKeyId($value)
2010
    {
2011
        $this->data['AccessKeyId'] = $value;
2012
        $this->options['query']['access_key_id'] = $value;
2013
2014
        return $this;
2015
    }
2016
}
2017
2018
/**
2019
 * @method string getAccessKeyId()
2020
 * @method string getResourceOwnerId()
2021
 * @method $this withResourceOwnerId($value)
2022
 * @method string getIncludeReservedData()
2023
 * @method $this withIncludeReservedData($value)
2024
 * @method string getResourceOwnerAccount()
2025
 * @method $this withResourceOwnerAccount($value)
2026
 * @method string getOwnerAccount()
2027
 * @method $this withOwnerAccount($value)
2028
 * @method string getOwnerId()
2029
 * @method $this withOwnerId($value)
2030
 * @method string getTags()
2031
 * @method $this withTags($value)
2032
 * @method string getLoadBalancerId()
2033
 * @method $this withLoadBalancerId($value)
2034
 */
2035
class DescribeLoadBalancerAttribute extends Rpc
2036
{
2037
2038
    /**
2039
     * @param string $value
2040
     *
2041
     * @return $this
2042
     */
2043
    public function withAccessKeyId($value)
2044
    {
2045
        $this->data['AccessKeyId'] = $value;
2046
        $this->options['query']['access_key_id'] = $value;
2047
2048
        return $this;
2049
    }
2050
}
2051
2052
/**
2053
 * @method string getAccessKeyId()
2054
 * @method string getResourceOwnerId()
2055
 * @method $this withResourceOwnerId($value)
2056
 * @method string getListenerPort()
2057
 * @method $this withListenerPort($value)
2058
 * @method string getResourceOwnerAccount()
2059
 * @method $this withResourceOwnerAccount($value)
2060
 * @method string getOwnerAccount()
2061
 * @method $this withOwnerAccount($value)
2062
 * @method string getOwnerId()
2063
 * @method $this withOwnerId($value)
2064
 * @method string getTags()
2065
 * @method $this withTags($value)
2066
 * @method string getLoadBalancerId()
2067
 * @method $this withLoadBalancerId($value)
2068
 */
2069
class DescribeLoadBalancerHTTPListenerAttribute extends Rpc
2070
{
2071
2072
    /**
2073
     * @param string $value
2074
     *
2075
     * @return $this
2076
     */
2077
    public function withAccessKeyId($value)
2078
    {
2079
        $this->data['AccessKeyId'] = $value;
2080
        $this->options['query']['access_key_id'] = $value;
2081
2082
        return $this;
2083
    }
2084
}
2085
2086
/**
2087
 * @method string getAccessKeyId()
2088
 * @method string getResourceOwnerId()
2089
 * @method $this withResourceOwnerId($value)
2090
 * @method string getListenerPort()
2091
 * @method $this withListenerPort($value)
2092
 * @method string getResourceOwnerAccount()
2093
 * @method $this withResourceOwnerAccount($value)
2094
 * @method string getOwnerAccount()
2095
 * @method $this withOwnerAccount($value)
2096
 * @method string getOwnerId()
2097
 * @method $this withOwnerId($value)
2098
 * @method string getTags()
2099
 * @method $this withTags($value)
2100
 * @method string getLoadBalancerId()
2101
 * @method $this withLoadBalancerId($value)
2102
 */
2103
class DescribeLoadBalancerHTTPSListenerAttribute extends Rpc
2104
{
2105
2106
    /**
2107
     * @param string $value
2108
     *
2109
     * @return $this
2110
     */
2111
    public function withAccessKeyId($value)
2112
    {
2113
        $this->data['AccessKeyId'] = $value;
2114
        $this->options['query']['access_key_id'] = $value;
2115
2116
        return $this;
2117
    }
2118
}
2119
2120
/**
2121
 * @method string getResourceOwnerId()
2122
 * @method $this withResourceOwnerId($value)
2123
 * @method string getNetworkType()
2124
 * @method $this withNetworkType($value)
2125
 * @method string getAddressIPVersion()
2126
 * @method $this withAddressIPVersion($value)
2127
 * @method string getMasterZoneId()
2128
 * @method $this withMasterZoneId($value)
2129
 * @method string getResourceGroupId()
2130
 * @method $this withResourceGroupId($value)
2131
 * @method string getLoadBalancerName()
2132
 * @method $this withLoadBalancerName($value)
2133
 * @method string getSlaveZoneId()
2134
 * @method $this withSlaveZoneId($value)
2135
 * @method array getTag()
2136
 * @method string getOwnerId()
2137
 * @method $this withOwnerId($value)
2138
 * @method string getServerId()
2139
 * @method $this withServerId($value)
2140
 * @method string getTags()
2141
 * @method $this withTags($value)
2142
 * @method string getServerIntranetAddress()
2143
 * @method $this withServerIntranetAddress($value)
2144
 * @method string getVSwitchId()
2145
 * @method $this withVSwitchId($value)
2146
 * @method string getLoadBalancerId()
2147
 * @method $this withLoadBalancerId($value)
2148
 * @method string getInternetChargeType()
2149
 * @method $this withInternetChargeType($value)
2150
 * @method string getAccessKeyId()
2151
 * @method string getSupportPrivateLink()
2152
 * @method $this withSupportPrivateLink($value)
2153
 * @method string getPageNumber()
2154
 * @method $this withPageNumber($value)
2155
 * @method string getPageSize()
2156
 * @method $this withPageSize($value)
2157
 * @method string getAddressType()
2158
 * @method $this withAddressType($value)
2159
 * @method string getFuzzy()
2160
 * @method $this withFuzzy($value)
2161
 * @method string getBusinessStatus()
2162
 * @method $this withBusinessStatus($value)
2163
 * @method string getAddress()
2164
 * @method $this withAddress($value)
2165
 * @method string getResourceOwnerAccount()
2166
 * @method $this withResourceOwnerAccount($value)
2167
 * @method string getOwnerAccount()
2168
 * @method $this withOwnerAccount($value)
2169
 * @method string getLoadBalancerStatus()
2170
 * @method $this withLoadBalancerStatus($value)
2171
 * @method string getVpcId()
2172
 * @method $this withVpcId($value)
2173
 * @method string getPayType()
2174
 * @method $this withPayType($value)
2175
 */
2176
class DescribeLoadBalancers extends Rpc
2177
{
2178
2179
    /**
2180
     * @param array $tag
2181
     *
2182
     * @return $this
2183
     */
2184
	public function withTag(array $tag)
2185
	{
2186
	    $this->data['Tag'] = $tag;
2187
		foreach ($tag as $depth1 => $depth1Value) {
2188
			if(isset($depth1Value['Value'])){
2189
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2190
			}
2191
			if(isset($depth1Value['Key'])){
2192
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2193
			}
2194
		}
2195
2196
		return $this;
2197
    }
2198
2199
    /**
2200
     * @param string $value
2201
     *
2202
     * @return $this
2203
     */
2204
    public function withAccessKeyId($value)
2205
    {
2206
        $this->data['AccessKeyId'] = $value;
2207
        $this->options['query']['access_key_id'] = $value;
2208
2209
        return $this;
2210
    }
2211
}
2212
2213
/**
2214
 * @method string getAccessKeyId()
2215
 * @method string getResourceOwnerId()
2216
 * @method $this withResourceOwnerId($value)
2217
 * @method string getListenerPort()
2218
 * @method $this withListenerPort($value)
2219
 * @method string getResourceOwnerAccount()
2220
 * @method $this withResourceOwnerAccount($value)
2221
 * @method string getOwnerAccount()
2222
 * @method $this withOwnerAccount($value)
2223
 * @method string getOwnerId()
2224
 * @method $this withOwnerId($value)
2225
 * @method string getTags()
2226
 * @method $this withTags($value)
2227
 * @method string getLoadBalancerId()
2228
 * @method $this withLoadBalancerId($value)
2229
 */
2230
class DescribeLoadBalancerTCPListenerAttribute extends Rpc
2231
{
2232
2233
    /**
2234
     * @param string $value
2235
     *
2236
     * @return $this
2237
     */
2238
    public function withAccessKeyId($value)
2239
    {
2240
        $this->data['AccessKeyId'] = $value;
2241
        $this->options['query']['access_key_id'] = $value;
2242
2243
        return $this;
2244
    }
2245
}
2246
2247
/**
2248
 * @method string getAccessKeyId()
2249
 * @method string getResourceOwnerId()
2250
 * @method $this withResourceOwnerId($value)
2251
 * @method string getListenerPort()
2252
 * @method $this withListenerPort($value)
2253
 * @method string getResourceOwnerAccount()
2254
 * @method $this withResourceOwnerAccount($value)
2255
 * @method string getOwnerAccount()
2256
 * @method $this withOwnerAccount($value)
2257
 * @method string getOwnerId()
2258
 * @method $this withOwnerId($value)
2259
 * @method string getTags()
2260
 * @method $this withTags($value)
2261
 * @method string getLoadBalancerId()
2262
 * @method $this withLoadBalancerId($value)
2263
 */
2264
class DescribeLoadBalancerUDPListenerAttribute extends Rpc
2265
{
2266
2267
    /**
2268
     * @param string $value
2269
     *
2270
     * @return $this
2271
     */
2272
    public function withAccessKeyId($value)
2273
    {
2274
        $this->data['AccessKeyId'] = $value;
2275
        $this->options['query']['access_key_id'] = $value;
2276
2277
        return $this;
2278
    }
2279
}
2280
2281
/**
2282
 * @method string getAccessKeyId()
2283
 * @method string getResourceOwnerId()
2284
 * @method $this withResourceOwnerId($value)
2285
 * @method string getResourceOwnerAccount()
2286
 * @method $this withResourceOwnerAccount($value)
2287
 * @method string getOwnerAccount()
2288
 * @method $this withOwnerAccount($value)
2289
 * @method string getOwnerId()
2290
 * @method $this withOwnerId($value)
2291
 * @method string getTags()
2292
 * @method $this withTags($value)
2293
 * @method string getMasterSlaveServerGroupId()
2294
 * @method $this withMasterSlaveServerGroupId($value)
2295
 */
2296
class DescribeMasterSlaveServerGroupAttribute extends Rpc
2297
{
2298
2299
    /**
2300
     * @param string $value
2301
     *
2302
     * @return $this
2303
     */
2304
    public function withAccessKeyId($value)
2305
    {
2306
        $this->data['AccessKeyId'] = $value;
2307
        $this->options['query']['access_key_id'] = $value;
2308
2309
        return $this;
2310
    }
2311
}
2312
2313
/**
2314
 * @method string getAccessKeyId()
2315
 * @method string getResourceOwnerId()
2316
 * @method $this withResourceOwnerId($value)
2317
 * @method string getIncludeListener()
2318
 * @method $this withIncludeListener($value)
2319
 * @method string getResourceOwnerAccount()
2320
 * @method $this withResourceOwnerAccount($value)
2321
 * @method string getOwnerAccount()
2322
 * @method $this withOwnerAccount($value)
2323
 * @method string getOwnerId()
2324
 * @method $this withOwnerId($value)
2325
 * @method string getTags()
2326
 * @method $this withTags($value)
2327
 * @method string getLoadBalancerId()
2328
 * @method $this withLoadBalancerId($value)
2329
 */
2330
class DescribeMasterSlaveServerGroups extends Rpc
2331
{
2332
2333
    /**
2334
     * @param string $value
2335
     *
2336
     * @return $this
2337
     */
2338
    public function withAccessKeyId($value)
2339
    {
2340
        $this->data['AccessKeyId'] = $value;
2341
        $this->options['query']['access_key_id'] = $value;
2342
2343
        return $this;
2344
    }
2345
}
2346
2347
/**
2348
 * @method string getAccessKeyId()
2349
 * @method string getResourceOwnerId()
2350
 * @method $this withResourceOwnerId($value)
2351
 * @method string getResourceOwnerAccount()
2352
 * @method $this withResourceOwnerAccount($value)
2353
 * @method string getOwnerAccount()
2354
 * @method $this withOwnerAccount($value)
2355
 * @method string getOwnerId()
2356
 * @method $this withOwnerId($value)
2357
 * @method string getTags()
2358
 * @method $this withTags($value)
2359
 * @method string getAcceptLanguage()
2360
 * @method $this withAcceptLanguage($value)
2361
 */
2362
class DescribeRegions extends Rpc
2363
{
2364
2365
    /**
2366
     * @param string $value
2367
     *
2368
     * @return $this
2369
     */
2370
    public function withAccessKeyId($value)
2371
    {
2372
        $this->data['AccessKeyId'] = $value;
2373
        $this->options['query']['access_key_id'] = $value;
2374
2375
        return $this;
2376
    }
2377
}
2378
2379
/**
2380
 * @method string getAccessKeyId()
2381
 * @method string getResourceOwnerId()
2382
 * @method $this withResourceOwnerId($value)
2383
 * @method string getResourceOwnerAccount()
2384
 * @method $this withResourceOwnerAccount($value)
2385
 * @method string getOwnerAccount()
2386
 * @method $this withOwnerAccount($value)
2387
 * @method string getOwnerId()
2388
 * @method $this withOwnerId($value)
2389
 * @method string getTags()
2390
 * @method $this withTags($value)
2391
 * @method string getRuleId()
2392
 * @method $this withRuleId($value)
2393
 */
2394
class DescribeRuleAttribute extends Rpc
2395
{
2396
2397
    /**
2398
     * @param string $value
2399
     *
2400
     * @return $this
2401
     */
2402
    public function withAccessKeyId($value)
2403
    {
2404
        $this->data['AccessKeyId'] = $value;
2405
        $this->options['query']['access_key_id'] = $value;
2406
2407
        return $this;
2408
    }
2409
}
2410
2411
/**
2412
 * @method string getAccessKeyId()
2413
 * @method string getResourceOwnerId()
2414
 * @method $this withResourceOwnerId($value)
2415
 * @method string getListenerPort()
2416
 * @method $this withListenerPort($value)
2417
 * @method string getResourceOwnerAccount()
2418
 * @method $this withResourceOwnerAccount($value)
2419
 * @method string getOwnerAccount()
2420
 * @method $this withOwnerAccount($value)
2421
 * @method string getOwnerId()
2422
 * @method $this withOwnerId($value)
2423
 * @method string getListenerProtocol()
2424
 * @method $this withListenerProtocol($value)
2425
 * @method string getTags()
2426
 * @method $this withTags($value)
2427
 * @method string getLoadBalancerId()
2428
 * @method $this withLoadBalancerId($value)
2429
 */
2430
class DescribeRules extends Rpc
2431
{
2432
2433
    /**
2434
     * @param string $value
2435
     *
2436
     * @return $this
2437
     */
2438
    public function withAccessKeyId($value)
2439
    {
2440
        $this->data['AccessKeyId'] = $value;
2441
        $this->options['query']['access_key_id'] = $value;
2442
2443
        return $this;
2444
    }
2445
}
2446
2447
/**
2448
 * @method string getAccessKeyId()
2449
 * @method string getResourceOwnerId()
2450
 * @method $this withResourceOwnerId($value)
2451
 * @method string getResourceGroupId()
2452
 * @method $this withResourceGroupId($value)
2453
 * @method array getTag()
2454
 * @method string getResourceOwnerAccount()
2455
 * @method $this withResourceOwnerAccount($value)
2456
 * @method string getOwnerAccount()
2457
 * @method $this withOwnerAccount($value)
2458
 * @method string getOwnerId()
2459
 * @method $this withOwnerId($value)
2460
 * @method string getServerCertificateId()
2461
 * @method $this withServerCertificateId($value)
2462
 * @method string getTags()
2463
 * @method $this withTags($value)
2464
 */
2465
class DescribeServerCertificates extends Rpc
2466
{
2467
2468
    /**
2469
     * @param string $value
2470
     *
2471
     * @return $this
2472
     */
2473
    public function withAccessKeyId($value)
2474
    {
2475
        $this->data['AccessKeyId'] = $value;
2476
        $this->options['query']['access_key_id'] = $value;
2477
2478
        return $this;
2479
    }
2480
2481
    /**
2482
     * @param array $tag
2483
     *
2484
     * @return $this
2485
     */
2486
	public function withTag(array $tag)
2487
	{
2488
	    $this->data['Tag'] = $tag;
2489
		foreach ($tag as $depth1 => $depth1Value) {
2490
			if(isset($depth1Value['Value'])){
2491
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2492
			}
2493
			if(isset($depth1Value['Key'])){
2494
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2495
			}
2496
		}
2497
2498
		return $this;
2499
    }
2500
}
2501
2502
/**
2503
 * @method string getAccessKeyId()
2504
 * @method string getResourceOwnerId()
2505
 * @method $this withResourceOwnerId($value)
2506
 * @method string getPageNumber()
2507
 * @method $this withPageNumber($value)
2508
 * @method string getPageSize()
2509
 * @method $this withPageSize($value)
2510
 * @method string getResourceOwnerAccount()
2511
 * @method $this withResourceOwnerAccount($value)
2512
 * @method string getOwnerAccount()
2513
 * @method $this withOwnerAccount($value)
2514
 * @method string getDistinctKey()
2515
 * @method $this withDistinctKey($value)
2516
 * @method string getOwnerId()
2517
 * @method $this withOwnerId($value)
2518
 * @method string getTags()
2519
 * @method $this withTags($value)
2520
 * @method string getLoadBalancerId()
2521
 * @method $this withLoadBalancerId($value)
2522
 */
2523
class DescribeTags extends Rpc
2524
{
2525
2526
    /**
2527
     * @param string $value
2528
     *
2529
     * @return $this
2530
     */
2531
    public function withAccessKeyId($value)
2532
    {
2533
        $this->data['AccessKeyId'] = $value;
2534
        $this->options['query']['access_key_id'] = $value;
2535
2536
        return $this;
2537
    }
2538
}
2539
2540
/**
2541
 * @method string getAccessKeyId()
2542
 * @method string getResourceOwnerId()
2543
 * @method $this withResourceOwnerId($value)
2544
 * @method string getVServerGroupId()
2545
 * @method $this withVServerGroupId($value)
2546
 * @method string getResourceOwnerAccount()
2547
 * @method $this withResourceOwnerAccount($value)
2548
 * @method string getOwnerAccount()
2549
 * @method $this withOwnerAccount($value)
2550
 * @method string getOwnerId()
2551
 * @method $this withOwnerId($value)
2552
 * @method string getTags()
2553
 * @method $this withTags($value)
2554
 */
2555
class DescribeVServerGroupAttribute extends Rpc
2556
{
2557
2558
    /**
2559
     * @param string $value
2560
     *
2561
     * @return $this
2562
     */
2563
    public function withAccessKeyId($value)
2564
    {
2565
        $this->data['AccessKeyId'] = $value;
2566
        $this->options['query']['access_key_id'] = $value;
2567
2568
        return $this;
2569
    }
2570
}
2571
2572
/**
2573
 * @method string getAccessKeyId()
2574
 * @method string getResourceOwnerId()
2575
 * @method $this withResourceOwnerId($value)
2576
 * @method string getIncludeListener()
2577
 * @method $this withIncludeListener($value)
2578
 * @method string getIncludeRule()
2579
 * @method $this withIncludeRule($value)
2580
 * @method string getResourceOwnerAccount()
2581
 * @method $this withResourceOwnerAccount($value)
2582
 * @method string getOwnerAccount()
2583
 * @method $this withOwnerAccount($value)
2584
 * @method string getOwnerId()
2585
 * @method $this withOwnerId($value)
2586
 * @method string getTags()
2587
 * @method $this withTags($value)
2588
 * @method string getLoadBalancerId()
2589
 * @method $this withLoadBalancerId($value)
2590
 */
2591
class DescribeVServerGroups extends Rpc
2592
{
2593
2594
    /**
2595
     * @param string $value
2596
     *
2597
     * @return $this
2598
     */
2599
    public function withAccessKeyId($value)
2600
    {
2601
        $this->data['AccessKeyId'] = $value;
2602
        $this->options['query']['access_key_id'] = $value;
2603
2604
        return $this;
2605
    }
2606
}
2607
2608
/**
2609
 * @method string getAccessKeyId()
2610
 * @method string getResourceOwnerId()
2611
 * @method $this withResourceOwnerId($value)
2612
 * @method string getResourceOwnerAccount()
2613
 * @method $this withResourceOwnerAccount($value)
2614
 * @method string getOwnerAccount()
2615
 * @method $this withOwnerAccount($value)
2616
 * @method string getOwnerId()
2617
 * @method $this withOwnerId($value)
2618
 * @method string getTags()
2619
 * @method $this withTags($value)
2620
 */
2621
class DescribeZones extends Rpc
2622
{
2623
2624
    /**
2625
     * @param string $value
2626
     *
2627
     * @return $this
2628
     */
2629
    public function withAccessKeyId($value)
2630
    {
2631
        $this->data['AccessKeyId'] = $value;
2632
        $this->options['query']['access_key_id'] = $value;
2633
2634
        return $this;
2635
    }
2636
}
2637
2638
/**
2639
 * @method string getAccessKeyId()
2640
 * @method string getResourceOwnerId()
2641
 * @method $this withResourceOwnerId($value)
2642
 * @method string getNextToken()
2643
 * @method $this withNextToken($value)
2644
 * @method array getTag()
2645
 * @method array getResourceId()
2646
 * @method string getResourceOwnerAccount()
2647
 * @method $this withResourceOwnerAccount($value)
2648
 * @method string getOwnerAccount()
2649
 * @method $this withOwnerAccount($value)
2650
 * @method string getOwnerId()
2651
 * @method $this withOwnerId($value)
2652
 * @method string getResourceType()
2653
 * @method $this withResourceType($value)
2654
 */
2655
class ListTagResources extends Rpc
2656
{
2657
2658
    /**
2659
     * @param string $value
2660
     *
2661
     * @return $this
2662
     */
2663
    public function withAccessKeyId($value)
2664
    {
2665
        $this->data['AccessKeyId'] = $value;
2666
        $this->options['query']['access_key_id'] = $value;
2667
2668
        return $this;
2669
    }
2670
2671
    /**
2672
     * @param array $tag
2673
     *
2674
     * @return $this
2675
     */
2676
	public function withTag(array $tag)
2677
	{
2678
	    $this->data['Tag'] = $tag;
2679
		foreach ($tag as $depth1 => $depth1Value) {
2680
			if(isset($depth1Value['Value'])){
2681
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2682
			}
2683
			if(isset($depth1Value['Key'])){
2684
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2685
			}
2686
		}
2687
2688
		return $this;
2689
    }
2690
2691
    /**
2692
     * @param array $resourceId
2693
     *
2694
     * @return $this
2695
     */
2696
	public function withResourceId(array $resourceId)
2697
	{
2698
	    $this->data['ResourceId'] = $resourceId;
2699
		foreach ($resourceId as $i => $iValue) {
2700
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2701
		}
2702
2703
		return $this;
2704
    }
2705
}
2706
2707
/**
2708
 * @method string getAccessKeyId()
2709
 * @method string getResourceOwnerId()
2710
 * @method $this withResourceOwnerId($value)
2711
 * @method string getIncludeListener()
2712
 * @method $this withIncludeListener($value)
2713
 * @method string getTLSCipherPolicyId()
2714
 * @method $this withTLSCipherPolicyId($value)
2715
 * @method string getNextToken()
2716
 * @method $this withNextToken($value)
2717
 * @method string getResourceOwnerAccount()
2718
 * @method $this withResourceOwnerAccount($value)
2719
 * @method string getOwnerAccount()
2720
 * @method $this withOwnerAccount($value)
2721
 * @method string getOwnerId()
2722
 * @method $this withOwnerId($value)
2723
 * @method string getName()
2724
 * @method $this withName($value)
2725
 * @method string getMaxItems()
2726
 * @method $this withMaxItems($value)
2727
 */
2728
class ListTLSCipherPolicies extends Rpc
2729
{
2730
2731
    /**
2732
     * @param string $value
2733
     *
2734
     * @return $this
2735
     */
2736
    public function withAccessKeyId($value)
2737
    {
2738
        $this->data['AccessKeyId'] = $value;
2739
        $this->options['query']['access_key_id'] = $value;
2740
2741
        return $this;
2742
    }
2743
}
2744
2745
/**
2746
 * @method string getAccessKeyId()
2747
 * @method string getResourceOwnerId()
2748
 * @method $this withResourceOwnerId($value)
2749
 * @method string getLoadBalancerSpec()
2750
 * @method $this withLoadBalancerSpec($value)
2751
 * @method string getAutoPay()
2752
 * @method $this withAutoPay($value)
2753
 * @method string getResourceOwnerAccount()
2754
 * @method $this withResourceOwnerAccount($value)
2755
 * @method string getOwnerAccount()
2756
 * @method $this withOwnerAccount($value)
2757
 * @method string getOwnerId()
2758
 * @method $this withOwnerId($value)
2759
 * @method string getTags()
2760
 * @method $this withTags($value)
2761
 * @method string getLoadBalancerId()
2762
 * @method $this withLoadBalancerId($value)
2763
 */
2764
class ModifyLoadBalancerInstanceSpec extends Rpc
2765
{
2766
2767
    /**
2768
     * @param string $value
2769
     *
2770
     * @return $this
2771
     */
2772
    public function withAccessKeyId($value)
2773
    {
2774
        $this->data['AccessKeyId'] = $value;
2775
        $this->options['query']['access_key_id'] = $value;
2776
2777
        return $this;
2778
    }
2779
}
2780
2781
/**
2782
 * @method string getAccessKeyId()
2783
 * @method string getResourceOwnerId()
2784
 * @method $this withResourceOwnerId($value)
2785
 * @method string getAutoPay()
2786
 * @method $this withAutoPay($value)
2787
 * @method string getResourceOwnerAccount()
2788
 * @method $this withResourceOwnerAccount($value)
2789
 * @method string getBandwidth()
2790
 * @method $this withBandwidth($value)
2791
 * @method string getOwnerAccount()
2792
 * @method $this withOwnerAccount($value)
2793
 * @method string getOwnerId()
2794
 * @method $this withOwnerId($value)
2795
 * @method string getTags()
2796
 * @method $this withTags($value)
2797
 * @method string getLoadBalancerId()
2798
 * @method $this withLoadBalancerId($value)
2799
 * @method string getInternetChargeType()
2800
 * @method $this withInternetChargeType($value)
2801
 * @method string getRatio()
2802
 * @method $this withRatio($value)
2803
 */
2804
class ModifyLoadBalancerInternetSpec extends Rpc
2805
{
2806
2807
    /**
2808
     * @param string $value
2809
     *
2810
     * @return $this
2811
     */
2812
    public function withAccessKeyId($value)
2813
    {
2814
        $this->data['AccessKeyId'] = $value;
2815
        $this->options['query']['access_key_id'] = $value;
2816
2817
        return $this;
2818
    }
2819
}
2820
2821
/**
2822
 * @method string getAccessKeyId()
2823
 * @method string getResourceOwnerId()
2824
 * @method $this withResourceOwnerId($value)
2825
 * @method string getDuration()
2826
 * @method $this withDuration($value)
2827
 * @method string getAutoPay()
2828
 * @method $this withAutoPay($value)
2829
 * @method string getResourceOwnerAccount()
2830
 * @method $this withResourceOwnerAccount($value)
2831
 * @method string getOwnerAccount()
2832
 * @method $this withOwnerAccount($value)
2833
 * @method string getOwnerId()
2834
 * @method $this withOwnerId($value)
2835
 * @method string getTags()
2836
 * @method $this withTags($value)
2837
 * @method string getLoadBalancerId()
2838
 * @method $this withLoadBalancerId($value)
2839
 * @method string getPayType()
2840
 * @method $this withPayType($value)
2841
 * @method string getPricingCycle()
2842
 * @method $this withPricingCycle($value)
2843
 */
2844
class ModifyLoadBalancerPayType extends Rpc
2845
{
2846
2847
    /**
2848
     * @param string $value
2849
     *
2850
     * @return $this
2851
     */
2852
    public function withAccessKeyId($value)
2853
    {
2854
        $this->data['AccessKeyId'] = $value;
2855
        $this->options['query']['access_key_id'] = $value;
2856
2857
        return $this;
2858
    }
2859
}
2860
2861
/**
2862
 * @method string getAccessKeyId()
2863
 * @method string getResourceOwnerId()
2864
 * @method $this withResourceOwnerId($value)
2865
 * @method string getVServerGroupId()
2866
 * @method $this withVServerGroupId($value)
2867
 * @method string getResourceOwnerAccount()
2868
 * @method $this withResourceOwnerAccount($value)
2869
 * @method string getNewBackendServers()
2870
 * @method $this withNewBackendServers($value)
2871
 * @method string getOwnerAccount()
2872
 * @method $this withOwnerAccount($value)
2873
 * @method string getOwnerId()
2874
 * @method $this withOwnerId($value)
2875
 * @method string getTags()
2876
 * @method $this withTags($value)
2877
 * @method string getOldBackendServers()
2878
 * @method $this withOldBackendServers($value)
2879
 */
2880
class ModifyVServerGroupBackendServers extends Rpc
2881
{
2882
2883
    /**
2884
     * @param string $value
2885
     *
2886
     * @return $this
2887
     */
2888
    public function withAccessKeyId($value)
2889
    {
2890
        $this->data['AccessKeyId'] = $value;
2891
        $this->options['query']['access_key_id'] = $value;
2892
2893
        return $this;
2894
    }
2895
}
2896
2897
/**
2898
 * @method string getAccessKeyId()
2899
 * @method string getResourceOwnerId()
2900
 * @method $this withResourceOwnerId($value)
2901
 * @method string getAclEntrys()
2902
 * @method $this withAclEntrys($value)
2903
 * @method string getAclId()
2904
 * @method $this withAclId($value)
2905
 * @method string getResourceOwnerAccount()
2906
 * @method $this withResourceOwnerAccount($value)
2907
 * @method string getOwnerAccount()
2908
 * @method $this withOwnerAccount($value)
2909
 * @method string getOwnerId()
2910
 * @method $this withOwnerId($value)
2911
 * @method string getTags()
2912
 * @method $this withTags($value)
2913
 */
2914
class RemoveAccessControlListEntry extends Rpc
2915
{
2916
2917
    /**
2918
     * @param string $value
2919
     *
2920
     * @return $this
2921
     */
2922
    public function withAccessKeyId($value)
2923
    {
2924
        $this->data['AccessKeyId'] = $value;
2925
        $this->options['query']['access_key_id'] = $value;
2926
2927
        return $this;
2928
    }
2929
}
2930
2931
/**
2932
 * @method string getAccessKeyId()
2933
 * @method string getResourceOwnerId()
2934
 * @method $this withResourceOwnerId($value)
2935
 * @method string getBackendServers()
2936
 * @method $this withBackendServers($value)
2937
 * @method string getResourceOwnerAccount()
2938
 * @method $this withResourceOwnerAccount($value)
2939
 * @method string getOwnerAccount()
2940
 * @method $this withOwnerAccount($value)
2941
 * @method string getOwnerId()
2942
 * @method $this withOwnerId($value)
2943
 * @method string getTags()
2944
 * @method $this withTags($value)
2945
 * @method string getLoadBalancerId()
2946
 * @method $this withLoadBalancerId($value)
2947
 */
2948
class RemoveBackendServers extends Rpc
2949
{
2950
2951
    /**
2952
     * @param string $value
2953
     *
2954
     * @return $this
2955
     */
2956
    public function withAccessKeyId($value)
2957
    {
2958
        $this->data['AccessKeyId'] = $value;
2959
        $this->options['query']['access_key_id'] = $value;
2960
2961
        return $this;
2962
    }
2963
}
2964
2965
/**
2966
 * @method string getAccessKeyId()
2967
 * @method string getResourceOwnerId()
2968
 * @method $this withResourceOwnerId($value)
2969
 * @method string getSourceItems()
2970
 * @method $this withSourceItems($value)
2971
 * @method string getListenerPort()
2972
 * @method $this withListenerPort($value)
2973
 * @method string getResourceOwnerAccount()
2974
 * @method $this withResourceOwnerAccount($value)
2975
 * @method string getOwnerAccount()
2976
 * @method $this withOwnerAccount($value)
2977
 * @method string getOwnerId()
2978
 * @method $this withOwnerId($value)
2979
 * @method string getListenerProtocol()
2980
 * @method $this withListenerProtocol($value)
2981
 * @method string getTags()
2982
 * @method $this withTags($value)
2983
 * @method string getLoadBalancerId()
2984
 * @method $this withLoadBalancerId($value)
2985
 */
2986
class RemoveListenerWhiteListItem extends Rpc
2987
{
2988
2989
    /**
2990
     * @param string $value
2991
     *
2992
     * @return $this
2993
     */
2994
    public function withAccessKeyId($value)
2995
    {
2996
        $this->data['AccessKeyId'] = $value;
2997
        $this->options['query']['access_key_id'] = $value;
2998
2999
        return $this;
3000
    }
3001
}
3002
3003
/**
3004
 * @method string getAccessKeyId()
3005
 * @method string getResourceOwnerId()
3006
 * @method $this withResourceOwnerId($value)
3007
 * @method string getResourceOwnerAccount()
3008
 * @method $this withResourceOwnerAccount($value)
3009
 * @method string getOwnerAccount()
3010
 * @method $this withOwnerAccount($value)
3011
 * @method string getOwnerId()
3012
 * @method $this withOwnerId($value)
3013
 * @method string getTags()
3014
 * @method $this withTags($value)
3015
 * @method string getLoadBalancerId()
3016
 * @method $this withLoadBalancerId($value)
3017
 */
3018
class RemoveTags extends Rpc
3019
{
3020
3021
    /**
3022
     * @param string $value
3023
     *
3024
     * @return $this
3025
     */
3026
    public function withAccessKeyId($value)
3027
    {
3028
        $this->data['AccessKeyId'] = $value;
3029
        $this->options['query']['access_key_id'] = $value;
3030
3031
        return $this;
3032
    }
3033
}
3034
3035
/**
3036
 * @method string getAccessKeyId()
3037
 * @method string getResourceOwnerId()
3038
 * @method $this withResourceOwnerId($value)
3039
 * @method string getBackendServers()
3040
 * @method $this withBackendServers($value)
3041
 * @method string getVServerGroupId()
3042
 * @method $this withVServerGroupId($value)
3043
 * @method string getResourceOwnerAccount()
3044
 * @method $this withResourceOwnerAccount($value)
3045
 * @method string getOwnerAccount()
3046
 * @method $this withOwnerAccount($value)
3047
 * @method string getOwnerId()
3048
 * @method $this withOwnerId($value)
3049
 * @method string getTags()
3050
 * @method $this withTags($value)
3051
 */
3052
class RemoveVServerGroupBackendServers extends Rpc
3053
{
3054
3055
    /**
3056
     * @param string $value
3057
     *
3058
     * @return $this
3059
     */
3060
    public function withAccessKeyId($value)
3061
    {
3062
        $this->data['AccessKeyId'] = $value;
3063
        $this->options['query']['access_key_id'] = $value;
3064
3065
        return $this;
3066
    }
3067
}
3068
3069
/**
3070
 * @method string getAccessKeyId()
3071
 * @method string getResourceOwnerId()
3072
 * @method $this withResourceOwnerId($value)
3073
 * @method string getAclName()
3074
 * @method $this withAclName($value)
3075
 * @method string getAclId()
3076
 * @method $this withAclId($value)
3077
 * @method string getResourceOwnerAccount()
3078
 * @method $this withResourceOwnerAccount($value)
3079
 * @method string getOwnerAccount()
3080
 * @method $this withOwnerAccount($value)
3081
 * @method string getOwnerId()
3082
 * @method $this withOwnerId($value)
3083
 * @method string getTags()
3084
 * @method $this withTags($value)
3085
 */
3086
class SetAccessControlListAttribute extends Rpc
3087
{
3088
3089
    /**
3090
     * @param string $value
3091
     *
3092
     * @return $this
3093
     */
3094
    public function withAccessKeyId($value)
3095
    {
3096
        $this->data['AccessKeyId'] = $value;
3097
        $this->options['query']['access_key_id'] = $value;
3098
3099
        return $this;
3100
    }
3101
}
3102
3103
/**
3104
 * @method string getAccessKeyId()
3105
 * @method string getResourceOwnerId()
3106
 * @method $this withResourceOwnerId($value)
3107
 * @method string getBackendServers()
3108
 * @method $this withBackendServers($value)
3109
 * @method string getResourceOwnerAccount()
3110
 * @method $this withResourceOwnerAccount($value)
3111
 * @method string getOwnerAccount()
3112
 * @method $this withOwnerAccount($value)
3113
 * @method string getOwnerId()
3114
 * @method $this withOwnerId($value)
3115
 * @method string getTags()
3116
 * @method $this withTags($value)
3117
 * @method string getLoadBalancerId()
3118
 * @method $this withLoadBalancerId($value)
3119
 */
3120
class SetBackendServers extends Rpc
3121
{
3122
3123
    /**
3124
     * @param string $value
3125
     *
3126
     * @return $this
3127
     */
3128
    public function withAccessKeyId($value)
3129
    {
3130
        $this->data['AccessKeyId'] = $value;
3131
        $this->options['query']['access_key_id'] = $value;
3132
3133
        return $this;
3134
    }
3135
}
3136
3137
/**
3138
 * @method string getAccessKeyId()
3139
 * @method string getResourceOwnerId()
3140
 * @method $this withResourceOwnerId($value)
3141
 * @method string getCACertificateName()
3142
 * @method $this withCACertificateName($value)
3143
 * @method string getResourceOwnerAccount()
3144
 * @method $this withResourceOwnerAccount($value)
3145
 * @method string getOwnerAccount()
3146
 * @method $this withOwnerAccount($value)
3147
 * @method string getOwnerId()
3148
 * @method $this withOwnerId($value)
3149
 * @method string getCACertificateId()
3150
 * @method $this withCACertificateId($value)
3151
 */
3152
class SetCACertificateName extends Rpc
3153
{
3154
3155
    /**
3156
     * @param string $value
3157
     *
3158
     * @return $this
3159
     */
3160
    public function withAccessKeyId($value)
3161
    {
3162
        $this->data['AccessKeyId'] = $value;
3163
        $this->options['query']['access_key_id'] = $value;
3164
3165
        return $this;
3166
    }
3167
}
3168
3169
/**
3170
 * @method string getAccessKeyId()
3171
 * @method string getResourceOwnerId()
3172
 * @method $this withResourceOwnerId($value)
3173
 * @method array getServerCertificate()
3174
 * @method string getDomainExtensionId()
3175
 * @method $this withDomainExtensionId($value)
3176
 * @method string getResourceOwnerAccount()
3177
 * @method $this withResourceOwnerAccount($value)
3178
 * @method string getOwnerAccount()
3179
 * @method $this withOwnerAccount($value)
3180
 * @method array getCertificateId()
3181
 * @method string getOwnerId()
3182
 * @method $this withOwnerId($value)
3183
 * @method string getServerCertificateId()
3184
 * @method $this withServerCertificateId($value)
3185
 * @method string getTags()
3186
 * @method $this withTags($value)
3187
 */
3188
class SetDomainExtensionAttribute extends Rpc
3189
{
3190
3191
    /**
3192
     * @param string $value
3193
     *
3194
     * @return $this
3195
     */
3196
    public function withAccessKeyId($value)
3197
    {
3198
        $this->data['AccessKeyId'] = $value;
3199
        $this->options['query']['access_key_id'] = $value;
3200
3201
        return $this;
3202
    }
3203
3204
    /**
3205
     * @param array $serverCertificate
3206
     *
3207
     * @return $this
3208
     */
3209
	public function withServerCertificate(array $serverCertificate)
3210
	{
3211
	    $this->data['ServerCertificate'] = $serverCertificate;
3212
		foreach ($serverCertificate as $depth1 => $depth1Value) {
3213
			if(isset($depth1Value['BindingType'])){
3214
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.BindingType'] = $depth1Value['BindingType'];
3215
			}
3216
			if(isset($depth1Value['CertificateId'])){
3217
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.CertificateId'] = $depth1Value['CertificateId'];
3218
			}
3219
			if(isset($depth1Value['StandardType'])){
3220
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.StandardType'] = $depth1Value['StandardType'];
3221
			}
3222
		}
3223
3224
		return $this;
3225
    }
3226
3227
    /**
3228
     * @param array $certificateId
3229
     *
3230
     * @return $this
3231
     */
3232
	public function withCertificateId(array $certificateId)
3233
	{
3234
	    $this->data['CertificateId'] = $certificateId;
3235
		foreach ($certificateId as $i => $iValue) {
3236
			$this->options['query']['CertificateId.' . ($i + 1)] = $iValue;
3237
		}
3238
3239
		return $this;
3240
    }
3241
}
3242
3243
/**
3244
 * @method string getAccessKeyId()
3245
 * @method string getResourceOwnerId()
3246
 * @method $this withResourceOwnerId($value)
3247
 * @method string getAccessControlStatus()
3248
 * @method $this withAccessControlStatus($value)
3249
 * @method string getListenerPort()
3250
 * @method $this withListenerPort($value)
3251
 * @method string getResourceOwnerAccount()
3252
 * @method $this withResourceOwnerAccount($value)
3253
 * @method string getOwnerAccount()
3254
 * @method $this withOwnerAccount($value)
3255
 * @method string getOwnerId()
3256
 * @method $this withOwnerId($value)
3257
 * @method string getListenerProtocol()
3258
 * @method $this withListenerProtocol($value)
3259
 * @method string getTags()
3260
 * @method $this withTags($value)
3261
 * @method string getLoadBalancerId()
3262
 * @method $this withLoadBalancerId($value)
3263
 */
3264
class SetListenerAccessControlStatus extends Rpc
3265
{
3266
3267
    /**
3268
     * @param string $value
3269
     *
3270
     * @return $this
3271
     */
3272
    public function withAccessKeyId($value)
3273
    {
3274
        $this->data['AccessKeyId'] = $value;
3275
        $this->options['query']['access_key_id'] = $value;
3276
3277
        return $this;
3278
    }
3279
}
3280
3281
/**
3282
 * @method string getAccessKeyId()
3283
 * @method string getResourceOwnerId()
3284
 * @method $this withResourceOwnerId($value)
3285
 * @method string getDeleteProtection()
3286
 * @method $this withDeleteProtection($value)
3287
 * @method string getResourceOwnerAccount()
3288
 * @method $this withResourceOwnerAccount($value)
3289
 * @method string getOwnerAccount()
3290
 * @method $this withOwnerAccount($value)
3291
 * @method string getOwnerId()
3292
 * @method $this withOwnerId($value)
3293
 * @method string getTags()
3294
 * @method $this withTags($value)
3295
 * @method string getLoadBalancerId()
3296
 * @method $this withLoadBalancerId($value)
3297
 */
3298
class SetLoadBalancerDeleteProtection extends Rpc
3299
{
3300
3301
    /**
3302
     * @param string $value
3303
     *
3304
     * @return $this
3305
     */
3306
    public function withAccessKeyId($value)
3307
    {
3308
        $this->data['AccessKeyId'] = $value;
3309
        $this->options['query']['access_key_id'] = $value;
3310
3311
        return $this;
3312
    }
3313
}
3314
3315
/**
3316
 * @method string getResourceOwnerId()
3317
 * @method $this withResourceOwnerId($value)
3318
 * @method string getHealthCheckTimeout()
3319
 * @method $this withHealthCheckTimeout($value)
3320
 * @method string getXForwardedFor()
3321
 * @method $this withXForwardedFor($value)
3322
 * @method string getHealthCheckURI()
3323
 * @method $this withHealthCheckURI($value)
3324
 * @method string getXForwardedForSLBPORT()
3325
 * @method string getAclStatus()
3326
 * @method $this withAclStatus($value)
3327
 * @method string getAclType()
3328
 * @method $this withAclType($value)
3329
 * @method string getHealthCheck()
3330
 * @method $this withHealthCheck($value)
3331
 * @method string getVpcIds()
3332
 * @method $this withVpcIds($value)
3333
 * @method string getVServerGroupId()
3334
 * @method $this withVServerGroupId($value)
3335
 * @method string getAclId()
3336
 * @method $this withAclId($value)
3337
 * @method string getForwardCode()
3338
 * @method $this withForwardCode($value)
3339
 * @method string getCookie()
3340
 * @method $this withCookie($value)
3341
 * @method string getHealthCheckMethod()
3342
 * @method $this withHealthCheckMethod($value)
3343
 * @method string getHealthCheckDomain()
3344
 * @method $this withHealthCheckDomain($value)
3345
 * @method string getRequestTimeout()
3346
 * @method $this withRequestTimeout($value)
3347
 * @method string getOwnerId()
3348
 * @method $this withOwnerId($value)
3349
 * @method string getTags()
3350
 * @method $this withTags($value)
3351
 * @method string getLoadBalancerId()
3352
 * @method $this withLoadBalancerId($value)
3353
 * @method string getXForwardedForSLBIP()
3354
 * @method string getHealthCheckInterval()
3355
 * @method $this withHealthCheckInterval($value)
3356
 * @method string getXForwardedForSLBID()
3357
 * @method string getAccessKeyId()
3358
 * @method string getXForwardedForCLientSrcPort()
3359
 * @method string getDescription()
3360
 * @method $this withDescription($value)
3361
 * @method string getUnhealthyThreshold()
3362
 * @method $this withUnhealthyThreshold($value)
3363
 * @method string getHealthyThreshold()
3364
 * @method $this withHealthyThreshold($value)
3365
 * @method string getScheduler()
3366
 * @method $this withScheduler($value)
3367
 * @method string getMaxConnection()
3368
 * @method $this withMaxConnection($value)
3369
 * @method string getCookieTimeout()
3370
 * @method $this withCookieTimeout($value)
3371
 * @method string getStickySessionType()
3372
 * @method $this withStickySessionType($value)
3373
 * @method string getListenerPort()
3374
 * @method $this withListenerPort($value)
3375
 * @method string getHealthCheckType()
3376
 * @method $this withHealthCheckType($value)
3377
 * @method string getResourceOwnerAccount()
3378
 * @method $this withResourceOwnerAccount($value)
3379
 * @method string getBandwidth()
3380
 * @method $this withBandwidth($value)
3381
 * @method string getStickySession()
3382
 * @method $this withStickySession($value)
3383
 * @method string getOwnerAccount()
3384
 * @method $this withOwnerAccount($value)
3385
 * @method string getGzip()
3386
 * @method $this withGzip($value)
3387
 * @method string getIdleTimeout()
3388
 * @method $this withIdleTimeout($value)
3389
 * @method string getXForwardedForProto()
3390
 * @method string getHealthCheckConnectPort()
3391
 * @method $this withHealthCheckConnectPort($value)
3392
 * @method string getHealthCheckHttpCode()
3393
 * @method $this withHealthCheckHttpCode($value)
3394
 * @method string getVServerGroup()
3395
 * @method $this withVServerGroup($value)
3396
 */
3397
class SetLoadBalancerHTTPListenerAttribute extends Rpc
3398
{
3399
3400
    /**
3401
     * @param string $value
3402
     *
3403
     * @return $this
3404
     */
3405
    public function withXForwardedForSLBPORT($value)
3406
    {
3407
        $this->data['XForwardedForSLBPORT'] = $value;
3408
        $this->options['query']['XForwardedFor_SLBPORT'] = $value;
3409
3410
        return $this;
3411
    }
3412
3413
    /**
3414
     * @param string $value
3415
     *
3416
     * @return $this
3417
     */
3418
    public function withXForwardedForSLBIP($value)
3419
    {
3420
        $this->data['XForwardedForSLBIP'] = $value;
3421
        $this->options['query']['XForwardedFor_SLBIP'] = $value;
3422
3423
        return $this;
3424
    }
3425
3426
    /**
3427
     * @param string $value
3428
     *
3429
     * @return $this
3430
     */
3431
    public function withXForwardedForSLBID($value)
3432
    {
3433
        $this->data['XForwardedForSLBID'] = $value;
3434
        $this->options['query']['XForwardedFor_SLBID'] = $value;
3435
3436
        return $this;
3437
    }
3438
3439
    /**
3440
     * @param string $value
3441
     *
3442
     * @return $this
3443
     */
3444
    public function withAccessKeyId($value)
3445
    {
3446
        $this->data['AccessKeyId'] = $value;
3447
        $this->options['query']['access_key_id'] = $value;
3448
3449
        return $this;
3450
    }
3451
3452
    /**
3453
     * @param string $value
3454
     *
3455
     * @return $this
3456
     */
3457
    public function withXForwardedForCLientSrcPort($value)
3458
    {
3459
        $this->data['XForwardedForCLientSrcPort'] = $value;
3460
        $this->options['query']['XForwardedFor_ClientSrcPort'] = $value;
3461
3462
        return $this;
3463
    }
3464
3465
    /**
3466
     * @param string $value
3467
     *
3468
     * @return $this
3469
     */
3470
    public function withXForwardedForProto($value)
3471
    {
3472
        $this->data['XForwardedForProto'] = $value;
3473
        $this->options['query']['XForwardedFor_proto'] = $value;
3474
3475
        return $this;
3476
    }
3477
}
3478
3479
/**
3480
 * @method string getResourceOwnerId()
3481
 * @method $this withResourceOwnerId($value)
3482
 * @method array getServerCertificate()
3483
 * @method string getHealthCheckTimeout()
3484
 * @method $this withHealthCheckTimeout($value)
3485
 * @method string getXForwardedFor()
3486
 * @method $this withXForwardedFor($value)
3487
 * @method string getHealthCheckURI()
3488
 * @method $this withHealthCheckURI($value)
3489
 * @method string getXForwardedForSLBPORT()
3490
 * @method string getAclStatus()
3491
 * @method $this withAclStatus($value)
3492
 * @method string getAclType()
3493
 * @method $this withAclType($value)
3494
 * @method string getHealthCheck()
3495
 * @method $this withHealthCheck($value)
3496
 * @method string getVpcIds()
3497
 * @method $this withVpcIds($value)
3498
 * @method string getVServerGroupId()
3499
 * @method $this withVServerGroupId($value)
3500
 * @method string getAclId()
3501
 * @method $this withAclId($value)
3502
 * @method string getXForwardedForCLientCertClientVerify()
3503
 * @method string getCookie()
3504
 * @method $this withCookie($value)
3505
 * @method string getHealthCheckMethod()
3506
 * @method $this withHealthCheckMethod($value)
3507
 * @method string getHealthCheckDomain()
3508
 * @method $this withHealthCheckDomain($value)
3509
 * @method string getRequestTimeout()
3510
 * @method $this withRequestTimeout($value)
3511
 * @method string getOwnerId()
3512
 * @method $this withOwnerId($value)
3513
 * @method string getCACertificateId()
3514
 * @method $this withCACertificateId($value)
3515
 * @method string getBackendProtocol()
3516
 * @method $this withBackendProtocol($value)
3517
 * @method string getTags()
3518
 * @method $this withTags($value)
3519
 * @method string getXForwardedForCLientCertFingerprintAlias()
3520
 * @method string getLoadBalancerId()
3521
 * @method $this withLoadBalancerId($value)
3522
 * @method string getXForwardedForSLBIP()
3523
 * @method string getHealthCheckInterval()
3524
 * @method $this withHealthCheckInterval($value)
3525
 * @method string getXForwardedForCLientCertClientVerifyAlias()
3526
 * @method string getXForwardedForSLBID()
3527
 * @method string getXForwardedForCLientCertFingerprint()
3528
 * @method string getAccessKeyId()
3529
 * @method string getXForwardedForCLientSrcPort()
3530
 * @method string getDescription()
3531
 * @method $this withDescription($value)
3532
 * @method string getUnhealthyThreshold()
3533
 * @method $this withUnhealthyThreshold($value)
3534
 * @method string getXForwardedForCLientCertIssuerDNAlias()
3535
 * @method string getHealthyThreshold()
3536
 * @method $this withHealthyThreshold($value)
3537
 * @method string getScheduler()
3538
 * @method $this withScheduler($value)
3539
 * @method string getMaxConnection()
3540
 * @method $this withMaxConnection($value)
3541
 * @method string getEnableHttp2()
3542
 * @method $this withEnableHttp2($value)
3543
 * @method string getXForwardedForCLientCertSubjectDN()
3544
 * @method string getCookieTimeout()
3545
 * @method $this withCookieTimeout($value)
3546
 * @method string getStickySessionType()
3547
 * @method $this withStickySessionType($value)
3548
 * @method string getListenerPort()
3549
 * @method $this withListenerPort($value)
3550
 * @method string getHealthCheckType()
3551
 * @method $this withHealthCheckType($value)
3552
 * @method string getResourceOwnerAccount()
3553
 * @method $this withResourceOwnerAccount($value)
3554
 * @method string getBandwidth()
3555
 * @method $this withBandwidth($value)
3556
 * @method string getStickySession()
3557
 * @method $this withStickySession($value)
3558
 * @method string getOwnerAccount()
3559
 * @method $this withOwnerAccount($value)
3560
 * @method string getGzip()
3561
 * @method $this withGzip($value)
3562
 * @method string getTLSCipherPolicy()
3563
 * @method $this withTLSCipherPolicy($value)
3564
 * @method string getServerCertificateId()
3565
 * @method $this withServerCertificateId($value)
3566
 * @method string getIdleTimeout()
3567
 * @method $this withIdleTimeout($value)
3568
 * @method string getXForwardedForProto()
3569
 * @method string getXForwardedForCLientCertSubjectDNAlias()
3570
 * @method string getHealthCheckConnectPort()
3571
 * @method $this withHealthCheckConnectPort($value)
3572
 * @method string getHealthCheckHttpCode()
3573
 * @method $this withHealthCheckHttpCode($value)
3574
 * @method string getVServerGroup()
3575
 * @method $this withVServerGroup($value)
3576
 * @method string getXForwardedForCLientCertIssuerDN()
3577
 */
3578
class SetLoadBalancerHTTPSListenerAttribute extends Rpc
3579
{
3580
3581
    /**
3582
     * @param array $serverCertificate
3583
     *
3584
     * @return $this
3585
     */
3586
	public function withServerCertificate(array $serverCertificate)
3587
	{
3588
	    $this->data['ServerCertificate'] = $serverCertificate;
3589
		foreach ($serverCertificate as $depth1 => $depth1Value) {
3590
			if(isset($depth1Value['BindingType'])){
3591
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.BindingType'] = $depth1Value['BindingType'];
3592
			}
3593
			if(isset($depth1Value['CertificateId'])){
3594
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.CertificateId'] = $depth1Value['CertificateId'];
3595
			}
3596
			if(isset($depth1Value['StandardType'])){
3597
				$this->options['query']['ServerCertificate.' . ($depth1 + 1) . '.StandardType'] = $depth1Value['StandardType'];
3598
			}
3599
		}
3600
3601
		return $this;
3602
    }
3603
3604
    /**
3605
     * @param string $value
3606
     *
3607
     * @return $this
3608
     */
3609
    public function withXForwardedForSLBPORT($value)
3610
    {
3611
        $this->data['XForwardedForSLBPORT'] = $value;
3612
        $this->options['query']['XForwardedFor_SLBPORT'] = $value;
3613
3614
        return $this;
3615
    }
3616
3617
    /**
3618
     * @param string $value
3619
     *
3620
     * @return $this
3621
     */
3622
    public function withXForwardedForCLientCertClientVerify($value)
3623
    {
3624
        $this->data['XForwardedForCLientCertClientVerify'] = $value;
3625
        $this->options['query']['XForwardedFor_ClientCertClientVerify'] = $value;
3626
3627
        return $this;
3628
    }
3629
3630
    /**
3631
     * @param string $value
3632
     *
3633
     * @return $this
3634
     */
3635
    public function withXForwardedForCLientCertFingerprintAlias($value)
3636
    {
3637
        $this->data['XForwardedForCLientCertFingerprintAlias'] = $value;
3638
        $this->options['query']['XForwardedFor_ClientCertFingerprintAlias'] = $value;
3639
3640
        return $this;
3641
    }
3642
3643
    /**
3644
     * @param string $value
3645
     *
3646
     * @return $this
3647
     */
3648
    public function withXForwardedForSLBIP($value)
3649
    {
3650
        $this->data['XForwardedForSLBIP'] = $value;
3651
        $this->options['query']['XForwardedFor_SLBIP'] = $value;
3652
3653
        return $this;
3654
    }
3655
3656
    /**
3657
     * @param string $value
3658
     *
3659
     * @return $this
3660
     */
3661
    public function withXForwardedForCLientCertClientVerifyAlias($value)
3662
    {
3663
        $this->data['XForwardedForCLientCertClientVerifyAlias'] = $value;
3664
        $this->options['query']['XForwardedFor_ClientCertClientVerifyAlias'] = $value;
3665
3666
        return $this;
3667
    }
3668
3669
    /**
3670
     * @param string $value
3671
     *
3672
     * @return $this
3673
     */
3674
    public function withXForwardedForSLBID($value)
3675
    {
3676
        $this->data['XForwardedForSLBID'] = $value;
3677
        $this->options['query']['XForwardedFor_SLBID'] = $value;
3678
3679
        return $this;
3680
    }
3681
3682
    /**
3683
     * @param string $value
3684
     *
3685
     * @return $this
3686
     */
3687
    public function withXForwardedForCLientCertFingerprint($value)
3688
    {
3689
        $this->data['XForwardedForCLientCertFingerprint'] = $value;
3690
        $this->options['query']['XForwardedFor_ClientCertFingerprint'] = $value;
3691
3692
        return $this;
3693
    }
3694
3695
    /**
3696
     * @param string $value
3697
     *
3698
     * @return $this
3699
     */
3700
    public function withAccessKeyId($value)
3701
    {
3702
        $this->data['AccessKeyId'] = $value;
3703
        $this->options['query']['access_key_id'] = $value;
3704
3705
        return $this;
3706
    }
3707
3708
    /**
3709
     * @param string $value
3710
     *
3711
     * @return $this
3712
     */
3713
    public function withXForwardedForCLientSrcPort($value)
3714
    {
3715
        $this->data['XForwardedForCLientSrcPort'] = $value;
3716
        $this->options['query']['XForwardedFor_ClientSrcPort'] = $value;
3717
3718
        return $this;
3719
    }
3720
3721
    /**
3722
     * @param string $value
3723
     *
3724
     * @return $this
3725
     */
3726
    public function withXForwardedForCLientCertIssuerDNAlias($value)
3727
    {
3728
        $this->data['XForwardedForCLientCertIssuerDNAlias'] = $value;
3729
        $this->options['query']['XForwardedFor_ClientCertIssuerDNAlias'] = $value;
3730
3731
        return $this;
3732
    }
3733
3734
    /**
3735
     * @param string $value
3736
     *
3737
     * @return $this
3738
     */
3739
    public function withXForwardedForCLientCertSubjectDN($value)
3740
    {
3741
        $this->data['XForwardedForCLientCertSubjectDN'] = $value;
3742
        $this->options['query']['XForwardedFor_ClientCertSubjectDN'] = $value;
3743
3744
        return $this;
3745
    }
3746
3747
    /**
3748
     * @param string $value
3749
     *
3750
     * @return $this
3751
     */
3752
    public function withXForwardedForProto($value)
3753
    {
3754
        $this->data['XForwardedForProto'] = $value;
3755
        $this->options['query']['XForwardedFor_proto'] = $value;
3756
3757
        return $this;
3758
    }
3759
3760
    /**
3761
     * @param string $value
3762
     *
3763
     * @return $this
3764
     */
3765
    public function withXForwardedForCLientCertSubjectDNAlias($value)
3766
    {
3767
        $this->data['XForwardedForCLientCertSubjectDNAlias'] = $value;
3768
        $this->options['query']['XForwardedFor_ClientCertSubjectDNAlias'] = $value;
3769
3770
        return $this;
3771
    }
3772
3773
    /**
3774
     * @param string $value
3775
     *
3776
     * @return $this
3777
     */
3778
    public function withXForwardedForCLientCertIssuerDN($value)
3779
    {
3780
        $this->data['XForwardedForCLientCertIssuerDN'] = $value;
3781
        $this->options['query']['XForwardedFor_ClientCertIssuerDN'] = $value;
3782
3783
        return $this;
3784
    }
3785
}
3786
3787
/**
3788
 * @method string getModificationProtectionReason()
3789
 * @method $this withModificationProtectionReason($value)
3790
 * @method string getResourceOwnerId()
3791
 * @method $this withResourceOwnerId($value)
3792
 * @method string getResourceOwnerAccount()
3793
 * @method $this withResourceOwnerAccount($value)
3794
 * @method string getModificationProtectionStatus()
3795
 * @method $this withModificationProtectionStatus($value)
3796
 * @method string getOwnerAccount()
3797
 * @method $this withOwnerAccount($value)
3798
 * @method string getOwnerId()
3799
 * @method $this withOwnerId($value)
3800
 * @method string getLoadBalancerId()
3801
 * @method $this withLoadBalancerId($value)
3802
 */
3803
class SetLoadBalancerModificationProtection extends Rpc
3804
{
3805
}
3806
3807
/**
3808
 * @method string getAccessKeyId()
3809
 * @method string getResourceOwnerId()
3810
 * @method $this withResourceOwnerId($value)
3811
 * @method string getLoadBalancerName()
3812
 * @method $this withLoadBalancerName($value)
3813
 * @method string getResourceOwnerAccount()
3814
 * @method $this withResourceOwnerAccount($value)
3815
 * @method string getOwnerAccount()
3816
 * @method $this withOwnerAccount($value)
3817
 * @method string getOwnerId()
3818
 * @method $this withOwnerId($value)
3819
 * @method string getTags()
3820
 * @method $this withTags($value)
3821
 * @method string getLoadBalancerId()
3822
 * @method $this withLoadBalancerId($value)
3823
 */
3824
class SetLoadBalancerName extends Rpc
3825
{
3826
3827
    /**
3828
     * @param string $value
3829
     *
3830
     * @return $this
3831
     */
3832
    public function withAccessKeyId($value)
3833
    {
3834
        $this->data['AccessKeyId'] = $value;
3835
        $this->options['query']['access_key_id'] = $value;
3836
3837
        return $this;
3838
    }
3839
}
3840
3841
/**
3842
 * @method string getAccessKeyId()
3843
 * @method string getResourceOwnerId()
3844
 * @method $this withResourceOwnerId($value)
3845
 * @method string getResourceOwnerAccount()
3846
 * @method $this withResourceOwnerAccount($value)
3847
 * @method string getOwnerAccount()
3848
 * @method $this withOwnerAccount($value)
3849
 * @method string getOwnerId()
3850
 * @method $this withOwnerId($value)
3851
 * @method string getLoadBalancerStatus()
3852
 * @method $this withLoadBalancerStatus($value)
3853
 * @method string getTags()
3854
 * @method $this withTags($value)
3855
 * @method string getLoadBalancerId()
3856
 * @method $this withLoadBalancerId($value)
3857
 */
3858
class SetLoadBalancerStatus extends Rpc
3859
{
3860
3861
    /**
3862
     * @param string $value
3863
     *
3864
     * @return $this
3865
     */
3866
    public function withAccessKeyId($value)
3867
    {
3868
        $this->data['AccessKeyId'] = $value;
3869
        $this->options['query']['access_key_id'] = $value;
3870
3871
        return $this;
3872
    }
3873
}
3874
3875
/**
3876
 * @method string getResourceOwnerId()
3877
 * @method $this withResourceOwnerId($value)
3878
 * @method string getHealthCheckURI()
3879
 * @method $this withHealthCheckURI($value)
3880
 * @method string getAclStatus()
3881
 * @method $this withAclStatus($value)
3882
 * @method string getAclType()
3883
 * @method $this withAclType($value)
3884
 * @method string getMasterSlaveServerGroup()
3885
 * @method $this withMasterSlaveServerGroup($value)
3886
 * @method string getEstablishedTimeout()
3887
 * @method $this withEstablishedTimeout($value)
3888
 * @method string getPersistenceTimeout()
3889
 * @method $this withPersistenceTimeout($value)
3890
 * @method string getVpcIds()
3891
 * @method $this withVpcIds($value)
3892
 * @method string getVServerGroupId()
3893
 * @method $this withVServerGroupId($value)
3894
 * @method string getAclId()
3895
 * @method $this withAclId($value)
3896
 * @method array getPortRange()
3897
 * @method string getHealthCheckMethod()
3898
 * @method $this withHealthCheckMethod($value)
3899
 * @method string getHealthCheckDomain()
3900
 * @method $this withHealthCheckDomain($value)
3901
 * @method string getSynProxy()
3902
 * @method $this withSynProxy($value)
3903
 * @method string getOwnerId()
3904
 * @method $this withOwnerId($value)
3905
 * @method string getTags()
3906
 * @method $this withTags($value)
3907
 * @method string getLoadBalancerId()
3908
 * @method $this withLoadBalancerId($value)
3909
 * @method string getMasterSlaveServerGroupId()
3910
 * @method $this withMasterSlaveServerGroupId($value)
3911
 * @method string getHealthCheckInterval()
3912
 * @method $this withHealthCheckInterval($value)
3913
 * @method string getConnectionDrain()
3914
 * @method $this withConnectionDrain($value)
3915
 * @method string getAccessKeyId()
3916
 * @method string getHealthCheckConnectTimeout()
3917
 * @method $this withHealthCheckConnectTimeout($value)
3918
 * @method string getDescription()
3919
 * @method $this withDescription($value)
3920
 * @method string getUnhealthyThreshold()
3921
 * @method $this withUnhealthyThreshold($value)
3922
 * @method string getHealthyThreshold()
3923
 * @method $this withHealthyThreshold($value)
3924
 * @method string getScheduler()
3925
 * @method $this withScheduler($value)
3926
 * @method string getMaxConnection()
3927
 * @method $this withMaxConnection($value)
3928
 * @method string getListenerPort()
3929
 * @method $this withListenerPort($value)
3930
 * @method string getHealthCheckType()
3931
 * @method $this withHealthCheckType($value)
3932
 * @method string getResourceOwnerAccount()
3933
 * @method $this withResourceOwnerAccount($value)
3934
 * @method string getBandwidth()
3935
 * @method $this withBandwidth($value)
3936
 * @method string getOwnerAccount()
3937
 * @method $this withOwnerAccount($value)
3938
 * @method string getConnectionDrainTimeout()
3939
 * @method $this withConnectionDrainTimeout($value)
3940
 * @method string getHealthCheckConnectPort()
3941
 * @method $this withHealthCheckConnectPort($value)
3942
 * @method string getHealthCheckHttpCode()
3943
 * @method $this withHealthCheckHttpCode($value)
3944
 * @method string getVServerGroup()
3945
 * @method $this withVServerGroup($value)
3946
 */
3947
class SetLoadBalancerTCPListenerAttribute extends Rpc
3948
{
3949
3950
    /**
3951
     * @param array $portRange
3952
     *
3953
     * @return $this
3954
     */
3955
	public function withPortRange(array $portRange)
3956
	{
3957
	    $this->data['PortRange'] = $portRange;
3958
		foreach ($portRange as $depth1 => $depth1Value) {
3959
			if(isset($depth1Value['StartPort'])){
3960
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.StartPort'] = $depth1Value['StartPort'];
3961
			}
3962
			if(isset($depth1Value['EndPort'])){
3963
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.EndPort'] = $depth1Value['EndPort'];
3964
			}
3965
		}
3966
3967
		return $this;
3968
    }
3969
3970
    /**
3971
     * @param string $value
3972
     *
3973
     * @return $this
3974
     */
3975
    public function withAccessKeyId($value)
3976
    {
3977
        $this->data['AccessKeyId'] = $value;
3978
        $this->options['query']['access_key_id'] = $value;
3979
3980
        return $this;
3981
    }
3982
}
3983
3984
/**
3985
 * @method string getResourceOwnerId()
3986
 * @method $this withResourceOwnerId($value)
3987
 * @method string getAclStatus()
3988
 * @method $this withAclStatus($value)
3989
 * @method string getAclType()
3990
 * @method $this withAclType($value)
3991
 * @method string getMasterSlaveServerGroup()
3992
 * @method $this withMasterSlaveServerGroup($value)
3993
 * @method string getPersistenceTimeout()
3994
 * @method $this withPersistenceTimeout($value)
3995
 * @method string getVpcIds()
3996
 * @method $this withVpcIds($value)
3997
 * @method string getVServerGroupId()
3998
 * @method $this withVServerGroupId($value)
3999
 * @method string getAclId()
4000
 * @method $this withAclId($value)
4001
 * @method array getPortRange()
4002
 * @method string getOwnerId()
4003
 * @method $this withOwnerId($value)
4004
 * @method string getTags()
4005
 * @method $this withTags($value)
4006
 * @method string getLoadBalancerId()
4007
 * @method $this withLoadBalancerId($value)
4008
 * @method string getMasterSlaveServerGroupId()
4009
 * @method $this withMasterSlaveServerGroupId($value)
4010
 * @method string getHealthCheckReq()
4011
 * @method string getHealthCheckInterval()
4012
 * @method $this withHealthCheckInterval($value)
4013
 * @method string getHealthCheckExp()
4014
 * @method string getConnectionDrain()
4015
 * @method $this withConnectionDrain($value)
4016
 * @method string getAccessKeyId()
4017
 * @method string getHealthCheckConnectTimeout()
4018
 * @method $this withHealthCheckConnectTimeout($value)
4019
 * @method string getDescription()
4020
 * @method $this withDescription($value)
4021
 * @method string getUnhealthyThreshold()
4022
 * @method $this withUnhealthyThreshold($value)
4023
 * @method string getHealthyThreshold()
4024
 * @method $this withHealthyThreshold($value)
4025
 * @method string getScheduler()
4026
 * @method $this withScheduler($value)
4027
 * @method string getMaxConnection()
4028
 * @method $this withMaxConnection($value)
4029
 * @method string getListenerPort()
4030
 * @method $this withListenerPort($value)
4031
 * @method string getResourceOwnerAccount()
4032
 * @method $this withResourceOwnerAccount($value)
4033
 * @method string getBandwidth()
4034
 * @method $this withBandwidth($value)
4035
 * @method string getOwnerAccount()
4036
 * @method $this withOwnerAccount($value)
4037
 * @method string getConnectionDrainTimeout()
4038
 * @method $this withConnectionDrainTimeout($value)
4039
 * @method string getHealthCheckConnectPort()
4040
 * @method $this withHealthCheckConnectPort($value)
4041
 * @method string getVServerGroup()
4042
 * @method $this withVServerGroup($value)
4043
 */
4044
class SetLoadBalancerUDPListenerAttribute extends Rpc
4045
{
4046
4047
    /**
4048
     * @param array $portRange
4049
     *
4050
     * @return $this
4051
     */
4052
	public function withPortRange(array $portRange)
4053
	{
4054
	    $this->data['PortRange'] = $portRange;
4055
		foreach ($portRange as $depth1 => $depth1Value) {
4056
			if(isset($depth1Value['StartPort'])){
4057
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.StartPort'] = $depth1Value['StartPort'];
4058
			}
4059
			if(isset($depth1Value['EndPort'])){
4060
				$this->options['query']['PortRange.' . ($depth1 + 1) . '.EndPort'] = $depth1Value['EndPort'];
4061
			}
4062
		}
4063
4064
		return $this;
4065
    }
4066
4067
    /**
4068
     * @param string $value
4069
     *
4070
     * @return $this
4071
     */
4072
    public function withHealthCheckReq($value)
4073
    {
4074
        $this->data['HealthCheckReq'] = $value;
4075
        $this->options['query']['healthCheckReq'] = $value;
4076
4077
        return $this;
4078
    }
4079
4080
    /**
4081
     * @param string $value
4082
     *
4083
     * @return $this
4084
     */
4085
    public function withHealthCheckExp($value)
4086
    {
4087
        $this->data['HealthCheckExp'] = $value;
4088
        $this->options['query']['healthCheckExp'] = $value;
4089
4090
        return $this;
4091
    }
4092
4093
    /**
4094
     * @param string $value
4095
     *
4096
     * @return $this
4097
     */
4098
    public function withAccessKeyId($value)
4099
    {
4100
        $this->data['AccessKeyId'] = $value;
4101
        $this->options['query']['access_key_id'] = $value;
4102
4103
        return $this;
4104
    }
4105
}
4106
4107
/**
4108
 * @method string getAccessKeyId()
4109
 * @method string getResourceOwnerId()
4110
 * @method $this withResourceOwnerId($value)
4111
 * @method string getHealthCheckTimeout()
4112
 * @method $this withHealthCheckTimeout($value)
4113
 * @method string getHealthCheckURI()
4114
 * @method $this withHealthCheckURI($value)
4115
 * @method string getRuleName()
4116
 * @method $this withRuleName($value)
4117
 * @method string getUnhealthyThreshold()
4118
 * @method $this withUnhealthyThreshold($value)
4119
 * @method string getHealthyThreshold()
4120
 * @method $this withHealthyThreshold($value)
4121
 * @method string getScheduler()
4122
 * @method $this withScheduler($value)
4123
 * @method string getHealthCheck()
4124
 * @method $this withHealthCheck($value)
4125
 * @method string getListenerSync()
4126
 * @method $this withListenerSync($value)
4127
 * @method string getCookieTimeout()
4128
 * @method $this withCookieTimeout($value)
4129
 * @method string getStickySessionType()
4130
 * @method $this withStickySessionType($value)
4131
 * @method string getVServerGroupId()
4132
 * @method $this withVServerGroupId($value)
4133
 * @method string getCookie()
4134
 * @method $this withCookie($value)
4135
 * @method string getResourceOwnerAccount()
4136
 * @method $this withResourceOwnerAccount($value)
4137
 * @method string getStickySession()
4138
 * @method $this withStickySession($value)
4139
 * @method string getHealthCheckDomain()
4140
 * @method $this withHealthCheckDomain($value)
4141
 * @method string getOwnerAccount()
4142
 * @method $this withOwnerAccount($value)
4143
 * @method string getOwnerId()
4144
 * @method $this withOwnerId($value)
4145
 * @method string getTags()
4146
 * @method $this withTags($value)
4147
 * @method string getHealthCheckInterval()
4148
 * @method $this withHealthCheckInterval($value)
4149
 * @method string getRuleId()
4150
 * @method $this withRuleId($value)
4151
 * @method string getHealthCheckConnectPort()
4152
 * @method $this withHealthCheckConnectPort($value)
4153
 * @method string getHealthCheckHttpCode()
4154
 * @method $this withHealthCheckHttpCode($value)
4155
 */
4156
class SetRule extends Rpc
4157
{
4158
4159
    /**
4160
     * @param string $value
4161
     *
4162
     * @return $this
4163
     */
4164
    public function withAccessKeyId($value)
4165
    {
4166
        $this->data['AccessKeyId'] = $value;
4167
        $this->options['query']['access_key_id'] = $value;
4168
4169
        return $this;
4170
    }
4171
}
4172
4173
/**
4174
 * @method string getAccessKeyId()
4175
 * @method string getResourceOwnerId()
4176
 * @method $this withResourceOwnerId($value)
4177
 * @method string getResourceOwnerAccount()
4178
 * @method $this withResourceOwnerAccount($value)
4179
 * @method string getOwnerAccount()
4180
 * @method $this withOwnerAccount($value)
4181
 * @method string getOwnerId()
4182
 * @method $this withOwnerId($value)
4183
 * @method string getServerCertificateId()
4184
 * @method $this withServerCertificateId($value)
4185
 * @method string getTags()
4186
 * @method $this withTags($value)
4187
 * @method string getServerCertificateName()
4188
 * @method $this withServerCertificateName($value)
4189
 */
4190
class SetServerCertificateName extends Rpc
4191
{
4192
4193
    /**
4194
     * @param string $value
4195
     *
4196
     * @return $this
4197
     */
4198
    public function withAccessKeyId($value)
4199
    {
4200
        $this->data['AccessKeyId'] = $value;
4201
        $this->options['query']['access_key_id'] = $value;
4202
4203
        return $this;
4204
    }
4205
}
4206
4207
/**
4208
 * @method string getAccessKeyId()
4209
 * @method string getResourceOwnerId()
4210
 * @method $this withResourceOwnerId($value)
4211
 * @method string getTLSCipherPolicyId()
4212
 * @method $this withTLSCipherPolicyId($value)
4213
 * @method array getCiphers()
4214
 * @method array getTLSVersions()
4215
 * @method string getResourceOwnerAccount()
4216
 * @method $this withResourceOwnerAccount($value)
4217
 * @method string getOwnerAccount()
4218
 * @method $this withOwnerAccount($value)
4219
 * @method string getOwnerId()
4220
 * @method $this withOwnerId($value)
4221
 * @method string getName()
4222
 * @method $this withName($value)
4223
 */
4224
class SetTLSCipherPolicyAttribute extends Rpc
4225
{
4226
4227
    /**
4228
     * @param string $value
4229
     *
4230
     * @return $this
4231
     */
4232
    public function withAccessKeyId($value)
4233
    {
4234
        $this->data['AccessKeyId'] = $value;
4235
        $this->options['query']['access_key_id'] = $value;
4236
4237
        return $this;
4238
    }
4239
4240
    /**
4241
     * @param array $ciphers
4242
     *
4243
     * @return $this
4244
     */
4245
	public function withCiphers(array $ciphers)
4246
	{
4247
	    $this->data['Ciphers'] = $ciphers;
4248
		foreach ($ciphers as $i => $iValue) {
4249
			$this->options['query']['Ciphers.' . ($i + 1)] = $iValue;
4250
		}
4251
4252
		return $this;
4253
    }
4254
4255
    /**
4256
     * @param array $tLSVersions
4257
     *
4258
     * @return $this
4259
     */
4260
	public function withTLSVersions(array $tLSVersions)
4261
	{
4262
	    $this->data['TLSVersions'] = $tLSVersions;
4263
		foreach ($tLSVersions as $i => $iValue) {
4264
			$this->options['query']['TLSVersions.' . ($i + 1)] = $iValue;
4265
		}
4266
4267
		return $this;
4268
    }
4269
}
4270
4271
/**
4272
 * @method string getAccessKeyId()
4273
 * @method string getResourceOwnerId()
4274
 * @method $this withResourceOwnerId($value)
4275
 * @method string getBackendServers()
4276
 * @method $this withBackendServers($value)
4277
 * @method string getVServerGroupId()
4278
 * @method $this withVServerGroupId($value)
4279
 * @method string getResourceOwnerAccount()
4280
 * @method $this withResourceOwnerAccount($value)
4281
 * @method string getOwnerAccount()
4282
 * @method $this withOwnerAccount($value)
4283
 * @method string getOwnerId()
4284
 * @method $this withOwnerId($value)
4285
 * @method string getTags()
4286
 * @method $this withTags($value)
4287
 * @method string getVServerGroupName()
4288
 * @method $this withVServerGroupName($value)
4289
 */
4290
class SetVServerGroupAttribute extends Rpc
4291
{
4292
4293
    /**
4294
     * @param string $value
4295
     *
4296
     * @return $this
4297
     */
4298
    public function withAccessKeyId($value)
4299
    {
4300
        $this->data['AccessKeyId'] = $value;
4301
        $this->options['query']['access_key_id'] = $value;
4302
4303
        return $this;
4304
    }
4305
}
4306
4307
/**
4308
 * @method string getAccessKeyId()
4309
 * @method string getResourceOwnerId()
4310
 * @method $this withResourceOwnerId($value)
4311
 * @method string getListenerPort()
4312
 * @method $this withListenerPort($value)
4313
 * @method string getResourceOwnerAccount()
4314
 * @method $this withResourceOwnerAccount($value)
4315
 * @method string getOwnerAccount()
4316
 * @method $this withOwnerAccount($value)
4317
 * @method string getOwnerId()
4318
 * @method $this withOwnerId($value)
4319
 * @method string getListenerProtocol()
4320
 * @method $this withListenerProtocol($value)
4321
 * @method string getTags()
4322
 * @method $this withTags($value)
4323
 * @method string getLoadBalancerId()
4324
 * @method $this withLoadBalancerId($value)
4325
 */
4326
class StartLoadBalancerListener extends Rpc
4327
{
4328
4329
    /**
4330
     * @param string $value
4331
     *
4332
     * @return $this
4333
     */
4334
    public function withAccessKeyId($value)
4335
    {
4336
        $this->data['AccessKeyId'] = $value;
4337
        $this->options['query']['access_key_id'] = $value;
4338
4339
        return $this;
4340
    }
4341
}
4342
4343
/**
4344
 * @method string getAccessKeyId()
4345
 * @method string getResourceOwnerId()
4346
 * @method $this withResourceOwnerId($value)
4347
 * @method string getListenerPort()
4348
 * @method $this withListenerPort($value)
4349
 * @method string getResourceOwnerAccount()
4350
 * @method $this withResourceOwnerAccount($value)
4351
 * @method string getOwnerAccount()
4352
 * @method $this withOwnerAccount($value)
4353
 * @method string getOwnerId()
4354
 * @method $this withOwnerId($value)
4355
 * @method string getListenerProtocol()
4356
 * @method $this withListenerProtocol($value)
4357
 * @method string getTags()
4358
 * @method $this withTags($value)
4359
 * @method string getLoadBalancerId()
4360
 * @method $this withLoadBalancerId($value)
4361
 */
4362
class StopLoadBalancerListener extends Rpc
4363
{
4364
4365
    /**
4366
     * @param string $value
4367
     *
4368
     * @return $this
4369
     */
4370
    public function withAccessKeyId($value)
4371
    {
4372
        $this->data['AccessKeyId'] = $value;
4373
        $this->options['query']['access_key_id'] = $value;
4374
4375
        return $this;
4376
    }
4377
}
4378
4379
/**
4380
 * @method string getAccessKeyId()
4381
 * @method string getResourceOwnerId()
4382
 * @method $this withResourceOwnerId($value)
4383
 * @method array getTag()
4384
 * @method array getResourceId()
4385
 * @method string getResourceOwnerAccount()
4386
 * @method $this withResourceOwnerAccount($value)
4387
 * @method string getOwnerAccount()
4388
 * @method $this withOwnerAccount($value)
4389
 * @method string getOwnerId()
4390
 * @method $this withOwnerId($value)
4391
 * @method string getResourceType()
4392
 * @method $this withResourceType($value)
4393
 */
4394
class TagResources extends Rpc
4395
{
4396
4397
    /**
4398
     * @param string $value
4399
     *
4400
     * @return $this
4401
     */
4402
    public function withAccessKeyId($value)
4403
    {
4404
        $this->data['AccessKeyId'] = $value;
4405
        $this->options['query']['access_key_id'] = $value;
4406
4407
        return $this;
4408
    }
4409
4410
    /**
4411
     * @param array $tag
4412
     *
4413
     * @return $this
4414
     */
4415
	public function withTag(array $tag)
4416
	{
4417
	    $this->data['Tag'] = $tag;
4418
		foreach ($tag as $depth1 => $depth1Value) {
4419
			if(isset($depth1Value['Value'])){
4420
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4421
			}
4422
			if(isset($depth1Value['Key'])){
4423
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4424
			}
4425
		}
4426
4427
		return $this;
4428
    }
4429
4430
    /**
4431
     * @param array $resourceId
4432
     *
4433
     * @return $this
4434
     */
4435
	public function withResourceId(array $resourceId)
4436
	{
4437
	    $this->data['ResourceId'] = $resourceId;
4438
		foreach ($resourceId as $i => $iValue) {
4439
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
4440
		}
4441
4442
		return $this;
4443
    }
4444
}
4445
4446
/**
4447
 * @method string getAccessKeyId()
4448
 * @method string getResourceOwnerId()
4449
 * @method $this withResourceOwnerId($value)
4450
 * @method string getAll()
4451
 * @method $this withAll($value)
4452
 * @method array getResourceId()
4453
 * @method string getResourceOwnerAccount()
4454
 * @method $this withResourceOwnerAccount($value)
4455
 * @method string getOwnerAccount()
4456
 * @method $this withOwnerAccount($value)
4457
 * @method string getOwnerId()
4458
 * @method $this withOwnerId($value)
4459
 * @method string getResourceType()
4460
 * @method $this withResourceType($value)
4461
 * @method array getTagKey()
4462
 */
4463
class UntagResources extends Rpc
4464
{
4465
4466
    /**
4467
     * @param string $value
4468
     *
4469
     * @return $this
4470
     */
4471
    public function withAccessKeyId($value)
4472
    {
4473
        $this->data['AccessKeyId'] = $value;
4474
        $this->options['query']['access_key_id'] = $value;
4475
4476
        return $this;
4477
    }
4478
4479
    /**
4480
     * @param array $resourceId
4481
     *
4482
     * @return $this
4483
     */
4484
	public function withResourceId(array $resourceId)
4485
	{
4486
	    $this->data['ResourceId'] = $resourceId;
4487
		foreach ($resourceId as $i => $iValue) {
4488
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
4489
		}
4490
4491
		return $this;
4492
    }
4493
4494
    /**
4495
     * @param array $tagKey
4496
     *
4497
     * @return $this
4498
     */
4499
	public function withTagKey(array $tagKey)
4500
	{
4501
	    $this->data['TagKey'] = $tagKey;
4502
		foreach ($tagKey as $i => $iValue) {
4503
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
4504
		}
4505
4506
		return $this;
4507
    }
4508
}
4509
4510
/**
4511
 * @method string getAccessKeyId()
4512
 * @method string getResourceOwnerId()
4513
 * @method $this withResourceOwnerId($value)
4514
 * @method string getResourceGroupId()
4515
 * @method $this withResourceGroupId($value)
4516
 * @method string getCACertificateName()
4517
 * @method $this withCACertificateName($value)
4518
 * @method string getCACertificate()
4519
 * @method $this withCACertificate($value)
4520
 * @method string getResourceOwnerAccount()
4521
 * @method $this withResourceOwnerAccount($value)
4522
 * @method string getOwnerAccount()
4523
 * @method $this withOwnerAccount($value)
4524
 * @method string getStandardType()
4525
 * @method $this withStandardType($value)
4526
 * @method string getOwnerId()
4527
 * @method $this withOwnerId($value)
4528
 */
4529
class UploadCACertificate extends Rpc
4530
{
4531
4532
    /**
4533
     * @param string $value
4534
     *
4535
     * @return $this
4536
     */
4537
    public function withAccessKeyId($value)
4538
    {
4539
        $this->data['AccessKeyId'] = $value;
4540
        $this->options['query']['access_key_id'] = $value;
4541
4542
        return $this;
4543
    }
4544
}
4545
4546
/**
4547
 * @method string getAccessKeyId()
4548
 * @method string getResourceOwnerId()
4549
 * @method $this withResourceOwnerId($value)
4550
 * @method string getServerCertificate()
4551
 * @method $this withServerCertificate($value)
4552
 * @method string getAliCloudCertificateName()
4553
 * @method $this withAliCloudCertificateName($value)
4554
 * @method string getAliCloudCertificateId()
4555
 * @method $this withAliCloudCertificateId($value)
4556
 * @method string getPrivateKey()
4557
 * @method $this withPrivateKey($value)
4558
 * @method string getResourceGroupId()
4559
 * @method $this withResourceGroupId($value)
4560
 * @method string getResourceOwnerAccount()
4561
 * @method $this withResourceOwnerAccount($value)
4562
 * @method string getOwnerAccount()
4563
 * @method $this withOwnerAccount($value)
4564
 * @method string getStandardType()
4565
 * @method $this withStandardType($value)
4566
 * @method string getOwnerId()
4567
 * @method $this withOwnerId($value)
4568
 * @method string getTags()
4569
 * @method $this withTags($value)
4570
 * @method string getAliCloudCertificateRegionId()
4571
 * @method $this withAliCloudCertificateRegionId($value)
4572
 * @method string getServerCertificateName()
4573
 * @method $this withServerCertificateName($value)
4574
 */
4575
class UploadServerCertificate extends Rpc
4576
{
4577
4578
    /**
4579
     * @param string $value
4580
     *
4581
     * @return $this
4582
     */
4583
    public function withAccessKeyId($value)
4584
    {
4585
        $this->data['AccessKeyId'] = $value;
4586
        $this->options['query']['access_key_id'] = $value;
4587
4588
        return $this;
4589
    }
4590
}
4591