Package io.fabric8.kubernetes.api.model
Class PersistentVolumeList
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PersistentVolumeList
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeListBuilder>,KubernetesResource,KubernetesResourceList<PersistentVolume>,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PersistentVolumeList extends Object implements io.fabric8.kubernetes.api.builder.Editable<PersistentVolumeListBuilder>, KubernetesResource, KubernetesResourceList<PersistentVolume>
PersistentVolumeList is a list of PersistentVolume items.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistentVolumeList()No args constructor for use in serializationPersistentVolumeList(String apiVersion, List<PersistentVolume> items, String kind, ListMeta metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentVolumeListBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.List<PersistentVolume>getItems()items is a list of persistent volumes.StringgetKind()Kind is a string value representing the REST resource this object represents.ListMetagetMetadata()PersistentVolumeList is a list of PersistentVolume items.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<PersistentVolume> items)items is a list of persistent volumes.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetMetadata(ListMeta metadata)PersistentVolumeList is a list of PersistentVolume items.PersistentVolumeListBuildertoBuilder()
-
-
-
Constructor Detail
-
PersistentVolumeList
public PersistentVolumeList()
No args constructor for use in serialization
-
PersistentVolumeList
public PersistentVolumeList(String apiVersion, List<PersistentVolume> items, String kind, 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<PersistentVolume> getItems()
items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes- Specified by:
getItemsin interfaceKubernetesResourceList<PersistentVolume>
-
setItems
public void setItems(List<PersistentVolume> items)
items is a list of persistent volumes. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
-
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()
PersistentVolumeList is a list of PersistentVolume items.- Specified by:
getMetadatain interfaceKubernetesResourceList<PersistentVolume>
-
setMetadata
public void setMetadata(ListMeta metadata)
PersistentVolumeList is a list of PersistentVolume items.
-
edit
public PersistentVolumeListBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PersistentVolumeListBuilder>
-
toBuilder
public PersistentVolumeListBuilder toBuilder()
-
-