Class MetaDataIPAddress
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.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 Summary
Constructors Constructor Description MetaDataIPAddress()No args constructor for use in serializationMetaDataIPAddress(String end, String key, String start, Integer step, String subnet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetaDataIPAddressBuilderedit()Map<String,Object>getAdditionalProperties()StringgetEnd()End is the last IP address that can be rendered.StringgetKey()Key will be used as the key to set in the metadata map for cloud-initStringgetStart()Start is the first ip address that can be renderedIntegergetStep()Step is the step between the IP addresses rendered.StringgetSubnet()Subnet is used to validate that the rendered IP is in bounds.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEnd(String end)End is the last IP address that can be rendered.voidsetKey(String key)Key will be used as the key to set in the metadata map for cloud-initvoidsetStart(String start)Start is the first ip address that can be renderedvoidsetStep(Integer step)Step is the step between the IP addresses rendered.voidsetSubnet(String subnet)Subnet is used to validate that the rendered IP is in bounds.MetaDataIPAddressBuildertoBuilder()
-
-
-
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`)
-
edit
public MetaDataIPAddressBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetaDataIPAddressBuilder>
-
toBuilder
public MetaDataIPAddressBuilder toBuilder()
-
-