JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class VolumeSpecification

    • Constructor Detail

      • VolumeSpecification

        public VolumeSpecification()
    • Method Detail

      • setVolumeType

        public void setVolumeType(String volumeType)

        The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.

        Parameters:
        volumeType - The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
      • getVolumeType

        public String getVolumeType()

        The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.

        Returns:
        The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
      • withVolumeType

        public VolumeSpecification withVolumeType(String volumeType)

        The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.

        Parameters:
        volumeType - The volume type. Volume types supported are gp3, gp2, io1, st1, sc1, and standard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIops

        public void setIops(Integer iops)

        The number of I/O operations per second (IOPS) that the volume supports.

        Parameters:
        iops - The number of I/O operations per second (IOPS) that the volume supports.
      • getIops

        public Integer getIops()

        The number of I/O operations per second (IOPS) that the volume supports.

        Returns:
        The number of I/O operations per second (IOPS) that the volume supports.
      • withIops

        public VolumeSpecification withIops(Integer iops)

        The number of I/O operations per second (IOPS) that the volume supports.

        Parameters:
        iops - The number of I/O operations per second (IOPS) that the volume supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSizeInGB

        public void setSizeInGB(Integer sizeInGB)

        The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.

        Parameters:
        sizeInGB - The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
      • getSizeInGB

        public Integer getSizeInGB()

        The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.

        Returns:
        The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
      • withSizeInGB

        public VolumeSpecification withSizeInGB(Integer sizeInGB)

        The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.

        Parameters:
        sizeInGB - The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setThroughput

        public void setThroughput(Integer throughput)

        The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

        Parameters:
        throughput - The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
      • getThroughput

        public Integer getThroughput()

        The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

        Returns:
        The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
      • withThroughput

        public VolumeSpecification withThroughput(Integer throughput)

        The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.

        Parameters:
        throughput - The throughput, in mebibyte per second (MiB/s). This optional parameter can be a number from 125 - 1000 and is valid only for gp3 volumes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /