Class HDInsightSparkActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.HDInsightSparkActivityTypeProperties
-
public final class HDInsightSparkActivityTypeProperties extends Object
HDInsight spark activity properties.
-
-
Constructor Summary
Constructors Constructor Description HDInsightSparkActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>arguments()Get the arguments property: The user-specified arguments to HDInsightSparkActivity.StringclassName()Get the className property: The application's Java/Spark main class.ObjectentryFilePath()Get the entryFilePath property: The relative path to the root folder of the code/package to be executed.HDInsightActivityDebugInfoOptiongetDebugInfo()Get the getDebugInfo property: Debug info option.ObjectproxyUser()Get the proxyUser property: The user to impersonate that will execute the job.ObjectrootPath()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.LinkedServiceReferencesparkJobLinkedService()Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.voidvalidate()Validates the instance.HDInsightSparkActivityTypePropertieswithArguments(List<Object> arguments)Set the arguments property: The user-specified arguments to HDInsightSparkActivity.HDInsightSparkActivityTypePropertieswithClassName(String className)Set the className property: The application's Java/Spark main class.HDInsightSparkActivityTypePropertieswithEntryFilePath(Object entryFilePath)Set the entryFilePath property: The relative path to the root folder of the code/package to be executed.HDInsightSparkActivityTypePropertieswithGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)Set the getDebugInfo property: Debug info option.HDInsightSparkActivityTypePropertieswithProxyUser(Object proxyUser)Set the proxyUser property: The user to impersonate that will execute the job.HDInsightSparkActivityTypePropertieswithRootPath(Object rootPath)Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files.HDInsightSparkActivityTypePropertieswithSparkConfig(Map<String,Object> sparkConfig)Set the sparkConfig property: Spark configuration property.HDInsightSparkActivityTypePropertieswithSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.
-
-
-
Method Detail
-
rootPath
public Object rootPath()
Get the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).- Returns:
- the rootPath value.
-
withRootPath
public HDInsightSparkActivityTypeProperties withRootPath(Object rootPath)
Set the rootPath property: The root path in 'sparkJobLinkedService' for all the job’s files. Type: string (or Expression with resultType string).- Parameters:
rootPath- the rootPath value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
entryFilePath
public Object entryFilePath()
Get the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).- Returns:
- the entryFilePath value.
-
withEntryFilePath
public HDInsightSparkActivityTypeProperties withEntryFilePath(Object entryFilePath)
Set the entryFilePath property: The relative path to the root folder of the code/package to be executed. Type: string (or Expression with resultType string).- Parameters:
entryFilePath- the entryFilePath value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
arguments
public List<Object> arguments()
Get the arguments property: The user-specified arguments to HDInsightSparkActivity.- Returns:
- the arguments value.
-
withArguments
public HDInsightSparkActivityTypeProperties withArguments(List<Object> arguments)
Set the arguments property: The user-specified arguments to HDInsightSparkActivity.- Parameters:
arguments- the arguments value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
getDebugInfo
public HDInsightActivityDebugInfoOption getDebugInfo()
Get the getDebugInfo property: Debug info option.- Returns:
- the getDebugInfo value.
-
withGetDebugInfo
public HDInsightSparkActivityTypeProperties withGetDebugInfo(HDInsightActivityDebugInfoOption getDebugInfo)
Set the getDebugInfo property: Debug info option.- Parameters:
getDebugInfo- the getDebugInfo value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
sparkJobLinkedService
public LinkedServiceReference sparkJobLinkedService()
Get the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.- Returns:
- the sparkJobLinkedService value.
-
withSparkJobLinkedService
public HDInsightSparkActivityTypeProperties withSparkJobLinkedService(LinkedServiceReference sparkJobLinkedService)
Set the sparkJobLinkedService property: The storage linked service for uploading the entry file and dependencies, and for receiving logs.- Parameters:
sparkJobLinkedService- the sparkJobLinkedService value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
className
public String className()
Get the className property: The application's Java/Spark main class.- Returns:
- the className value.
-
withClassName
public HDInsightSparkActivityTypeProperties withClassName(String className)
Set the className property: The application's Java/Spark main class.- Parameters:
className- the className value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
proxyUser
public Object proxyUser()
Get the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).- Returns:
- the proxyUser value.
-
withProxyUser
public HDInsightSparkActivityTypeProperties withProxyUser(Object proxyUser)
Set the proxyUser property: The user to impersonate that will execute the job. Type: string (or Expression with resultType string).- Parameters:
proxyUser- the proxyUser value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
sparkConfig
public Map<String,Object> sparkConfig()
Get the sparkConfig property: Spark configuration property.- Returns:
- the sparkConfig value.
-
withSparkConfig
public HDInsightSparkActivityTypeProperties withSparkConfig(Map<String,Object> sparkConfig)
Set the sparkConfig property: Spark configuration property.- Parameters:
sparkConfig- the sparkConfig value to set.- Returns:
- the HDInsightSparkActivityTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-