Class MetaDataIPAddress

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MetaDataIPAddress
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MetaDataIPAddressBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MetaDataIPAddress contains the info to render th ip address. It is IP-version agnostic.
    See Also:
    Serialized Form
    • Constructor Detail

      • MetaDataIPAddress

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

      • getEnd

        public String getEnd()
        End is the last IP address that can be rendered. It is used as a validation that the rendered IP is in bound.
      • setEnd

        public void setEnd​(String end)
        End is the last IP address that can be rendered. It is used as a validation that the rendered IP is in bound.
      • getKey

        public String getKey()
        Key will be used as the key to set in the metadata map for cloud-init
      • setKey

        public void setKey​(String key)
        Key will be used as the key to set in the metadata map for cloud-init
      • getStart

        public String getStart()
        Start is the first ip address that can be rendered
      • setStart

        public void setStart​(String start)
        Start is the first ip address that can be rendered
      • getStep

        public Integer getStep()
        Step is the step between the IP addresses rendered.
      • setStep

        public void setStep​(Integer step)
        Step is the step between the IP addresses rendered.
      • getSubnet

        public String getSubnet()
        Subnet is used to validate that the rendered IP is in bounds. In case the Start value is not given, it is derived from the subnet ip incremented by 1 (`192.168.0.1` for `192.168.0.0/24`)
      • setSubnet

        public void setSubnet​(String subnet)
        Subnet is used to validate that the rendered IP is in bounds. In case the Start value is not given, it is derived from the subnet ip incremented by 1 (`192.168.0.1` for `192.168.0.0/24`)
      • getAdditionalProperties

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

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

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