Interface BatchAIJob.DefinitionStages.WithCluster
- All Known Subinterfaces:
BatchAIJob.Definition,BatchAIJob.DefinitionStages.Blank
- Enclosing interface:
- BatchAIJob.DefinitionStages
public static interface BatchAIJob.DefinitionStages.WithCluster
The stage of the Batch AI job definition allowing to specify cluster for the job.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingCluster(BatchAICluster cluster) Sets Batch AI cluster for the job.withExistingClusterId(String clusterId) Sets Batch AI cluster id for the job.
-
Method Details
-
withExistingCluster
Sets Batch AI cluster for the job.- Parameters:
cluster- Batch AI cluster to run the job- Returns:
- the next stage of the definition
-
withExistingClusterId
Sets Batch AI cluster id for the job.- Parameters:
clusterId- Batch AI cluster id- Returns:
- the next stage of the definition
-