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

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







DiskConfig (Cloud Dataproc API v1-rev20241025-2.0.0)












com.google.api.services.dataproc.model

Class DiskConfig

    • Constructor Detail

      • DiskConfig

        public DiskConfig()
    • Method Detail

      • getBootDiskProvisionedIops

        public Long getBootDiskProvisionedIops()
        Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
        Returns:
        value or null for none
      • setBootDiskProvisionedIops

        public DiskConfig setBootDiskProvisionedIops(Long bootDiskProvisionedIops)
        Optional. Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
        Parameters:
        bootDiskProvisionedIops - bootDiskProvisionedIops or null for none
      • getBootDiskProvisionedThroughput

        public Long getBootDiskProvisionedThroughput()
        Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
        Returns:
        value or null for none
      • setBootDiskProvisionedThroughput

        public DiskConfig setBootDiskProvisionedThroughput(Long bootDiskProvisionedThroughput)
        Optional. Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. Values must be greater than or equal to 1. Note: This field is only supported if boot_disk_type is hyperdisk-balanced.
        Parameters:
        bootDiskProvisionedThroughput - bootDiskProvisionedThroughput or null for none
      • getBootDiskSizeGb

        public Integer getBootDiskSizeGb()
        Optional. Size in GB of the boot disk (default is 500GB).
        Returns:
        value or null for none
      • setBootDiskSizeGb

        public DiskConfig setBootDiskSizeGb(Integer bootDiskSizeGb)
        Optional. Size in GB of the boot disk (default is 500GB).
        Parameters:
        bootDiskSizeGb - bootDiskSizeGb or null for none
      • getBootDiskType

        public String getBootDiskType()
        Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
        Returns:
        value or null for none
      • setBootDiskType

        public DiskConfig setBootDiskType(String bootDiskType)
        Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
        Parameters:
        bootDiskType - bootDiskType or null for none
      • getLocalSsdInterface

        public String getLocalSsdInterface()
        Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
        Returns:
        value or null for none
      • setLocalSsdInterface

        public DiskConfig setLocalSsdInterface(String localSsdInterface)
        Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
        Parameters:
        localSsdInterface - localSsdInterface or null for none
      • getNumLocalSsds

        public Integer getNumLocalSsds()
        Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
        Returns:
        value or null for none
      • setNumLocalSsds

        public DiskConfig setNumLocalSsds(Integer numLocalSsds)
        Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
        Parameters:
        numLocalSsds - numLocalSsds or null for none
      • set

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

        public DiskConfig 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