Class HDInsightMapReduceActivity


public final class HDInsightMapReduceActivity extends ExecutionActivity
HDInsight MapReduce activity type.
  • Constructor Details

    • HDInsightMapReduceActivity

      public HDInsightMapReduceActivity()
      Creates an instance of HDInsightMapReduceActivity class.
  • Method Details

    • withLinkedServiceName

      public HDInsightMapReduceActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
      Set the linkedServiceName property: Linked service reference.
      Overrides:
      withLinkedServiceName in class ExecutionActivity
      Parameters:
      linkedServiceName - the linkedServiceName value to set.
      Returns:
      the ExecutionActivity object itself.
    • withPolicy

      public HDInsightMapReduceActivity withPolicy(ActivityPolicy policy)
      Set the policy property: Activity policy.
      Overrides:
      withPolicy in class ExecutionActivity
      Parameters:
      policy - the policy value to set.
      Returns:
      the ExecutionActivity object itself.
    • withName

      public HDInsightMapReduceActivity withName(String name)
      Set the name property: Activity name.
      Overrides:
      withName in class ExecutionActivity
      Parameters:
      name - the name value to set.
      Returns:
      the Activity object itself.
    • withDescription

      public HDInsightMapReduceActivity withDescription(String description)
      Set the description property: Activity description.
      Overrides:
      withDescription in class ExecutionActivity
      Parameters:
      description - the description value to set.
      Returns:
      the Activity object itself.
    • withDependsOn

      public HDInsightMapReduceActivity withDependsOn(List<ActivityDependency> dependsOn)
      Set the dependsOn property: Activity depends on condition.
      Overrides:
      withDependsOn in class ExecutionActivity
      Parameters:
      dependsOn - the dependsOn value to set.
      Returns:
      the Activity object itself.
    • withUserProperties

      public HDInsightMapReduceActivity withUserProperties(List<UserProperty> userProperties)
      Set the userProperties property: Activity user properties.
      Overrides:
      withUserProperties in class ExecutionActivity
      Parameters:
      userProperties - the userProperties value to set.
      Returns:
      the Activity object itself.
    • storageLinkedServices

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

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

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

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

      public HDInsightActivityDebugInfoOption getDebugInfo()
      Get the getDebugInfo property: Debug info option.
      Returns:
      the getDebugInfo value.
    • withGetDebugInfo

      public HDInsightMapReduceActivity withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
      Set the getDebugInfo property: Debug info option.
      Parameters:
      getDebugInfo - the getDebugInfo value to set.
      Returns:
      the HDInsightMapReduceActivity object itself.
    • className

      public Object className()
      Get the className property: Class name. Type: string (or Expression with resultType string).
      Returns:
      the className value.
    • withClassName

      public HDInsightMapReduceActivity withClassName(Object className)
      Set the className property: Class name. Type: string (or Expression with resultType string).
      Parameters:
      className - the className value to set.
      Returns:
      the HDInsightMapReduceActivity object itself.
    • jarFilePath

      public Object jarFilePath()
      Get the jarFilePath property: Jar path. Type: string (or Expression with resultType string).
      Returns:
      the jarFilePath value.
    • withJarFilePath

      public HDInsightMapReduceActivity withJarFilePath(Object jarFilePath)
      Set the jarFilePath property: Jar path. Type: string (or Expression with resultType string).
      Parameters:
      jarFilePath - the jarFilePath value to set.
      Returns:
      the HDInsightMapReduceActivity object itself.
    • jarLinkedService

      public LinkedServiceReference jarLinkedService()
      Get the jarLinkedService property: Jar linked service reference.
      Returns:
      the jarLinkedService value.
    • withJarLinkedService

      public HDInsightMapReduceActivity withJarLinkedService(LinkedServiceReference jarLinkedService)
      Set the jarLinkedService property: Jar linked service reference.
      Parameters:
      jarLinkedService - the jarLinkedService value to set.
      Returns:
      the HDInsightMapReduceActivity object itself.
    • jarLibs

      public List<Object> jarLibs()
      Get the jarLibs property: Jar libs.
      Returns:
      the jarLibs value.
    • withJarLibs

      public HDInsightMapReduceActivity withJarLibs(List<Object> jarLibs)
      Set the jarLibs property: Jar libs.
      Parameters:
      jarLibs - the jarLibs value to set.
      Returns:
      the HDInsightMapReduceActivity object itself.
    • defines

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

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

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