Class PartialBatchDeployment
java.lang.Object
com.azure.resourcemanager.machinelearning.models.PartialBatchDeployment
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PartialBatchDeployment>
public final class PartialBatchDeployment
extends Object
implements com.azure.json.JsonSerializable<PartialBatchDeployment>
Mutable batch inference settings per deployment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PartialBatchDeployment class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the endpoint deployment.static PartialBatchDeploymentfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PartialBatchDeployment from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDescription(String description) Set the description property: Description of the endpoint deployment.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
-
PartialBatchDeployment
public PartialBatchDeployment()Creates an instance of PartialBatchDeployment class.
-
-
Method Details
-
description
Get the description property: Description of the endpoint deployment.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the endpoint deployment.- Parameters:
description- the description value to set.- Returns:
- the PartialBatchDeployment object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PartialBatchDeployment>- Throws:
IOException
-
fromJson
public static PartialBatchDeployment fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PartialBatchDeployment from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PartialBatchDeployment 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 PartialBatchDeployment.
-