Class 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 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
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)