public final class SpotConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
fallbackToOndemand |
int |
spotBlockReservationDuration |
String |
spotMaxBidPrice |
boolean |
useBidPrice |
Constructor and Description |
---|
SpotConfiguration(boolean useBidPrice,
String spotMaxBidPrice,
boolean fallbackToOndemand,
String spotBlockReservationDurationStr) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static String |
normalizeBid(String bid)
Check if the specified value is a valid bid price to make a Spot request and return the normalized string for the
float of the specified bid Bids must be >= .001
|
public final boolean useBidPrice
public final String spotMaxBidPrice
public final boolean fallbackToOndemand
public final int spotBlockReservationDuration
public static String normalizeBid(String bid)
bid
- - price to checkCopyright © 2016–2020. All rights reserved.