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 Details

    • ExternalEvaluationEndpointSettings

      public ExternalEvaluationEndpointSettings()
      Creates an instance of ExternalEvaluationEndpointSettings class.
  • Method Details

    • kind

      public String kind()
      Get the kind property: The kind of the endpoint.
      Returns:
      the kind value.
    • withKind

      Set the kind property: The kind of the endpoint.
      Parameters:
      kind - the kind value to set.
      Returns:
      the ExternalEvaluationEndpointSettings object itself.
    • details

      public Object details()
      Get the details property: The details of the endpoint.
      Returns:
      the details value.
    • withDetails

      public ExternalEvaluationEndpointSettings withDetails(Object details)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.