Class SparkConfigProperties


  • public final class SparkConfigProperties
    extends Object
    Spark pool Config Properties SparkConfig Properties for a Big Data pool powered by Apache Spark.
    • Constructor Detail

      • SparkConfigProperties

        public SparkConfigProperties()
    • Method Detail

      • time

        public OffsetDateTime time()
        Get the time property: The last update time of the spark config properties file.
        Returns:
        the time value.
      • content

        public String content()
        Get the content property: The spark config properties.
        Returns:
        the content value.
      • withContent

        public SparkConfigProperties withContent​(String content)
        Set the content property: The spark config properties.
        Parameters:
        content - the content value to set.
        Returns:
        the SparkConfigProperties object itself.
      • filename

        public String filename()
        Get the filename property: The filename of the spark config properties file.
        Returns:
        the filename value.
      • withFilename

        public SparkConfigProperties withFilename​(String filename)
        Set the filename property: The filename of the spark config properties file.
        Parameters:
        filename - the filename value to set.
        Returns:
        the SparkConfigProperties object itself.
      • configurationType

        public ConfigurationType configurationType()
        Get the configurationType property: The type of the spark config properties file.
        Returns:
        the configurationType value.
      • withConfigurationType

        public SparkConfigProperties withConfigurationType​(ConfigurationType configurationType)
        Set the configurationType property: The type of the spark config properties file.
        Parameters:
        configurationType - the configurationType value to set.
        Returns:
        the SparkConfigProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.