Class SparkVolumeDetails.Builder

  • Enclosing class:
    SparkVolumeDetails

    public static class SparkVolumeDetails.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • 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