1 | <?php |
||
13 | class Region |
||
14 | { |
||
15 | |||
16 | private $possibleOptions = [ |
||
17 | "ap-northeast-1", |
||
18 | "ap-northeast-2", |
||
19 | "ap-south-1", |
||
20 | "ap-southeast-1", |
||
21 | "ap-southeast-2", |
||
22 | "eu-central-1", |
||
23 | "eu-west-1", |
||
24 | "sa-east-1", |
||
25 | "us-east-1", |
||
26 | "us-east-2", |
||
27 | "us-west-1", |
||
28 | "us-west-2", |
||
29 | ]; |
||
30 | |||
31 | private $name; |
||
32 | |||
33 | public function __construct($region) |
||
37 | |||
38 | public function __toString() |
||
42 | |||
43 | public function setName($region) |
||
52 | |||
53 | public function getName() |
||
57 | |||
58 | } |
||
59 |