Class DataLakeAnalyticsUsqlActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.DataLakeAnalyticsUsqlActivity
-
public final class DataLakeAnalyticsUsqlActivity extends ExecutionActivity
Data Lake Analytics U-SQL activity.
-
-
Constructor Summary
Constructors Constructor Description DataLakeAnalyticsUsqlActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
compilationMode()
Get the compilationMode property: Compilation mode of U-SQL.Object
degreeOfParallelism()
Get the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job.Map<String,Object>
parameters()
Get the parameters property: Parameters for U-SQL job request.Object
priority()
Get the priority property: Determines which jobs out of all that are queued should be selected to run first.Object
runtimeVersion()
Get the runtimeVersion property: Runtime version of the U-SQL engine to use.LinkedServiceReference
scriptLinkedService()
Get the scriptLinkedService property: Script linked service reference.Object
scriptPath()
Get the scriptPath property: Case-sensitive path to folder that contains the U-SQL script.void
validate()
Validates the instance.DataLakeAnalyticsUsqlActivity
withCompilationMode(Object compilationMode)
Set the compilationMode property: Compilation mode of U-SQL.DataLakeAnalyticsUsqlActivity
withDegreeOfParallelism(Object degreeOfParallelism)
Set the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job.DataLakeAnalyticsUsqlActivity
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.DataLakeAnalyticsUsqlActivity
withDescription(String description)
Set the description property: Activity description.DataLakeAnalyticsUsqlActivity
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.DataLakeAnalyticsUsqlActivity
withName(String name)
Set the name property: Activity name.DataLakeAnalyticsUsqlActivity
withParameters(Map<String,Object> parameters)
Set the parameters property: Parameters for U-SQL job request.DataLakeAnalyticsUsqlActivity
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.DataLakeAnalyticsUsqlActivity
withPriority(Object priority)
Set the priority property: Determines which jobs out of all that are queued should be selected to run first.DataLakeAnalyticsUsqlActivity
withRuntimeVersion(Object runtimeVersion)
Set the runtimeVersion property: Runtime version of the U-SQL engine to use.DataLakeAnalyticsUsqlActivity
withScriptLinkedService(LinkedServiceReference scriptLinkedService)
Set the scriptLinkedService property: Script linked service reference.DataLakeAnalyticsUsqlActivity
withScriptPath(Object scriptPath)
Set the scriptPath property: Case-sensitive path to folder that contains the U-SQL script.DataLakeAnalyticsUsqlActivity
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 DataLakeAnalyticsUsqlActivity 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 DataLakeAnalyticsUsqlActivity 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 DataLakeAnalyticsUsqlActivity 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 DataLakeAnalyticsUsqlActivity 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 DataLakeAnalyticsUsqlActivity 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 DataLakeAnalyticsUsqlActivity 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.
-
scriptPath
public Object scriptPath()
Get the scriptPath property: Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).- Returns:
- the scriptPath value.
-
withScriptPath
public DataLakeAnalyticsUsqlActivity withScriptPath(Object scriptPath)
Set the scriptPath property: Case-sensitive path to folder that contains the U-SQL script. Type: string (or Expression with resultType string).- Parameters:
scriptPath
- the scriptPath value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
scriptLinkedService
public LinkedServiceReference scriptLinkedService()
Get the scriptLinkedService property: Script linked service reference.- Returns:
- the scriptLinkedService value.
-
withScriptLinkedService
public DataLakeAnalyticsUsqlActivity withScriptLinkedService(LinkedServiceReference scriptLinkedService)
Set the scriptLinkedService property: Script linked service reference.- Parameters:
scriptLinkedService
- the scriptLinkedService value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
degreeOfParallelism
public Object degreeOfParallelism()
Get the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.- Returns:
- the degreeOfParallelism value.
-
withDegreeOfParallelism
public DataLakeAnalyticsUsqlActivity withDegreeOfParallelism(Object degreeOfParallelism)
Set the degreeOfParallelism property: The maximum number of nodes simultaneously used to run the job. Default value is 1. Type: integer (or Expression with resultType integer), minimum: 1.- Parameters:
degreeOfParallelism
- the degreeOfParallelism value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
priority
public Object priority()
Get the priority property: Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.- Returns:
- the priority value.
-
withPriority
public DataLakeAnalyticsUsqlActivity withPriority(Object priority)
Set the priority property: Determines which jobs out of all that are queued should be selected to run first. The lower the number, the higher the priority. Default value is 1000. Type: integer (or Expression with resultType integer), minimum: 1.- Parameters:
priority
- the priority value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
parameters
public Map<String,Object> parameters()
Get the parameters property: Parameters for U-SQL job request.- Returns:
- the parameters value.
-
withParameters
public DataLakeAnalyticsUsqlActivity withParameters(Map<String,Object> parameters)
Set the parameters property: Parameters for U-SQL job request.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
runtimeVersion
public Object runtimeVersion()
Get the runtimeVersion property: Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).- Returns:
- the runtimeVersion value.
-
withRuntimeVersion
public DataLakeAnalyticsUsqlActivity withRuntimeVersion(Object runtimeVersion)
Set the runtimeVersion property: Runtime version of the U-SQL engine to use. Type: string (or Expression with resultType string).- Parameters:
runtimeVersion
- the runtimeVersion value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
compilationMode
public Object compilationMode()
Get the compilationMode property: Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).- Returns:
- the compilationMode value.
-
withCompilationMode
public DataLakeAnalyticsUsqlActivity withCompilationMode(Object compilationMode)
Set the compilationMode property: Compilation mode of U-SQL. Must be one of these values : Semantic, Full and SingleBox. Type: string (or Expression with resultType string).- Parameters:
compilationMode
- the compilationMode value to set.- Returns:
- the DataLakeAnalyticsUsqlActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classExecutionActivity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-