Package io.fabric8.kubernetes.api.model
Class LocalVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.LocalVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LocalVolumeSourceBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LocalVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<LocalVolumeSourceBuilder>, KubernetesResource
Local represents directly-attached storage with node affinity- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalVolumeSource()No args constructor for use in serializationLocalVolumeSource(String fsType, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFsType()fsType is the filesystem type to mount.StringgetPath()path of the full path to the volume on the node.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFsType(String fsType)fsType is the filesystem type to mount.voidsetPath(String path)path of the full path to the volume on the node.LocalVolumeSourceBuildertoBuilder()
-
-
-
Method Detail
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
-
setFsType
public void setFsType(String fsType)
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
-
getPath
public String getPath()
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
-
setPath
public void setPath(String path)
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).
-
edit
public LocalVolumeSourceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<LocalVolumeSourceBuilder>
-
toBuilder
public LocalVolumeSourceBuilder toBuilder()
-
-