List of usage examples for com.amazonaws.services.elasticmapreduce.model VolumeSpecification getIops
public Integer getIops()
The number of I/O operations per second (IOPS) that the volume supports.
From source file:org.finra.herd.dao.helper.EmrHelper.java
License:Apache License
/** * Returns EmrClusterVolumeSpecification * * @param volumeSpecification AWS object * * @return EmrClusterVolumeSpecification *//*from w ww.ja v a 2 s .c o m*/ protected EmrClusterVolumeSpecification getVolumeSpecification(VolumeSpecification volumeSpecification) { EmrClusterVolumeSpecification emrClusterVolumeSpecification = null; if (volumeSpecification != null) { emrClusterVolumeSpecification = new EmrClusterVolumeSpecification(); emrClusterVolumeSpecification.setVolumeType(volumeSpecification.getVolumeType()); emrClusterVolumeSpecification.setIops(volumeSpecification.getIops()); emrClusterVolumeSpecification.setSizeInGB(volumeSpecification.getSizeInGB()); } return emrClusterVolumeSpecification; }