@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2017-02-24T15:10:39.441-05:00") public class MasterInstanceDefinition extends Object
| Constructor and Description |
|---|
MasterInstanceDefinition() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getInstanceCount() |
BigDecimal |
getInstanceMaxSearchPrice()
The maximum amount, in USD, to search for the best price.
|
BigDecimal |
getInstanceOnDemandThreshold()
The amount, in USD, you are willing to pay over the lowest spot price for an on-demand instance.
|
BigDecimal |
getInstanceSpotPrice()
The instance bid price, in USD.
|
String |
getInstanceType() |
int |
hashCode() |
void |
setInstanceCount(Integer instanceCount) |
void |
setInstanceMaxSearchPrice(BigDecimal instanceMaxSearchPrice) |
void |
setInstanceOnDemandThreshold(BigDecimal instanceOnDemandThreshold) |
void |
setInstanceSpotPrice(BigDecimal instanceSpotPrice) |
void |
setInstanceType(String instanceType) |
String |
toString() |
public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
public String getInstanceType()
public void setInstanceType(String instanceType)
public BigDecimal getInstanceSpotPrice()
public void setInstanceSpotPrice(BigDecimal instanceSpotPrice)
public BigDecimal getInstanceMaxSearchPrice()
public void setInstanceMaxSearchPrice(BigDecimal instanceMaxSearchPrice)
public BigDecimal getInstanceOnDemandThreshold()
The amount, in USD, you are willing to pay over the lowest spot price for an on-demand instance. Use this to\n dynamically balance the cost vs. stability of your instances.
\nIf not specified, the search will not attempt to find an on-demand instance when a spot is found. This is the same behavior as when\n this parameter is set to $0.
public void setInstanceOnDemandThreshold(BigDecimal instanceOnDemandThreshold)
Copyright © 2017. All rights reserved.