public class MasterInstanceDefinition extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
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="ebsConfiguration" type="{}emrClusterDefinitionEbsConfiguration" minOccurs="0"/>
<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 EmrClusterDefinitionEbsConfiguration |
ebsConfiguration |
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,
EmrClusterDefinitionEbsConfiguration ebsConfiguration,
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.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy2 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.EqualsStrategy2 strategy) |
EmrClusterDefinitionEbsConfiguration |
getEbsConfiguration()
Gets the value of the ebsConfiguration property.
|
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.HashCodeStrategy2 strategy) |
void |
setEbsConfiguration(EmrClusterDefinitionEbsConfiguration value)
Sets the value of the ebsConfiguration property.
|
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 EmrClusterDefinitionEbsConfiguration ebsConfiguration
protected BigDecimal instanceSpotPrice
protected BigDecimal instanceMaxSearchPrice
protected BigDecimal instanceOnDemandThreshold
public MasterInstanceDefinition()
public MasterInstanceDefinition(int instanceCount,
String instanceType,
EmrClusterDefinitionEbsConfiguration ebsConfiguration,
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 EmrClusterDefinitionEbsConfiguration getEbsConfiguration()
EmrClusterDefinitionEbsConfigurationpublic void setEbsConfiguration(EmrClusterDefinitionEbsConfiguration value)
value - allowed object is
EmrClusterDefinitionEbsConfigurationpublic 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.ToStringStrategy2 strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString2public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equals2public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2Copyright © 2019. All rights reserved.