Class ExternalEvaluationEndpointSettings
java.lang.Object
com.azure.resourcemanager.resources.models.ExternalEvaluationEndpointSettings
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExternalEvaluationEndpointSettings>
public final class ExternalEvaluationEndpointSettings
extends Object
implements com.azure.json.JsonSerializable<ExternalEvaluationEndpointSettings>
The settings of an external endpoint providing evaluation results.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExternalEvaluationEndpointSettings class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Get the details property: The details of the endpoint.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExternalEvaluationEndpointSettings from the JsonReader.kind()Get the kind property: The kind of the endpoint.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDetails(Object details) Set the details property: The details of the endpoint.Set the kind property: The kind of the endpoint.Methods inherited from class 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
-
ExternalEvaluationEndpointSettings
public ExternalEvaluationEndpointSettings()Creates an instance of ExternalEvaluationEndpointSettings class.
-
-
Method Details
-
kind
-
withKind
Set the kind property: The kind of the endpoint.- Parameters:
kind- the kind value to set.- Returns:
- the ExternalEvaluationEndpointSettings object itself.
-
details
Get the details property: The details of the endpoint.- Returns:
- the details value.
-
withDetails
Set the details property: The details of the endpoint.- Parameters:
details- the details value to set.- Returns:
- the ExternalEvaluationEndpointSettings 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<ExternalEvaluationEndpointSettings>- Throws:
IOException
-
fromJson
public static ExternalEvaluationEndpointSettings fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExternalEvaluationEndpointSettings from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExternalEvaluationEndpointSettings 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 ExternalEvaluationEndpointSettings.
-