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