public final class HDInsightSparkActivity extends ExecutionActivity
| Constructor and Description |
|---|
HDInsightSparkActivity() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
arguments()
Get the arguments property: The user-specified arguments to HDInsightSparkActivity.
|
String |
className()
Get the className property: The application's Java/Spark main class.
|
Object |
entryFilePath()
Get the entryFilePath property: The relative path to the root folder of the code/package to be executed.
|
HDInsightActivityDebugInfoOption |
getDebugInfo()
Get the getDebugInfo property: Debug info option.
|
Object |
proxyUser()
Get the proxyUser property: The user to impersonate that will execute the job.
|
Object |
rootPath()
Get the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.
|
Map<String,Object> |
sparkConfig()
Get the sparkConfig property: Spark configuration property.
|
LinkedServiceReference |
sparkJobLinkedService()
Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies,
and for receiving logs.
|
void |
validate()
Validates the instance.
|
HDInsightSparkActivity |
withArguments(List<Object> arguments)
Set the arguments property: The user-specified arguments to HDInsightSparkActivity.
|
HDInsightSparkActivity |
withClassName(String className)
Set the className property: The application's Java/Spark main class.
|
HDInsightSparkActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
HDInsightSparkActivity |
withDescription(String description)
Set the description property: Activity description.
|
HDInsightSparkActivity |
withEntryFilePath(Object entryFilePath)
Set the entryFilePath property: The relative path to the root folder of the code/package to be executed.
|
HDInsightSparkActivity |
withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.
|
HDInsightSparkActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
HDInsightSparkActivity |
withName(String name)
Set the name property: Activity name.
|
HDInsightSparkActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
HDInsightSparkActivity |
withProxyUser(Object proxyUser)
Set the proxyUser property: The user to impersonate that will execute the job.
|
HDInsightSparkActivity |
withRootPath(Object rootPath)
Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.
|
HDInsightSparkActivity |
withSparkConfig(Map<String,Object> sparkConfig)
Set the sparkConfig property: Spark configuration property.
|
HDInsightSparkActivity |
withSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)
Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies,
and for receiving logs.
|
HDInsightSparkActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic HDInsightSparkActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public HDInsightSparkActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public HDInsightSparkActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public HDInsightSparkActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public HDInsightSparkActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public HDInsightSparkActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ExecutionActivityuserProperties - the userProperties value to set.public Object rootPath()
public HDInsightSparkActivity withRootPath(Object rootPath)
rootPath - the rootPath value to set.public Object entryFilePath()
public HDInsightSparkActivity withEntryFilePath(Object entryFilePath)
entryFilePath - the entryFilePath value to set.public List<Object> arguments()
public HDInsightSparkActivity withArguments(List<Object> arguments)
arguments - the arguments value to set.public HDInsightActivityDebugInfoOption getDebugInfo()
public HDInsightSparkActivity withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
getDebugInfo - the getDebugInfo value to set.public LinkedServiceReference sparkJobLinkedService()
public HDInsightSparkActivity withSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)
sparkJobLinkedService - the sparkJobLinkedService value to set.public String className()
public HDInsightSparkActivity withClassName(String className)
className - the className value to set.public Object proxyUser()
public HDInsightSparkActivity withProxyUser(Object proxyUser)
proxyUser - the proxyUser value to set.public Map<String,Object> sparkConfig()
public HDInsightSparkActivity withSparkConfig(Map<String,Object> sparkConfig)
sparkConfig - the sparkConfig value to set.public void validate()
validate in class ExecutionActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.