Class HDInsightPigActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.HDInsightPigActivity
-
public final class HDInsightPigActivity extends ExecutionActivity
HDInsight Pig activity type.
-
-
Constructor Summary
Constructors Constructor Description HDInsightPigActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectarguments()Get the arguments property: User specified arguments to HDInsightActivity.Map<String,Object>defines()Get the defines property: Allows user to specify defines for Pig job request.HDInsightActivityDebugInfoOptiongetDebugInfo()Get the getDebugInfo property: Debug info option.LinkedServiceReferencescriptLinkedService()Get the scriptLinkedService property: Script linked service reference.ObjectscriptPath()Get the scriptPath property: Script path.List<LinkedServiceReference>storageLinkedServices()Get the storageLinkedServices property: Storage linked service references.voidvalidate()Validates the instance.HDInsightPigActivitywithArguments(Object arguments)Set the arguments property: User specified arguments to HDInsightActivity.HDInsightPigActivitywithDefines(Map<String,Object> defines)Set the defines property: Allows user to specify defines for Pig job request.HDInsightPigActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.HDInsightPigActivitywithDescription(String description)Set the description property: Activity description.HDInsightPigActivitywithGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)Set the getDebugInfo property: Debug info option.HDInsightPigActivitywithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.HDInsightPigActivitywithName(String name)Set the name property: Activity name.HDInsightPigActivitywithPolicy(ActivityPolicy policy)Set the policy property: Activity policy.HDInsightPigActivitywithScriptLinkedService(LinkedServiceReference scriptLinkedService)Set the scriptLinkedService property: Script linked service reference.HDInsightPigActivitywithScriptPath(Object scriptPath)Set the scriptPath property: Script path.HDInsightPigActivitywithStorageLinkedServices(List<LinkedServiceReference> storageLinkedServices)Set the storageLinkedServices property: Storage linked service references.HDInsightPigActivitywithUserProperties(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 HDInsightPigActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public HDInsightPigActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public HDInsightPigActivity withName(String name)
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public HDInsightPigActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public HDInsightPigActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public HDInsightPigActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin 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 HDInsightPigActivity withStorageLinkedServices(List<LinkedServiceReference> storageLinkedServices)
Set the storageLinkedServices property: Storage linked service references.- Parameters:
storageLinkedServices- the storageLinkedServices value to set.- Returns:
- the HDInsightPigActivity 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 HDInsightPigActivity 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 HDInsightPigActivity object itself.
-
getDebugInfo
public HDInsightActivityDebugInfoOption getDebugInfo()
Get the getDebugInfo property: Debug info option.- Returns:
- the getDebugInfo value.
-
withGetDebugInfo
public HDInsightPigActivity withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.- Parameters:
getDebugInfo- the getDebugInfo value to set.- Returns:
- the HDInsightPigActivity 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 HDInsightPigActivity 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 HDInsightPigActivity object itself.
-
scriptLinkedService
public LinkedServiceReference scriptLinkedService()
Get the scriptLinkedService property: Script linked service reference.- Returns:
- the scriptLinkedService value.
-
withScriptLinkedService
public HDInsightPigActivity withScriptLinkedService(LinkedServiceReference scriptLinkedService)
Set the scriptLinkedService property: Script linked service reference.- Parameters:
scriptLinkedService- the scriptLinkedService value to set.- Returns:
- the HDInsightPigActivity 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 HDInsightPigActivity 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 HDInsightPigActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-