[f9c482b] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service\VMMigrationService;
|
---|
| 19 |
|
---|
| 20 | class AwsVmDetails extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'securityGroups';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $architecture;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $bootOption;
|
---|
| 31 | /**
|
---|
| 32 | * @var string
|
---|
| 33 | */
|
---|
| 34 | public $committedStorageMb;
|
---|
| 35 | /**
|
---|
| 36 | * @var int
|
---|
| 37 | */
|
---|
| 38 | public $cpuCount;
|
---|
| 39 | /**
|
---|
| 40 | * @var int
|
---|
| 41 | */
|
---|
| 42 | public $diskCount;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $displayName;
|
---|
| 47 | /**
|
---|
| 48 | * @var string
|
---|
| 49 | */
|
---|
| 50 | public $instanceType;
|
---|
| 51 | /**
|
---|
| 52 | * @var int
|
---|
| 53 | */
|
---|
| 54 | public $memoryMb;
|
---|
| 55 | /**
|
---|
| 56 | * @var string
|
---|
| 57 | */
|
---|
| 58 | public $osDescription;
|
---|
| 59 | /**
|
---|
| 60 | * @var string
|
---|
| 61 | */
|
---|
| 62 | public $powerState;
|
---|
| 63 | protected $securityGroupsType = AwsSecurityGroup::class;
|
---|
| 64 | protected $securityGroupsDataType = 'array';
|
---|
| 65 | /**
|
---|
| 66 | * @var string
|
---|
| 67 | */
|
---|
| 68 | public $sourceDescription;
|
---|
| 69 | /**
|
---|
| 70 | * @var string
|
---|
| 71 | */
|
---|
| 72 | public $sourceId;
|
---|
| 73 | /**
|
---|
| 74 | * @var string[]
|
---|
| 75 | */
|
---|
| 76 | public $tags;
|
---|
| 77 | /**
|
---|
| 78 | * @var string
|
---|
| 79 | */
|
---|
| 80 | public $virtualizationType;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $vmId;
|
---|
| 85 | /**
|
---|
| 86 | * @var string
|
---|
| 87 | */
|
---|
| 88 | public $vpcId;
|
---|
| 89 | /**
|
---|
| 90 | * @var string
|
---|
| 91 | */
|
---|
| 92 | public $zone;
|
---|
| 93 |
|
---|
| 94 | /**
|
---|
| 95 | * @param string
|
---|
| 96 | */
|
---|
| 97 | public function setArchitecture($architecture)
|
---|
| 98 | {
|
---|
| 99 | $this->architecture = $architecture;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return string
|
---|
| 103 | */
|
---|
| 104 | public function getArchitecture()
|
---|
| 105 | {
|
---|
| 106 | return $this->architecture;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param string
|
---|
| 110 | */
|
---|
| 111 | public function setBootOption($bootOption)
|
---|
| 112 | {
|
---|
| 113 | $this->bootOption = $bootOption;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return string
|
---|
| 117 | */
|
---|
| 118 | public function getBootOption()
|
---|
| 119 | {
|
---|
| 120 | return $this->bootOption;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param string
|
---|
| 124 | */
|
---|
| 125 | public function setCommittedStorageMb($committedStorageMb)
|
---|
| 126 | {
|
---|
| 127 | $this->committedStorageMb = $committedStorageMb;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return string
|
---|
| 131 | */
|
---|
| 132 | public function getCommittedStorageMb()
|
---|
| 133 | {
|
---|
| 134 | return $this->committedStorageMb;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param int
|
---|
| 138 | */
|
---|
| 139 | public function setCpuCount($cpuCount)
|
---|
| 140 | {
|
---|
| 141 | $this->cpuCount = $cpuCount;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return int
|
---|
| 145 | */
|
---|
| 146 | public function getCpuCount()
|
---|
| 147 | {
|
---|
| 148 | return $this->cpuCount;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param int
|
---|
| 152 | */
|
---|
| 153 | public function setDiskCount($diskCount)
|
---|
| 154 | {
|
---|
| 155 | $this->diskCount = $diskCount;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return int
|
---|
| 159 | */
|
---|
| 160 | public function getDiskCount()
|
---|
| 161 | {
|
---|
| 162 | return $this->diskCount;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param string
|
---|
| 166 | */
|
---|
| 167 | public function setDisplayName($displayName)
|
---|
| 168 | {
|
---|
| 169 | $this->displayName = $displayName;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return string
|
---|
| 173 | */
|
---|
| 174 | public function getDisplayName()
|
---|
| 175 | {
|
---|
| 176 | return $this->displayName;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param string
|
---|
| 180 | */
|
---|
| 181 | public function setInstanceType($instanceType)
|
---|
| 182 | {
|
---|
| 183 | $this->instanceType = $instanceType;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return string
|
---|
| 187 | */
|
---|
| 188 | public function getInstanceType()
|
---|
| 189 | {
|
---|
| 190 | return $this->instanceType;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param int
|
---|
| 194 | */
|
---|
| 195 | public function setMemoryMb($memoryMb)
|
---|
| 196 | {
|
---|
| 197 | $this->memoryMb = $memoryMb;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return int
|
---|
| 201 | */
|
---|
| 202 | public function getMemoryMb()
|
---|
| 203 | {
|
---|
| 204 | return $this->memoryMb;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param string
|
---|
| 208 | */
|
---|
| 209 | public function setOsDescription($osDescription)
|
---|
| 210 | {
|
---|
| 211 | $this->osDescription = $osDescription;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return string
|
---|
| 215 | */
|
---|
| 216 | public function getOsDescription()
|
---|
| 217 | {
|
---|
| 218 | return $this->osDescription;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param string
|
---|
| 222 | */
|
---|
| 223 | public function setPowerState($powerState)
|
---|
| 224 | {
|
---|
| 225 | $this->powerState = $powerState;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return string
|
---|
| 229 | */
|
---|
| 230 | public function getPowerState()
|
---|
| 231 | {
|
---|
| 232 | return $this->powerState;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param AwsSecurityGroup[]
|
---|
| 236 | */
|
---|
| 237 | public function setSecurityGroups($securityGroups)
|
---|
| 238 | {
|
---|
| 239 | $this->securityGroups = $securityGroups;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return AwsSecurityGroup[]
|
---|
| 243 | */
|
---|
| 244 | public function getSecurityGroups()
|
---|
| 245 | {
|
---|
| 246 | return $this->securityGroups;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string
|
---|
| 250 | */
|
---|
| 251 | public function setSourceDescription($sourceDescription)
|
---|
| 252 | {
|
---|
| 253 | $this->sourceDescription = $sourceDescription;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string
|
---|
| 257 | */
|
---|
| 258 | public function getSourceDescription()
|
---|
| 259 | {
|
---|
| 260 | return $this->sourceDescription;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @param string
|
---|
| 264 | */
|
---|
| 265 | public function setSourceId($sourceId)
|
---|
| 266 | {
|
---|
| 267 | $this->sourceId = $sourceId;
|
---|
| 268 | }
|
---|
| 269 | /**
|
---|
| 270 | * @return string
|
---|
| 271 | */
|
---|
| 272 | public function getSourceId()
|
---|
| 273 | {
|
---|
| 274 | return $this->sourceId;
|
---|
| 275 | }
|
---|
| 276 | /**
|
---|
| 277 | * @param string[]
|
---|
| 278 | */
|
---|
| 279 | public function setTags($tags)
|
---|
| 280 | {
|
---|
| 281 | $this->tags = $tags;
|
---|
| 282 | }
|
---|
| 283 | /**
|
---|
| 284 | * @return string[]
|
---|
| 285 | */
|
---|
| 286 | public function getTags()
|
---|
| 287 | {
|
---|
| 288 | return $this->tags;
|
---|
| 289 | }
|
---|
| 290 | /**
|
---|
| 291 | * @param string
|
---|
| 292 | */
|
---|
| 293 | public function setVirtualizationType($virtualizationType)
|
---|
| 294 | {
|
---|
| 295 | $this->virtualizationType = $virtualizationType;
|
---|
| 296 | }
|
---|
| 297 | /**
|
---|
| 298 | * @return string
|
---|
| 299 | */
|
---|
| 300 | public function getVirtualizationType()
|
---|
| 301 | {
|
---|
| 302 | return $this->virtualizationType;
|
---|
| 303 | }
|
---|
| 304 | /**
|
---|
| 305 | * @param string
|
---|
| 306 | */
|
---|
| 307 | public function setVmId($vmId)
|
---|
| 308 | {
|
---|
| 309 | $this->vmId = $vmId;
|
---|
| 310 | }
|
---|
| 311 | /**
|
---|
| 312 | * @return string
|
---|
| 313 | */
|
---|
| 314 | public function getVmId()
|
---|
| 315 | {
|
---|
| 316 | return $this->vmId;
|
---|
| 317 | }
|
---|
| 318 | /**
|
---|
| 319 | * @param string
|
---|
| 320 | */
|
---|
| 321 | public function setVpcId($vpcId)
|
---|
| 322 | {
|
---|
| 323 | $this->vpcId = $vpcId;
|
---|
| 324 | }
|
---|
| 325 | /**
|
---|
| 326 | * @return string
|
---|
| 327 | */
|
---|
| 328 | public function getVpcId()
|
---|
| 329 | {
|
---|
| 330 | return $this->vpcId;
|
---|
| 331 | }
|
---|
| 332 | /**
|
---|
| 333 | * @param string
|
---|
| 334 | */
|
---|
| 335 | public function setZone($zone)
|
---|
| 336 | {
|
---|
| 337 | $this->zone = $zone;
|
---|
| 338 | }
|
---|
| 339 | /**
|
---|
| 340 | * @return string
|
---|
| 341 | */
|
---|
| 342 | public function getZone()
|
---|
| 343 | {
|
---|
| 344 | return $this->zone;
|
---|
| 345 | }
|
---|
| 346 | }
|
---|
| 347 |
|
---|
| 348 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 349 | class_alias(AwsVmDetails::class, 'Google_Service_VMMigrationService_AwsVmDetails');
|
---|