Class HostPortRange

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<HostPortRangeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class HostPortRange
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<HostPortRangeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    HostPortRange defines a range of host ports that will be enabled by a policy for pods to use. It requires both the start and end to be defined.
    See Also:
    Serialized Form
    • Constructor Detail

      • HostPortRange

        public HostPortRange()
        No args constructor for use in serialization
    • Method Detail

      • getMax

        public Integer getMax()
        max is the end of the range, inclusive.
      • setMax

        public void setMax​(Integer max)
        max is the end of the range, inclusive.
      • getMin

        public Integer getMin()
        min is the start of the range, inclusive.
      • setMin

        public void setMin​(Integer min)
        min is the start of the range, inclusive.
      • getAdditionalProperties

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

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

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