Class NodeSlicePoolSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.whereabouts.v1alpha1.NodeSlicePoolSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeSlicePoolSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeSlicePoolSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeSlicePoolSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NodeSlicePoolSpec defines the desired state of NodeSlicePool- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeSlicePoolSpec()No args constructor for use in serializationNodeSlicePoolSpec(String range, String sliceSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeSlicePoolSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetRange()Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationStringgetSliceSize()SliceSize is the size of subnets or slices of the range that each node will be assignedvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRange(String range)Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationvoidsetSliceSize(String sliceSize)SliceSize is the size of subnets or slices of the range that each node will be assignedNodeSlicePoolSpecBuildertoBuilder()
-
-
-
Method Detail
-
getRange
public String getRange()
Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationthis refers to the entire range where the node is allocated a subset
-
setRange
public void setRange(String range)
Range is a RFC 4632/4291-style string that represents an IP address and prefix length in CIDR notationthis refers to the entire range where the node is allocated a subset
-
getSliceSize
public String getSliceSize()
SliceSize is the size of subnets or slices of the range that each node will be assigned
-
setSliceSize
public void setSliceSize(String sliceSize)
SliceSize is the size of subnets or slices of the range that each node will be assigned
-
edit
public NodeSlicePoolSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeSlicePoolSpecBuilder>
-
toBuilder
public NodeSlicePoolSpecBuilder toBuilder()
-
-