@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceMarketOptionsRequest extends Object implements Serializable, Cloneable
Describes the market (purchasing) option for the instances.
Constructor and Description |
---|
InstanceMarketOptionsRequest() |
Modifier and Type | Method and Description |
---|---|
InstanceMarketOptionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getMarketType()
The market type.
|
SpotMarketOptions |
getSpotOptions()
The options for Spot Instances.
|
int |
hashCode() |
void |
setMarketType(String marketType)
The market type.
|
void |
setSpotOptions(SpotMarketOptions spotOptions)
The options for Spot Instances.
|
String |
toString()
Returns a string representation of this object.
|
InstanceMarketOptionsRequest |
withMarketType(MarketType marketType)
The market type.
|
InstanceMarketOptionsRequest |
withMarketType(String marketType)
The market type.
|
InstanceMarketOptionsRequest |
withSpotOptions(SpotMarketOptions spotOptions)
The options for Spot Instances.
|
public void setMarketType(String marketType)
The market type.
marketType
- The market type.MarketType
public String getMarketType()
The market type.
MarketType
public InstanceMarketOptionsRequest withMarketType(String marketType)
The market type.
marketType
- The market type.MarketType
public InstanceMarketOptionsRequest withMarketType(MarketType marketType)
The market type.
marketType
- The market type.MarketType
public void setSpotOptions(SpotMarketOptions spotOptions)
The options for Spot Instances.
spotOptions
- The options for Spot Instances.public SpotMarketOptions getSpotOptions()
The options for Spot Instances.
public InstanceMarketOptionsRequest withSpotOptions(SpotMarketOptions spotOptions)
The options for Spot Instances.
spotOptions
- The options for Spot Instances.public String toString()
toString
in class Object
Object.toString()
public InstanceMarketOptionsRequest clone()