Class HDInsightStreamingActivity


public final class HDInsightStreamingActivity extends ExecutionActivity
HDInsight streaming activity type.
  • Constructor Details

    • HDInsightStreamingActivity

      public HDInsightStreamingActivity()
  • Method Details

    • withLinkedServiceName

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

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

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

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

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

      public Object mapper()
      Get the mapper property: Mapper executable name. Type: string (or Expression with resultType string).
      Returns:
      the mapper value.
    • withMapper

      public HDInsightStreamingActivity withMapper(Object mapper)
      Set the mapper property: Mapper executable name. Type: string (or Expression with resultType string).
      Parameters:
      mapper - the mapper value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • reducer

      public Object reducer()
      Get the reducer property: Reducer executable name. Type: string (or Expression with resultType string).
      Returns:
      the reducer value.
    • withReducer

      public HDInsightStreamingActivity withReducer(Object reducer)
      Set the reducer property: Reducer executable name. Type: string (or Expression with resultType string).
      Parameters:
      reducer - the reducer value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • input

      public Object input()
      Get the input property: Input blob path. Type: string (or Expression with resultType string).
      Returns:
      the input value.
    • withInput

      public HDInsightStreamingActivity withInput(Object input)
      Set the input property: Input blob path. Type: string (or Expression with resultType string).
      Parameters:
      input - the input value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • output

      public Object output()
      Get the output property: Output blob path. Type: string (or Expression with resultType string).
      Returns:
      the output value.
    • withOutput

      public HDInsightStreamingActivity withOutput(Object output)
      Set the output property: Output blob path. Type: string (or Expression with resultType string).
      Parameters:
      output - the output value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • filePaths

      public List<Object> filePaths()
      Get the filePaths property: Paths to streaming job files. Can be directories.
      Returns:
      the filePaths value.
    • withFilePaths

      public HDInsightStreamingActivity withFilePaths(List<Object> filePaths)
      Set the filePaths property: Paths to streaming job files. Can be directories.
      Parameters:
      filePaths - the filePaths value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • fileLinkedService

      public LinkedServiceReference fileLinkedService()
      Get the fileLinkedService property: Linked service reference where the files are located.
      Returns:
      the fileLinkedService value.
    • withFileLinkedService

      public HDInsightStreamingActivity withFileLinkedService(LinkedServiceReference fileLinkedService)
      Set the fileLinkedService property: Linked service reference where the files are located.
      Parameters:
      fileLinkedService - the fileLinkedService value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • combiner

      public Object combiner()
      Get the combiner property: Combiner executable name. Type: string (or Expression with resultType string).
      Returns:
      the combiner value.
    • withCombiner

      public HDInsightStreamingActivity withCombiner(Object combiner)
      Set the combiner property: Combiner executable name. Type: string (or Expression with resultType string).
      Parameters:
      combiner - the combiner value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • commandEnvironment

      public List<Object> commandEnvironment()
      Get the commandEnvironment property: Command line environment values.
      Returns:
      the commandEnvironment value.
    • withCommandEnvironment

      public HDInsightStreamingActivity withCommandEnvironment(List<Object> commandEnvironment)
      Set the commandEnvironment property: Command line environment values.
      Parameters:
      commandEnvironment - the commandEnvironment value to set.
      Returns:
      the HDInsightStreamingActivity object itself.
    • defines

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

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

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