Class VolumeSpecification

    • Method Detail

      • volumeType

        public final String volumeType()

        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.
      • iops

        public final Integer iops()

        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.
      • sizeInGB

        public final 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.

        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.
      • throughput

        public final 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.

        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)