Class SpotMarketOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.aws.v1.SpotMarketOptions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SpotMarketOptionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SpotMarketOptions extends Object implements io.fabric8.kubernetes.api.builder.Editable<SpotMarketOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SpotMarketOptions defines the options available to a user when configuring Machines to run on Spot instances. Most users should provide an empty struct.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpotMarketOptions()No args constructor for use in serializationSpotMarketOptions(String maxPrice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpotMarketOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMaxPrice()The maximum price the user is willing to pay for their instances Default: On-Demand pricevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMaxPrice(String maxPrice)The maximum price the user is willing to pay for their instances Default: On-Demand priceSpotMarketOptionsBuildertoBuilder()
-
-
-
Constructor Detail
-
SpotMarketOptions
public SpotMarketOptions()
No args constructor for use in serialization
-
SpotMarketOptions
public SpotMarketOptions(String maxPrice)
-
-
Method Detail
-
getMaxPrice
public String getMaxPrice()
The maximum price the user is willing to pay for their instances Default: On-Demand price
-
setMaxPrice
public void setMaxPrice(String maxPrice)
The maximum price the user is willing to pay for their instances Default: On-Demand price
-
edit
public SpotMarketOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SpotMarketOptionsBuilder>
-
toBuilder
public SpotMarketOptionsBuilder toBuilder()
-
-