Class WorkloadList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha2.WorkloadList
-
- All Implemented Interfaces:
Editable<WorkloadListBuilder>,KubernetesResource,KubernetesResourceList<Workload>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadList extends Object implements Editable<WorkloadListBuilder>, KubernetesResource, KubernetesResourceList<Workload>
WorkloadList contains a list of Workload resources.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkloadList()No args constructor for use in serializationWorkloadList(String apiVersion, List<Workload> items, String kind, ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Workload>getItems()Items is the list of Workloads.StringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()WorkloadList contains a list of Workload resources.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<Workload> items)Items is the list of Workloads.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)WorkloadList contains a list of Workload resources.WorkloadListBuildertoBuilder()
-
-
-
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<Workload> getItems()
Items is the list of Workloads.- Specified by:
getItemsin interfaceKubernetesResourceList<Workload>
-
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 ListMeta getMetadata()
WorkloadList contains a list of Workload resources.- Specified by:
getMetadatain interfaceKubernetesResourceList<Workload>
-
setMetadata
public void setMetadata(ListMeta metadata)
WorkloadList contains a list of Workload resources.
-
edit
public WorkloadListBuilder edit()
- Specified by:
editin interfaceEditable<WorkloadListBuilder>
-
toBuilder
public WorkloadListBuilder toBuilder()
-
-