SparkConfigProperties Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. SparkConfigProperties
- com.
Implements
public final class SparkConfigProperties
implements JsonSerializable<SparkConfigProperties>
Spark pool Config Properties SparkConfig Properties for a Big Data pool powered by Apache Spark.
Constructor Summary
| Constructor | Description |
|---|---|
| SparkConfigProperties() |
Creates an instance of Spark |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Configuration |
configurationType()
Get the configuration |
| String |
content()
Get the content property: The spark config properties. |
| String |
filename()
Get the filename property: The filename of the spark config properties file. |
|
static
Spark |
fromJson(JsonReader jsonReader)
Reads an instance of Spark |
|
Offset |
time()
Get the time property: The last update time of the spark config properties file. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Spark |
withConfigurationType(ConfigurationType configurationType)
Set the configuration |
|
Spark |
withContent(String content)
Set the content property: The spark config properties. |
|
Spark |
withFilename(String filename)
Set the filename property: The filename of the spark config properties file. |
Methods inherited from java.lang.Object
Constructor Details
SparkConfigProperties
public SparkConfigProperties()
Creates an instance of SparkConfigProperties class.
Method Details
configurationType
public ConfigurationType configurationType()
Get the configurationType property: The type of the spark config properties file.
Returns:
content
public String content()
Get the content property: The spark config properties.
Returns:
filename
public String filename()
Get the filename property: The filename of the spark config properties file.
Returns:
fromJson
public static SparkConfigProperties fromJson(JsonReader jsonReader)
Reads an instance of SparkConfigProperties from the JsonReader.
Parameters:
Returns:
Throws:
time
public OffsetDateTime time()
Get the time property: The last update time of the spark config properties file.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfigurationType
public SparkConfigProperties withConfigurationType(ConfigurationType configurationType)
Set the configurationType property: The type of the spark config properties file.
Parameters:
Returns:
withContent
public SparkConfigProperties withContent(String content)
Set the content property: The spark config properties.
Parameters:
Returns:
withFilename
public SparkConfigProperties withFilename(String filename)
Set the filename property: The filename of the spark config properties file.
Parameters:
Returns: