| 1 | <?php |
||
| 9 | class InitializeOptions |
||
| 10 | { |
||
| 11 | protected $version; |
||
| 12 | protected $region; |
||
| 13 | protected $credentials; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * InitializeOptions constructor. |
||
| 17 | * @param array $options |
||
| 18 | */ |
||
| 19 | public function __construct(array $options = []) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Set options |
||
| 28 | * @param array $options |
||
| 29 | */ |
||
| 30 | public function setOptions(array $options) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return mixed |
||
| 42 | */ |
||
| 43 | public function getVersion() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param mixed $version |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function setVersion($version) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return mixed |
||
| 60 | */ |
||
| 61 | public function getRegion() |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @param mixed $region |
||
| 68 | * @return $this |
||
| 69 | */ |
||
| 70 | public function setRegion($region) |
||
| 75 | |||
| 76 | /** |
||
| 77 | * @return CredentialsOptions |
||
| 78 | */ |
||
| 79 | public function getCredentials() |
||
| 83 | |||
| 84 | /** |
||
| 85 | * @param CredentialsOptions|array $credentials |
||
| 86 | * @return CredentialsOptions |
||
| 87 | */ |
||
| 88 | public function setCredentials($credentials = []) |
||
| 99 | } |
||
| 100 |