public static class CreateVolumeMountDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateVolumeMountDetails |
build() |
CreateVolumeMountDetails.Builder |
copy(CreateVolumeMountDetails model) |
CreateVolumeMountDetails.Builder |
isReadOnly(Boolean isReadOnly)
Whether the volume was mounted in read-only mode.
|
CreateVolumeMountDetails.Builder |
mountPath(String mountPath)
The volume access path.
|
CreateVolumeMountDetails.Builder |
partition(Integer partition)
If there is more than one partition in the volume, reference this number of partitions.
|
CreateVolumeMountDetails.Builder |
subPath(String subPath)
A subpath inside the referenced volume.
|
CreateVolumeMountDetails.Builder |
volumeName(String volumeName)
The name of the volume.
|
public CreateVolumeMountDetails.Builder mountPath(String mountPath)
The volume access path.
mountPath
- the value to setpublic CreateVolumeMountDetails.Builder volumeName(String volumeName)
The name of the volume. Avoid entering confidential information.
volumeName
- the value to setpublic CreateVolumeMountDetails.Builder subPath(String subPath)
A subpath inside the referenced volume.
subPath
- the value to setpublic CreateVolumeMountDetails.Builder isReadOnly(Boolean isReadOnly)
Whether the volume was mounted in read-only mode. By default, the volume is not read-only.
isReadOnly
- the value to setpublic CreateVolumeMountDetails.Builder partition(Integer partition)
If there is more than one partition in the volume, reference this number of partitions. Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm
partition
- the value to setpublic CreateVolumeMountDetails build()
public CreateVolumeMountDetails.Builder copy(CreateVolumeMountDetails model)
Copyright © 2016–2024. All rights reserved.