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 LocalVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getFsType()
fsType is the filesystem type to mount.String
getPath()
path of the full path to the volume on the node.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setFsType(String fsType)
fsType is the filesystem type to mount.void
setPath(String path)
path of the full path to the volume on the node.LocalVolumeSourceBuilder
toBuilder()
-
-
-
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:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<LocalVolumeSourceBuilder>
-
toBuilder
public LocalVolumeSourceBuilder toBuilder()
-
-