List of usage examples for com.amazonaws.services.ec2.model SpotPrice setInstanceType
public void setInstanceType(InstanceType instanceType)
The instance type.
From source file:org.finra.dm.dao.impl.MockSpotPrice.java
License:Apache License
/** * Converts this object into an AWS equivalent object. * //from ww w. ja v a 2 s . c om * @return A new equivalent AWS object */ public SpotPrice toAwsObject() { SpotPrice spotPrice = new SpotPrice(); spotPrice.setAvailabilityZone(availabilityZone); spotPrice.setInstanceType(type); spotPrice.setSpotPrice(this.spotPrice); return spotPrice; }