Class IPPoolSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.whereabouts.v1alpha1.IPPoolSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IPPoolSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IPPoolSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<IPPoolSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IPPoolSpec defines the desired state of IPPool- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IPPoolSpec()No args constructor for use in serializationIPPoolSpec(Map<String,IPPoolSpecAllocations> allocations, String range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IPPoolSpecBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,IPPoolSpecAllocations>getAllocations()Allocations is the set of allocated IPs for the given range.StringgetRange()Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAllocations(Map<String,IPPoolSpecAllocations> allocations)Allocations is the set of allocated IPs for the given range.voidsetRange(String range)Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationIPPoolSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
IPPoolSpec
public IPPoolSpec()
No args constructor for use in serialization
-
IPPoolSpec
public IPPoolSpec(Map<String,IPPoolSpecAllocations> allocations, String range)
-
-
Method Detail
-
getAllocations
public Map<String,IPPoolSpecAllocations> getAllocations()
Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to theIP with the same index/offset for the pool's range.
-
setAllocations
public void setAllocations(Map<String,IPPoolSpecAllocations> allocations)
Allocations is the set of allocated IPs for the given range. Its` indices are a direct mapping to theIP with the same index/offset for the pool's range.
-
getRange
public String getRange()
Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notation
-
setRange
public void setRange(String range)
Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notation
-
edit
public IPPoolSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IPPoolSpecBuilder>
-
toBuilder
public IPPoolSpecBuilder toBuilder()
-
-