Class HDInsightStreamingActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.HDInsightStreamingActivity
-
public final class HDInsightStreamingActivity extends ExecutionActivity
HDInsight streaming activity type.
-
-
Constructor Summary
Constructors Constructor Description HDInsightStreamingActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
arguments()
Get the arguments property: User specified arguments to HDInsightActivity.Object
combiner()
Get the combiner property: Combiner executable name.List<Object>
commandEnvironment()
Get the commandEnvironment property: Command line environment values.Map<String,Object>
defines()
Get the defines property: Allows user to specify defines for streaming job request.LinkedServiceReference
fileLinkedService()
Get the fileLinkedService property: Linked service reference where the files are located.List<Object>
filePaths()
Get the filePaths property: Paths to streaming job files.HDInsightActivityDebugInfoOption
getDebugInfo()
Get the getDebugInfo property: Debug info option.Object
input()
Get the input property: Input blob path.Object
mapper()
Get the mapper property: Mapper executable name.Object
output()
Get the output property: Output blob path.Object
reducer()
Get the reducer property: Reducer executable name.List<LinkedServiceReference>
storageLinkedServices()
Get the storageLinkedServices property: Storage linked service references.void
validate()
Validates the instance.HDInsightStreamingActivity
withArguments(List<Object> arguments)
Set the arguments property: User specified arguments to HDInsightActivity.HDInsightStreamingActivity
withCombiner(Object combiner)
Set the combiner property: Combiner executable name.HDInsightStreamingActivity
withCommandEnvironment(List<Object> commandEnvironment)
Set the commandEnvironment property: Command line environment values.HDInsightStreamingActivity
withDefines(Map<String,Object> defines)
Set the defines property: Allows user to specify defines for streaming job request.HDInsightStreamingActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.HDInsightStreamingActivity
withDescription(String description)
Set the description property: Activity description.HDInsightStreamingActivity
withFileLinkedService(LinkedServiceReference fileLinkedService)
Set the fileLinkedService property: Linked service reference where the files are located.HDInsightStreamingActivity
withFilePaths(List<Object> filePaths)
Set the filePaths property: Paths to streaming job files.HDInsightStreamingActivity
withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.HDInsightStreamingActivity
withInput(Object input)
Set the input property: Input blob path.HDInsightStreamingActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.HDInsightStreamingActivity
withMapper(Object mapper)
Set the mapper property: Mapper executable name.HDInsightStreamingActivity
withName(String name)
Set the name property: Activity name.HDInsightStreamingActivity
withOutput(Object output)
Set the output property: Output blob path.HDInsightStreamingActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.HDInsightStreamingActivity
withReducer(Object reducer)
Set the reducer property: Reducer executable name.HDInsightStreamingActivity
withStorageLinkedServices(List<LinkedServiceReference> storageLinkedServices)
Set the storageLinkedServices property: Storage linked service references.HDInsightStreamingActivity
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withLinkedServiceName
public HDInsightStreamingActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceName
in classExecutionActivity
- 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 classExecutionActivity
- 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 classExecutionActivity
- 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 classExecutionActivity
- 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 classExecutionActivity
- 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 classExecutionActivity
- 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 classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-