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