/** * <p> * The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS (SSD) * volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold HDD,and * <code>standard</code> for Magnetic volumes. * </p> * <p> * If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code> * attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default * volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size). * </p> * * @param volumeType * The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS * (SSD) volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold * HDD,and <code>standard</code> for Magnetic volumes.</p> * <p> * If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code> * attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the * default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size). * @see VolumeType */ public void setVolumeType(VolumeType volumeType) { withVolumeType(volumeType); }
/** * <p> * The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS (SSD) * volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold HDD,and * <code>standard</code> for Magnetic volumes. * </p> * <p> * If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code> * attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the default * volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size). * </p> * * @param volumeType * The volume type. <code>gp2</code> for General Purpose (SSD) volumes, <code>io1</code> for Provisioned IOPS * (SSD) volumes, <code>st1</code> for Throughput Optimized hard disk drives (HDD), <code>sc1</code> for Cold * HDD,and <code>standard</code> for Magnetic volumes.</p> * <p> * If you specify the <code>io1</code> volume type, you must also specify a value for the <code>Iops</code> * attribute. The maximum ratio of provisioned IOPS to requested volume size (in GiB) is 50:1. AWS uses the * default volume size (in GiB) specified in the AMI attributes to set IOPS to 50 x (volume size). * @see VolumeType */ public void setVolumeType(VolumeType volumeType) { withVolumeType(volumeType); }