Class HDInsightMapReduceActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.HDInsightMapReduceActivity
-
public final class HDInsightMapReduceActivity extends ExecutionActivity
HDInsight MapReduce activity type.
-
-
Constructor Summary
Constructors Constructor Description HDInsightMapReduceActivity()
-
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
className()
Get the className property: Class name.Map<String,Object>
defines()
Get the defines property: Allows user to specify defines for the MapReduce job request.HDInsightActivityDebugInfoOption
getDebugInfo()
Get the getDebugInfo property: Debug info option.Object
jarFilePath()
Get the jarFilePath property: Jar path.List<Object>
jarLibs()
Get the jarLibs property: Jar libs.LinkedServiceReference
jarLinkedService()
Get the jarLinkedService property: Jar linked service reference.List<LinkedServiceReference>
storageLinkedServices()
Get the storageLinkedServices property: Storage linked service references.void
validate()
Validates the instance.HDInsightMapReduceActivity
withArguments(List<Object> arguments)
Set the arguments property: User specified arguments to HDInsightActivity.HDInsightMapReduceActivity
withClassName(Object className)
Set the className property: Class name.HDInsightMapReduceActivity
withDefines(Map<String,Object> defines)
Set the defines property: Allows user to specify defines for the MapReduce job request.HDInsightMapReduceActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.HDInsightMapReduceActivity
withDescription(String description)
Set the description property: Activity description.HDInsightMapReduceActivity
withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.HDInsightMapReduceActivity
withJarFilePath(Object jarFilePath)
Set the jarFilePath property: Jar path.HDInsightMapReduceActivity
withJarLibs(List<Object> jarLibs)
Set the jarLibs property: Jar libs.HDInsightMapReduceActivity
withJarLinkedService(LinkedServiceReference jarLinkedService)
Set the jarLinkedService property: Jar linked service reference.HDInsightMapReduceActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.HDInsightMapReduceActivity
withName(String name)
Set the name property: Activity name.HDInsightMapReduceActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.HDInsightMapReduceActivity
withStorageLinkedServices(List<LinkedServiceReference> storageLinkedServices)
Set the storageLinkedServices property: Storage linked service references.HDInsightMapReduceActivity
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 HDInsightMapReduceActivity 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 HDInsightMapReduceActivity 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 HDInsightMapReduceActivity 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 HDInsightMapReduceActivity 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 HDInsightMapReduceActivity 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 HDInsightMapReduceActivity 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 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 classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-