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

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

There is a newer version: v1-rev20240821-2.0.0
Show newest version






GkeNodeConfig (Cloud Dataproc API v1-rev20240605-2.0.0)












com.google.api.services.dataproc.model

Class GkeNodeConfig

    • Constructor Detail

      • GkeNodeConfig

        public GkeNodeConfig()
    • Method Detail

      • getAccelerators

        public List<GkeNodePoolAcceleratorConfig> getAccelerators()
        Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.
        Returns:
        value or null for none
      • setAccelerators

        public GkeNodeConfig setAccelerators(List<GkeNodePoolAcceleratorConfig> accelerators)
        Optional. A list of hardware accelerators (https://cloud.google.com/compute/docs/gpus) to attach to each node.
        Parameters:
        accelerators - accelerators or null for none
      • getBootDiskKmsKey

        public String getBootDiskKmsKey()
        Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/kubernetes- engine/docs/how-to/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
        Returns:
        value or null for none
      • setBootDiskKmsKey

        public GkeNodeConfig setBootDiskKmsKey(String bootDiskKmsKey)
        Optional. The Customer Managed Encryption Key (CMEK) (https://cloud.google.com/kubernetes- engine/docs/how-to/using-cmek) used to encrypt the boot disk attached to each node in the node pool. Specify the key using the following format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
        Parameters:
        bootDiskKmsKey - bootDiskKmsKey or null for none
      • getLocalSsdCount

        public Integer getLocalSsdCount()
        Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).
        Returns:
        value or null for none
      • setLocalSsdCount

        public GkeNodeConfig setLocalSsdCount(Integer localSsdCount)
        Optional. The number of local SSD disks to attach to the node, which is limited by the maximum number of disks allowable per zone (see Adding Local SSDs (https://cloud.google.com/compute/docs/disks/local-ssd)).
        Parameters:
        localSsdCount - localSsdCount or null for none
      • getMachineType

        public String getMachineType()
        Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).
        Returns:
        value or null for none
      • setMachineType

        public GkeNodeConfig setMachineType(String machineType)
        Optional. The name of a Compute Engine machine type (https://cloud.google.com/compute/docs/machine-types).
        Parameters:
        machineType - machineType or null for none
      • getMinCpuPlatform

        public String getMinCpuPlatform()
        Optional. Minimum CPU platform (https://cloud.google.com/compute/docs/instances/specify-min- cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
        Returns:
        value or null for none
      • setMinCpuPlatform

        public GkeNodeConfig setMinCpuPlatform(String minCpuPlatform)
        Optional. Minimum CPU platform (https://cloud.google.com/compute/docs/instances/specify-min- cpu-platform) to be used by this instance. The instance may be scheduled on the specified or a newer CPU platform. Specify the friendly names of CPU platforms, such as "Intel Haswell"` or Intel Sandy Bridge".
        Parameters:
        minCpuPlatform - minCpuPlatform or null for none
      • getPreemptible

        public Boolean getPreemptible()
        Optional. Whether the nodes are created as legacy preemptible VM instances (https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
        Returns:
        value or null for none
      • setPreemptible

        public GkeNodeConfig setPreemptible(Boolean preemptible)
        Optional. Whether the nodes are created as legacy preemptible VM instances (https://cloud.google.com/compute/docs/instances/preemptible). Also see Spot VMs, preemptible VM instances without a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
        Parameters:
        preemptible - preemptible or null for none
      • getSpot

        public Boolean getSpot()
        Optional. Whether the nodes are created as Spot VM instances (https://cloud.google.com/compute/docs/instances/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
        Returns:
        value or null for none
      • setSpot

        public GkeNodeConfig setSpot(Boolean spot)
        Optional. Whether the nodes are created as Spot VM instances (https://cloud.google.com/compute/docs/instances/spot). Spot VMs are the latest update to legacy preemptible VMs. Spot VMs do not have a maximum lifetime. Legacy and Spot preemptible nodes cannot be used in a node pool with the CONTROLLER role or in the DEFAULT node pool if the CONTROLLER role is not assigned (the DEFAULT node pool will assume the CONTROLLER role).
        Parameters:
        spot - spot or null for none
      • set

        public GkeNodeConfig set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy