Class HDInsightHiveActivityTypeProperties


  • public final class HDInsightHiveActivityTypeProperties
    extends Object
    HDInsight Hive activity properties.
    • Constructor Detail

      • HDInsightHiveActivityTypeProperties

        public HDInsightHiveActivityTypeProperties()
    • Method Detail

      • storageLinkedServices

        public List<LinkedServiceReference> storageLinkedServices()
        Get the storageLinkedServices property: Storage linked service references.
        Returns:
        the storageLinkedServices value.
      • withStorageLinkedServices

        public HDInsightHiveActivityTypeProperties withStorageLinkedServices​(List<LinkedServiceReference> storageLinkedServices)
        Set the storageLinkedServices property: Storage linked service references.
        Parameters:
        storageLinkedServices - the storageLinkedServices value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • arguments

        public List<Object> arguments()
        Get the arguments property: User specified arguments to HDInsightActivity.
        Returns:
        the arguments value.
      • withArguments

        public HDInsightHiveActivityTypeProperties withArguments​(List<Object> arguments)
        Set the arguments property: User specified arguments to HDInsightActivity.
        Parameters:
        arguments - the arguments value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • scriptPath

        public Object scriptPath()
        Get the scriptPath property: Script path. Type: string (or Expression with resultType string).
        Returns:
        the scriptPath value.
      • withScriptPath

        public HDInsightHiveActivityTypeProperties withScriptPath​(Object scriptPath)
        Set the scriptPath property: Script path. Type: string (or Expression with resultType string).
        Parameters:
        scriptPath - the scriptPath value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • scriptLinkedService

        public LinkedServiceReference scriptLinkedService()
        Get the scriptLinkedService property: Script linked service reference.
        Returns:
        the scriptLinkedService value.
      • withScriptLinkedService

        public HDInsightHiveActivityTypeProperties withScriptLinkedService​(LinkedServiceReference scriptLinkedService)
        Set the scriptLinkedService property: Script linked service reference.
        Parameters:
        scriptLinkedService - the scriptLinkedService value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • defines

        public Map<String,​Object> defines()
        Get the defines property: Allows user to specify defines for Hive job request.
        Returns:
        the defines value.
      • withDefines

        public HDInsightHiveActivityTypeProperties withDefines​(Map<String,​Object> defines)
        Set the defines property: Allows user to specify defines for Hive job request.
        Parameters:
        defines - the defines value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • variables

        public List<Object> variables()
        Get the variables property: User specified arguments under hivevar namespace.
        Returns:
        the variables value.
      • withVariables

        public HDInsightHiveActivityTypeProperties withVariables​(List<Object> variables)
        Set the variables property: User specified arguments under hivevar namespace.
        Parameters:
        variables - the variables value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • queryTimeout

        public Integer queryTimeout()
        Get the queryTimeout property: Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package).
        Returns:
        the queryTimeout value.
      • withQueryTimeout

        public HDInsightHiveActivityTypeProperties withQueryTimeout​(Integer queryTimeout)
        Set the queryTimeout property: Query timeout value (in minutes). Effective when the HDInsight cluster is with ESP (Enterprise Security Package).
        Parameters:
        queryTimeout - the queryTimeout value to set.
        Returns:
        the HDInsightHiveActivityTypeProperties object itself.
      • validate

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