All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataproc.model.ProvisioningModelMix.html Maven / Gradle / Ivy

The newest version!






ProvisioningModelMix (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class ProvisioningModelMix

    • Constructor Detail

      • ProvisioningModelMix

        public ProvisioningModelMix()
    • Method Detail

      • getStandardCapacityBase

        public Integer getStandardCapacityBase()
        Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances.
        Returns:
        value or null for none
      • setStandardCapacityBase

        public ProvisioningModelMix setStandardCapacityBase(Integer standardCapacityBase)
        Optional. The base capacity that will always use Standard VMs to avoid risk of more preemption than the minimum capacity you need. Dataproc will create only standard VMs until it reaches standard_capacity_base, then it will start using standard_capacity_percent_above_base to mix Spot with Standard VMs. eg. If 15 instances are requested and standard_capacity_base is 5, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances.
        Parameters:
        standardCapacityBase - standardCapacityBase or null for none
      • getStandardCapacityPercentAboveBase

        public Integer getStandardCapacityPercentAboveBase()
        Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard_capacity_base. eg. If 15 instances are requested and standard_capacity_base is 5 and standard_capacity_percent_above_base is 30, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot.
        Returns:
        value or null for none
      • setStandardCapacityPercentAboveBase

        public ProvisioningModelMix setStandardCapacityPercentAboveBase(Integer standardCapacityPercentAboveBase)
        Optional. The percentage of target capacity that should use Standard VM. The remaining percentage will use Spot VMs. The percentage applies only to the capacity above standard_capacity_base. eg. If 15 instances are requested and standard_capacity_base is 5 and standard_capacity_percent_above_base is 30, Dataproc will create 5 standard VMs and then start mixing spot and standard VMs for remaining 10 instances. The mix will be 30% standard and 70% spot.
        Parameters:
        standardCapacityPercentAboveBase - standardCapacityPercentAboveBase or null for none
      • clone

        public ProvisioningModelMix clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy