@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.MarketType
public String getMarketType()
The market type.
MarketType
public LaunchTemplateInstanceMarketOptions withMarketType(String marketType)
The market type.
marketType
- The market type.MarketType
public LaunchTemplateInstanceMarketOptions withMarketType(MarketType marketType)
The market type.
marketType
- The market type.MarketType
public 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 Object
Object.toString()
public LaunchTemplateInstanceMarketOptions clone()