Class HDInsightPigActivityTypeProperties


  • public final class HDInsightPigActivityTypeProperties
    extends Object
    HDInsight Pig activity properties.
    • Constructor Detail

      • HDInsightPigActivityTypeProperties

        public HDInsightPigActivityTypeProperties()
    • Method Detail

      • storageLinkedServices

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

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

        public Object arguments()
        Get the arguments property: User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array).
        Returns:
        the arguments value.
      • withArguments

        public HDInsightPigActivityTypeProperties withArguments​(Object arguments)
        Set the arguments property: User specified arguments to HDInsightActivity. Type: array (or Expression with resultType array).
        Parameters:
        arguments - the arguments value to set.
        Returns:
        the HDInsightPigActivityTypeProperties 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 HDInsightPigActivityTypeProperties 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 HDInsightPigActivityTypeProperties object itself.
      • scriptLinkedService

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

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

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

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

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