Class PriorityClassList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1beta1.PriorityClassList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PriorityClassListBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.KubernetesResourceList<PriorityClass>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PriorityClassList extends Object implements io.fabric8.kubernetes.api.builder.Editable<PriorityClassListBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.KubernetesResourceList<PriorityClass>
PriorityClassList is a collection of priority classes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PriorityClassList()No args constructor for use in serializationPriorityClassList(String apiVersion, List<PriorityClass> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PriorityClassListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<PriorityClass>getItems()items is the list of PriorityClassesStringgetKind()Kind is a string value representing the REST resource this object represents.io.fabric8.kubernetes.api.model.ListMetagetMetadata()PriorityClassList is a collection of priority classes.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetItems(List<PriorityClass> items)items is the list of PriorityClassesvoidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)PriorityClassList is a collection of priority classes.PriorityClassListBuildertoBuilder()
-
-
-
Constructor Detail
-
PriorityClassList
public PriorityClassList()
No args constructor for use in serialization
-
PriorityClassList
public PriorityClassList(String apiVersion, List<PriorityClass> items, String kind, io.fabric8.kubernetes.api.model.ListMeta metadata)
-
-
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
-
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
-
getItems
public List<PriorityClass> getItems()
items is the list of PriorityClasses- Specified by:
getItemsin interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<PriorityClass>
-
setItems
public void setItems(List<PriorityClass> items)
items is the list of PriorityClasses
-
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
-
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 io.fabric8.kubernetes.api.model.ListMeta getMetadata()
PriorityClassList is a collection of priority classes.- Specified by:
getMetadatain interfaceio.fabric8.kubernetes.api.model.KubernetesResourceList<PriorityClass>
-
setMetadata
public void setMetadata(io.fabric8.kubernetes.api.model.ListMeta metadata)
PriorityClassList is a collection of priority classes.
-
edit
public PriorityClassListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PriorityClassListBuilder>
-
toBuilder
public PriorityClassListBuilder toBuilder()
-
-