Class SparkVolumeDetails.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.SparkVolumeDetails.Builder
-
- Enclosing class:
- SparkVolumeDetails
public static class SparkVolumeDetails.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SparkVolumeDetailsbuild()Builds a SparkVolumeDetails.SparkVolumeDetails.BuildermountPath(java.lang.String mountPath)Set the mountPath.SparkVolumeDetails.Buildername(java.lang.String name)Set the name.SparkVolumeDetails.BuilderreadOnly(java.lang.Boolean readOnly)Set the readOnly.SparkVolumeDetails.BuildersourceSubPath(java.lang.String sourceSubPath)Set the sourceSubPath.
-
-
-
Method Detail
-
build
public SparkVolumeDetails build()
Builds a SparkVolumeDetails.- Returns:
- the new SparkVolumeDetails instance
-
mountPath
public SparkVolumeDetails.Builder mountPath(java.lang.String mountPath)
Set the mountPath.- Parameters:
mountPath- the mountPath- Returns:
- the SparkVolumeDetails builder
-
name
public SparkVolumeDetails.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- Returns:
- the SparkVolumeDetails builder
-
readOnly
public SparkVolumeDetails.Builder readOnly(java.lang.Boolean readOnly)
Set the readOnly.- Parameters:
readOnly- the readOnly- Returns:
- the SparkVolumeDetails builder
-
sourceSubPath
public SparkVolumeDetails.Builder sourceSubPath(java.lang.String sourceSubPath)
Set the sourceSubPath.- Parameters:
sourceSubPath- the sourceSubPath- Returns:
- the SparkVolumeDetails builder
-
-