Class VolumeConfiguration

    • Method Detail

      • volumeType

        public final String volumeType()

        The volume type.

        The volume types can be the following:

        • General Purpose SSD gp2 and gp3

        • Provisioned IOPS SSD io1, io2, and io2 Block Express

        • Throughput Optimized HDD st1

        • Cold HDD sc1

        • Magnetic volumes standard

        Returns:
        The volume type.

        The volume types can be the following:

        • General Purpose SSD gp2 and gp3

        • Provisioned IOPS SSD io1, io2, and io2 Block Express

        • Throughput Optimized HDD st1

        • Cold HDD sc1

        • Magnetic volumes standard

      • volumeSize

        public final Integer volumeSize()

        The size of the volume, in GiB.

        Returns:
        The size of the volume, in GiB.
      • volumeBaselineIOPS

        public final Integer volumeBaselineIOPS()

        The baseline IOPS of the volume.

        Returns:
        The baseline IOPS of the volume.
      • volumeBurstIOPS

        public final Integer volumeBurstIOPS()

        The burst IOPS of the volume.

        Returns:
        The burst IOPS of the volume.
      • volumeBaselineThroughput

        public final Integer volumeBaselineThroughput()

        The baseline throughput of the volume.

        Returns:
        The baseline throughput of the volume.
      • volumeBurstThroughput

        public final Integer volumeBurstThroughput()

        The burst throughput of the volume.

        Returns:
        The burst throughput of the volume.
      • rootVolume

        public final Boolean rootVolume()

        Contains the image used to boot the instance during launch.

        Returns:
        Contains the image used to boot the instance during launch.
      • 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)