List of usage examples for com.amazonaws.services.elasticmapreduce.model VolumeSpecification getVolumeType
public String getVolumeType()
The volume type.
From source file:org.finra.herd.dao.helper.EmrHelper.java
License:Apache License
/** * Returns EmrClusterVolumeSpecification * * @param volumeSpecification AWS object * * @return EmrClusterVolumeSpecification *//*from www.j a v a 2 s . co 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; }