public class MasterInstanceDefinition extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for masterInstanceDefinition complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="masterInstanceDefinition">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<all>
<element name="instanceCount" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="instanceType" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="instanceSpotPrice" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="instanceMaxSearchPrice" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="instanceOnDemandThreshold" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
</all>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
instanceCount |
protected BigDecimal |
instanceMaxSearchPrice |
protected BigDecimal |
instanceOnDemandThreshold |
protected BigDecimal |
instanceSpotPrice |
protected String |
instanceType |
| Constructor and Description |
|---|
MasterInstanceDefinition()
Default no-arg constructor
|
MasterInstanceDefinition(int instanceCount,
String instanceType,
BigDecimal instanceSpotPrice,
BigDecimal instanceMaxSearchPrice,
BigDecimal instanceOnDemandThreshold)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
int |
getInstanceCount()
Gets the value of the instanceCount property.
|
BigDecimal |
getInstanceMaxSearchPrice()
Gets the value of the instanceMaxSearchPrice property.
|
BigDecimal |
getInstanceOnDemandThreshold()
Gets the value of the instanceOnDemandThreshold property.
|
BigDecimal |
getInstanceSpotPrice()
Gets the value of the instanceSpotPrice property.
|
String |
getInstanceType()
Gets the value of the instanceType property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setInstanceCount(int value)
Sets the value of the instanceCount property.
|
void |
setInstanceMaxSearchPrice(BigDecimal value)
Sets the value of the instanceMaxSearchPrice property.
|
void |
setInstanceOnDemandThreshold(BigDecimal value)
Sets the value of the instanceOnDemandThreshold property.
|
void |
setInstanceSpotPrice(BigDecimal value)
Sets the value of the instanceSpotPrice property.
|
void |
setInstanceType(String value)
Sets the value of the instanceType property.
|
String |
toString() |
protected int instanceCount
protected String instanceType
protected BigDecimal instanceSpotPrice
protected BigDecimal instanceMaxSearchPrice
protected BigDecimal instanceOnDemandThreshold
public MasterInstanceDefinition()
public MasterInstanceDefinition(int instanceCount,
String instanceType,
BigDecimal instanceSpotPrice,
BigDecimal instanceMaxSearchPrice,
BigDecimal instanceOnDemandThreshold)
public int getInstanceCount()
public void setInstanceCount(int value)
public String getInstanceType()
Stringpublic void setInstanceType(String value)
value - allowed object is
Stringpublic BigDecimal getInstanceSpotPrice()
BigDecimalpublic void setInstanceSpotPrice(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getInstanceMaxSearchPrice()
BigDecimalpublic void setInstanceMaxSearchPrice(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getInstanceOnDemandThreshold()
BigDecimalpublic void setInstanceOnDemandThreshold(BigDecimal value)
value - allowed object is
BigDecimalpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyToCopyright © 2017. All rights reserved.