Class BatchPipelineComponentDeploymentConfiguration
java.lang.Object
com.azure.resourcemanager.machinelearning.models.BatchDeploymentConfiguration
com.azure.resourcemanager.machinelearning.models.BatchPipelineComponentDeploymentConfiguration
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BatchDeploymentConfiguration>
public final class BatchPipelineComponentDeploymentConfiguration
extends BatchDeploymentConfiguration
Properties for a Batch Pipeline Component Deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BatchPipelineComponentDeploymentConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the componentId property: The ARM id of the component to be run.Get the deploymentConfigurationType property: [Required] The type of the deployment.Get the description property: The description which will be applied to the job.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BatchPipelineComponentDeploymentConfiguration from the JsonReader.settings()Get the settings property: Run-time settings for the pipeline job.tags()Get the tags property: The tags which will be applied to the job.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withComponentId(IdAssetReference componentId) Set the componentId property: The ARM id of the component to be run.withDescription(String description) Set the description property: The description which will be applied to the job.withSettings(Map<String, String> settings) Set the settings property: Run-time settings for the pipeline job.Set the tags property: The tags which will be applied to the job.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BatchPipelineComponentDeploymentConfiguration
public BatchPipelineComponentDeploymentConfiguration()Creates an instance of BatchPipelineComponentDeploymentConfiguration class.
-
-
Method Details
-
deploymentConfigurationType
Get the deploymentConfigurationType property: [Required] The type of the deployment.- Overrides:
deploymentConfigurationTypein classBatchDeploymentConfiguration- Returns:
- the deploymentConfigurationType value.
-
componentId
Get the componentId property: The ARM id of the component to be run.- Returns:
- the componentId value.
-
withComponentId
Set the componentId property: The ARM id of the component to be run.- Parameters:
componentId- the componentId value to set.- Returns:
- the BatchPipelineComponentDeploymentConfiguration object itself.
-
description
Get the description property: The description which will be applied to the job.- Returns:
- the description value.
-
withDescription
Set the description property: The description which will be applied to the job.- Parameters:
description- the description value to set.- Returns:
- the BatchPipelineComponentDeploymentConfiguration object itself.
-
settings
Get the settings property: Run-time settings for the pipeline job.- Returns:
- the settings value.
-
withSettings
Set the settings property: Run-time settings for the pipeline job.- Parameters:
settings- the settings value to set.- Returns:
- the BatchPipelineComponentDeploymentConfiguration object itself.
-
tags
Get the tags property: The tags which will be applied to the job.- Returns:
- the tags value.
-
withTags
Set the tags property: The tags which will be applied to the job.- Parameters:
tags- the tags value to set.- Returns:
- the BatchPipelineComponentDeploymentConfiguration object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classBatchDeploymentConfiguration- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BatchDeploymentConfiguration>- Overrides:
toJsonin classBatchDeploymentConfiguration- Throws:
IOException
-
fromJson
public static BatchPipelineComponentDeploymentConfiguration fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BatchPipelineComponentDeploymentConfiguration from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BatchPipelineComponentDeploymentConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the BatchPipelineComponentDeploymentConfiguration.
-