/** * <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). * @return Returns a reference to this object so that method calls can be chained together. * @see VolumeType */ public EbsBlockDevice withVolumeType(String volumeType) { setVolumeType(volumeType); return this; }
ebsBlockDevice.setVolumeType(context.getUnmarshaller(String.class).unmarshall(context));
/** * <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). * @return Returns a reference to this object so that method calls can be chained together. * @see VolumeType */ public EbsBlockDevice withVolumeType(String volumeType) { setVolumeType(volumeType); return this; }
ebsBlockDevice.setVolumeType(context.getUnmarshaller(String.class).unmarshall(context));