ModelEnvironmentDefinitionResponseSpark Class
- java.
lang. Object - com.
azure. resourcemanager. machinelearningservices. models. ModelSparkSection - com.
azure. resourcemanager. machinelearningservices. models. ModelEnvironmentDefinitionResponseSpark
- com.
- com.
public final class ModelEnvironmentDefinitionResponseSpark
extends ModelSparkSection
The configuration for a Spark environment.
Constructor Summary
Constructor | Description | |
---|---|---|
ModelEnvironmentDefinitionResponseSpark() |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance. |
Model |
withPackages(List<SparkMavenPackage> packages)
Set the packages property: The Spark packages to use. |
Model |
withPrecachePackages(Boolean precachePackages)
Set the precache |
Model |
withRepositories(List<String> repositories)
Set the repositories property: The list of spark repositories. |
Methods inherited from ModelSparkSection
Methods inherited from java.lang.Object
Constructor Details
ModelEnvironmentDefinitionResponseSpark
public ModelEnvironmentDefinitionResponseSpark()
Method Details
validate
public void validate()
Validates the instance.
Overrides:
ModelEnvironmentDefinitionResponseSpark.validate()withPackages
public ModelEnvironmentDefinitionResponseSpark withPackages(List
Set the packages property: The Spark packages to use.
Overrides:
ModelEnvironmentDefinitionResponseSpark.withPackages(List<SparkMavenPackage> packages)Parameters:
withPrecachePackages
public ModelEnvironmentDefinitionResponseSpark withPrecachePackages(Boolean precachePackages)
Set the precachePackages property: Whether to precache the packages.
Overrides:
ModelEnvironmentDefinitionResponseSpark.withPrecachePackages(Boolean precachePackages)Parameters:
withRepositories
public ModelEnvironmentDefinitionResponseSpark withRepositories(List
Set the repositories property: The list of spark repositories.
Overrides:
ModelEnvironmentDefinitionResponseSpark.withRepositories(List<String> repositories)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for