PartialBatchDeployment Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.PartialBatchDeployment

Implements

public final class PartialBatchDeployment
implements JsonSerializable<PartialBatchDeployment>

Mutable batch inference settings per deployment.

Constructor Summary

Constructor Description
PartialBatchDeployment()

Creates an instance of PartialBatchDeployment class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the endpoint deployment.

static PartialBatchDeployment fromJson(JsonReader jsonReader)

Reads an instance of PartialBatchDeployment from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PartialBatchDeployment withDescription(String description)

Set the description property: Description of the endpoint deployment.

Methods inherited from java.lang.Object

Constructor Details

PartialBatchDeployment

public PartialBatchDeployment()

Creates an instance of PartialBatchDeployment class.

Method Details

description

public String description()

Get the description property: Description of the endpoint deployment.

Returns:

the description value.

fromJson

public static PartialBatchDeployment fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public PartialBatchDeployment withDescription(String description)

Set the description property: Description of the endpoint deployment.

Parameters:

description - the description value to set.

Returns:

the PartialBatchDeployment object itself.

Applies to