public final class HDInsightSparkActivityTypeProperties extends Object
| Constructor and Description |
|---|
HDInsightSparkActivityTypeProperties() |
| 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.
|
HDInsightSparkActivityTypeProperties |
withArguments(List<Object> arguments)
Set the arguments property: The user-specified arguments to HDInsightSparkActivity.
|
HDInsightSparkActivityTypeProperties |
withClassName(String className)
Set the className property: The application's Java/Spark main class.
|
HDInsightSparkActivityTypeProperties |
withEntryFilePath(Object entryFilePath)
Set the entryFilePath property: The relative path to the root folder of the code/package to be executed.
|
HDInsightSparkActivityTypeProperties |
withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.
|
HDInsightSparkActivityTypeProperties |
withProxyUser(Object proxyUser)
Set the proxyUser property: The user to impersonate that will execute the job.
|
HDInsightSparkActivityTypeProperties |
withRootPath(Object rootPath)
Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.
|
HDInsightSparkActivityTypeProperties |
withSparkConfig(Map<String,Object> sparkConfig)
Set the sparkConfig property: Spark configuration property.
|
HDInsightSparkActivityTypeProperties |
withSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)
Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies,
and for receiving logs.
|
public HDInsightSparkActivityTypeProperties()
public Object rootPath()
public HDInsightSparkActivityTypeProperties withRootPath(Object rootPath)
rootPath - the rootPath value to set.public Object entryFilePath()
public HDInsightSparkActivityTypeProperties withEntryFilePath(Object entryFilePath)
entryFilePath - the entryFilePath value to set.public List<Object> arguments()
public HDInsightSparkActivityTypeProperties withArguments(List<Object> arguments)
arguments - the arguments value to set.public HDInsightActivityDebugInfoOption getDebugInfo()
public HDInsightSparkActivityTypeProperties withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
getDebugInfo - the getDebugInfo value to set.public LinkedServiceReference sparkJobLinkedService()
public HDInsightSparkActivityTypeProperties withSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)
sparkJobLinkedService - the sparkJobLinkedService value to set.public String className()
public HDInsightSparkActivityTypeProperties withClassName(String className)
className - the className value to set.public Object proxyUser()
public HDInsightSparkActivityTypeProperties withProxyUser(Object proxyUser)
proxyUser - the proxyUser value to set.public Map<String,Object> sparkConfig()
public HDInsightSparkActivityTypeProperties withSparkConfig(Map<String,Object> sparkConfig)
sparkConfig - the sparkConfig value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.