Class SparkJobDefinition


  • public final class SparkJobDefinition
    extends Object
    Spark job definition.
    • Constructor Detail

      • SparkJobDefinition

        public SparkJobDefinition()
    • Method Detail

      • getDescription

        public String getDescription()
        Get the description property: The description of the Spark job definition.
        Returns:
        the description value.
      • setDescription

        public SparkJobDefinition setDescription​(String description)
        Set the description property: The description of the Spark job definition.
        Parameters:
        description - the description value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getTargetBigDataPool

        public BigDataPoolReference getTargetBigDataPool()
        Get the targetBigDataPool property: Big data pool reference.
        Returns:
        the targetBigDataPool value.
      • setTargetBigDataPool

        public SparkJobDefinition setTargetBigDataPool​(BigDataPoolReference targetBigDataPool)
        Set the targetBigDataPool property: Big data pool reference.
        Parameters:
        targetBigDataPool - the targetBigDataPool value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getRequiredSparkVersion

        public String getRequiredSparkVersion()
        Get the requiredSparkVersion property: The required Spark version of the application.
        Returns:
        the requiredSparkVersion value.
      • setRequiredSparkVersion

        public SparkJobDefinition setRequiredSparkVersion​(String requiredSparkVersion)
        Set the requiredSparkVersion property: The required Spark version of the application.
        Parameters:
        requiredSparkVersion - the requiredSparkVersion value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getLanguage

        public String getLanguage()
        Get the language property: The language of the Spark application.
        Returns:
        the language value.
      • setLanguage

        public SparkJobDefinition setLanguage​(String language)
        Set the language property: The language of the Spark application.
        Parameters:
        language - the language value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getJobProperties

        public SparkJobProperties getJobProperties()
        Get the jobProperties property: The properties of the Spark job.
        Returns:
        the jobProperties value.
      • setJobProperties

        public SparkJobDefinition setJobProperties​(SparkJobProperties jobProperties)
        Set the jobProperties property: The properties of the Spark job.
        Parameters:
        jobProperties - the jobProperties value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getFolder

        public SparkJobDefinitionFolder getFolder()
        Get the folder property: The folder that this Spark job definition is in. If not specified, this Spark job definition will appear at the root level.
        Returns:
        the folder value.
      • setFolder

        public SparkJobDefinition setFolder​(SparkJobDefinitionFolder folder)
        Set the folder property: The folder that this Spark job definition is in. If not specified, this Spark job definition will appear at the root level.
        Parameters:
        folder - the folder value to set.
        Returns:
        the SparkJobDefinition object itself.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Get the additionalProperties property: Spark job definition.
        Returns:
        the additionalProperties value.
      • setAdditionalProperties

        public SparkJobDefinition setAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Spark job definition.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the SparkJobDefinition object itself.