Package io.fabric8.kubernetes.api.model
Class PodList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PodList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PodListBuilder>,KubernetesResource,KubernetesResourceList<Pod>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodList extends Object implements io.fabric8.kubernetes.api.builder.Editable<PodListBuilder>, KubernetesResource, KubernetesResourceList<Pod>
PodList is a list of Pods.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<Pod>getItems()List of pods.StringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()PodList is a list of Pods.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<Pod> items)List of pods.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)PodList is a list of Pods.PodListBuildertoBuilder()
-
-
-
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<Pod> getItems()
List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md- Specified by:
getItemsin interfaceKubernetesResourceList<Pod>
-
setItems
public void setItems(List<Pod> items)
List of pods. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
-
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()
PodList is a list of Pods.- Specified by:
getMetadatain interfaceKubernetesResourceList<Pod>
-
setMetadata
public void setMetadata(ListMeta metadata)
PodList is a list of Pods.
-
edit
public PodListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PodListBuilder>
-
toBuilder
public PodListBuilder toBuilder()
-
-