Package alluxio.util
Class UnixMountInfo.Builder
- java.lang.Object
-
- alluxio.util.UnixMountInfo.Builder
-
- Enclosing class:
- UnixMountInfo
public static class UnixMountInfo.Builder extends java.lang.Object
Builder forUnixMountInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructs a new Unix mount info builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnixMountInfo
build()
UnixMountInfo.Builder
setDeviceSpec(java.lang.String deviceSpec)
UnixMountInfo.Builder
setFsType(java.lang.String fsType)
UnixMountInfo.Builder
setMountPoint(java.lang.String mountPoint)
UnixMountInfo.Builder
setOptions(UnixMountInfo.Options options)
-
-
-
Method Detail
-
setDeviceSpec
public UnixMountInfo.Builder setDeviceSpec(java.lang.String deviceSpec)
- Parameters:
deviceSpec
- the device spec to set- Returns:
- the builder
-
setMountPoint
public UnixMountInfo.Builder setMountPoint(java.lang.String mountPoint)
- Parameters:
mountPoint
- the mount point to set- Returns:
- the builder
-
setFsType
public UnixMountInfo.Builder setFsType(java.lang.String fsType)
- Parameters:
fsType
- the fs type to set- Returns:
- the builder
-
setOptions
public UnixMountInfo.Builder setOptions(UnixMountInfo.Options options)
- Parameters:
options
- the mount info options to set- Returns:
- the builder
-
build
public UnixMountInfo build()
- Returns:
- the built Unix mount info
-
-