Class CreateVolumeMountDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.containerinstances.model.CreateVolumeMountDetails.Builder
 
- 
- Enclosing class:
- CreateVolumeMountDetails
 
 public static class CreateVolumeMountDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeMountDetailsbuild()CreateVolumeMountDetails.Buildercopy(CreateVolumeMountDetails model)CreateVolumeMountDetails.BuilderisReadOnly(Boolean isReadOnly)Whether the volume was mounted in read-only mode.CreateVolumeMountDetails.BuildermountPath(String mountPath)The volume access path.CreateVolumeMountDetails.Builderpartition(Integer partition)If there is more than one partition in the volume, reference this number of partitions.CreateVolumeMountDetails.BuildersubPath(String subPath)A subpath inside the referenced volume.CreateVolumeMountDetails.BuildervolumeName(String volumeName)The name of the volume.
 
- 
- 
- 
Method Detail- 
mountPathpublic CreateVolumeMountDetails.Builder mountPath(String mountPath) The volume access path.- Parameters:
- mountPath- the value to set
- Returns:
- this builder
 
 - 
volumeNamepublic CreateVolumeMountDetails.Builder volumeName(String volumeName) The name of the volume.Avoid entering confidential information. - Parameters:
- volumeName- the value to set
- Returns:
- this builder
 
 - 
subPathpublic CreateVolumeMountDetails.Builder subPath(String subPath) A subpath inside the referenced volume.- Parameters:
- subPath- the value to set
- Returns:
- this builder
 
 - 
isReadOnlypublic CreateVolumeMountDetails.Builder isReadOnly(Boolean isReadOnly) Whether the volume was mounted in read-only mode.By default, the volume is not read-only. - Parameters:
- isReadOnly- the value to set
- Returns:
- this builder
 
 - 
partitionpublic 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 - Parameters:
- partition- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateVolumeMountDetails build() 
 - 
copypublic CreateVolumeMountDetails.Builder copy(CreateVolumeMountDetails model) 
 
- 
 
-