/** * <p> * The maximum price per hour that you are willing to pay for a Spot Instance. * </p> * * @param spotPrice * The maximum price per hour that you are willing to pay for a Spot Instance. * @return Returns a reference to this object so that method calls can be chained together. */ public SpotPrice withSpotPrice(String spotPrice) { setSpotPrice(spotPrice); return this; }
spotPrice.setSpotPrice(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * The maximum price per hour that you are willing to pay for a Spot Instance. * </p> * * @param spotPrice * The maximum price per hour that you are willing to pay for a Spot Instance. * @return Returns a reference to this object so that method calls can be chained together. */ public SpotPrice withSpotPrice(String spotPrice) { setSpotPrice(spotPrice); return this; }
spotPrice.setSpotPrice(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * Converts this object into an AWS equivalent object. * * @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; }
spotPrice.setSpotPrice(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue;