accelerators = $accelerators; } /** * @return AcceleratorConfig[] */ public function getAccelerators() { return $this->accelerators; } /** * @param DiskConfig */ public function setDiskConfig(DiskConfig $diskConfig) { $this->diskConfig = $diskConfig; } /** * @return DiskConfig */ public function getDiskConfig() { return $this->diskConfig; } /** * @param string */ public function setImageUri($imageUri) { $this->imageUri = $imageUri; } /** * @return string */ public function getImageUri() { return $this->imageUri; } /** * @param InstanceFlexibilityPolicy */ public function setInstanceFlexibilityPolicy(InstanceFlexibilityPolicy $instanceFlexibilityPolicy) { $this->instanceFlexibilityPolicy = $instanceFlexibilityPolicy; } /** * @return InstanceFlexibilityPolicy */ public function getInstanceFlexibilityPolicy() { return $this->instanceFlexibilityPolicy; } /** * @param string[] */ public function setInstanceNames($instanceNames) { $this->instanceNames = $instanceNames; } /** * @return string[] */ public function getInstanceNames() { return $this->instanceNames; } /** * @param InstanceReference[] */ public function setInstanceReferences($instanceReferences) { $this->instanceReferences = $instanceReferences; } /** * @return InstanceReference[] */ public function getInstanceReferences() { return $this->instanceReferences; } /** * @param bool */ public function setIsPreemptible($isPreemptible) { $this->isPreemptible = $isPreemptible; } /** * @return bool */ public function getIsPreemptible() { return $this->isPreemptible; } /** * @param string */ public function setMachineTypeUri($machineTypeUri) { $this->machineTypeUri = $machineTypeUri; } /** * @return string */ public function getMachineTypeUri() { return $this->machineTypeUri; } /** * @param ManagedGroupConfig */ public function setManagedGroupConfig(ManagedGroupConfig $managedGroupConfig) { $this->managedGroupConfig = $managedGroupConfig; } /** * @return ManagedGroupConfig */ public function getManagedGroupConfig() { return $this->managedGroupConfig; } /** * @param string */ public function setMinCpuPlatform($minCpuPlatform) { $this->minCpuPlatform = $minCpuPlatform; } /** * @return string */ public function getMinCpuPlatform() { return $this->minCpuPlatform; } /** * @param int */ public function setMinNumInstances($minNumInstances) { $this->minNumInstances = $minNumInstances; } /** * @return int */ public function getMinNumInstances() { return $this->minNumInstances; } /** * @param int */ public function setNumInstances($numInstances) { $this->numInstances = $numInstances; } /** * @return int */ public function getNumInstances() { return $this->numInstances; } /** * @param string */ public function setPreemptibility($preemptibility) { $this->preemptibility = $preemptibility; } /** * @return string */ public function getPreemptibility() { return $this->preemptibility; } /** * @param StartupConfig */ public function setStartupConfig(StartupConfig $startupConfig) { $this->startupConfig = $startupConfig; } /** * @return StartupConfig */ public function getStartupConfig() { return $this->startupConfig; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(InstanceGroupConfig::class, 'Google_Service_Dataproc_InstanceGroupConfig');