Package io.fabric8.openshift.api.model
Class RangeAllocation
- java.lang.Object
-
- io.fabric8.openshift.api.model.RangeAllocation
-
- All Implemented Interfaces:
Editable<RangeAllocationBuilder>,HasMetadata,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RangeAllocation extends Object implements Editable<RangeAllocationBuilder>, HasMetadata
RangeAllocation is used so we can easily expose a RangeAllocation typed for security groupCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
DNS_LABEL_END, DNS_LABEL_REGEXP, DNS_LABEL_START, FINALIZER_NAME_MATCHER, REQUIRES_NON_NULL_METADATA, REQUIRES_NON_NULL_NAME, REQUIRES_NON_NULL_NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description RangeAllocation()No args constructor for use in serializationRangeAllocation(String apiVersion, String data, String kind, ObjectMeta metadata, String range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeAllocationBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetData()data is a byte array representing the serialized state of a range allocation.StringgetKind()Kind is a string value representing the REST resource this object represents.ObjectMetagetMetadata()RangeAllocation is used so we can easily expose a RangeAllocation typed for security groupStringgetRange()range is a string representing a unique label for a range of uids, "1000000000-2000000000/10000".voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetData(String data)data is a byte array representing the serialized state of a range allocation.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ObjectMeta metadata)RangeAllocation is used so we can easily expose a RangeAllocation typed for security groupvoidsetRange(String range)range is a string representing a unique label for a range of uids, "1000000000-2000000000/10000".RangeAllocationBuildertoBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fabric8.kubernetes.api.model.HasMetadata
addFinalizer, addOwnerReference, addOwnerReference, addOwnerReference, getFinalizers, getFullResourceName, getOwnerReferenceFor, getOwnerReferenceFor, getPlural, getSingular, hasFinalizer, hasOwnerReferenceFor, hasOwnerReferenceFor, initNameAndNamespaceFrom, isFinalizerValid, isMarkedForDeletion, isSameResource, isSameResource, optionalMetadata, removeFinalizer, removeOwnerReference, removeOwnerReference
-
-
-
-
Constructor Detail
-
RangeAllocation
public RangeAllocation()
No args constructor for use in serialization
-
RangeAllocation
public RangeAllocation(String apiVersion, String data, String kind, ObjectMeta metadata, String range)
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
getApiVersionin interfaceHasMetadata
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Specified by:
setApiVersionin interfaceHasMetadata
-
getData
public String getData()
data is a byte array representing the serialized state of a range allocation. It is a bitmap with each bit set to one to represent a range is taken.
-
setData
public void setData(String data)
data is a byte array representing the serialized state of a range allocation. It is a bitmap with each bit set to one to represent a range is taken.
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Specified by:
getKindin interfaceHasMetadata
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getMetadata
public ObjectMeta getMetadata()
RangeAllocation is used so we can easily expose a RangeAllocation typed for security groupCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
- Specified by:
getMetadatain interfaceHasMetadata
-
setMetadata
public void setMetadata(ObjectMeta metadata)
RangeAllocation is used so we can easily expose a RangeAllocation typed for security groupCompatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support.
- Specified by:
setMetadatain interfaceHasMetadata
-
getRange
public String getRange()
range is a string representing a unique label for a range of uids, "1000000000-2000000000/10000".
-
setRange
public void setRange(String range)
range is a string representing a unique label for a range of uids, "1000000000-2000000000/10000".
-
edit
public RangeAllocationBuilder edit()
- Specified by:
editin interfaceEditable<RangeAllocationBuilder>
-
toBuilder
public RangeAllocationBuilder toBuilder()
-
-