Class FqdnEndpointsProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.FqdnEndpointsProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<FqdnEndpointsProperties>

public final class FqdnEndpointsProperties extends Object implements com.azure.json.JsonSerializable<FqdnEndpointsProperties>
The FqdnEndpointsProperties model.
  • Constructor Details

    • FqdnEndpointsProperties

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

    • category

      public String category()
      Get the category property: The category property.
      Returns:
      the category value.
    • withCategory

      public FqdnEndpointsProperties withCategory(String category)
      Set the category property: The category property.
      Parameters:
      category - the category value to set.
      Returns:
      the FqdnEndpointsProperties object itself.
    • endpoints

      public List<FqdnEndpoint> endpoints()
      Get the endpoints property: The endpoints property.
      Returns:
      the endpoints value.
    • withEndpoints

      public FqdnEndpointsProperties withEndpoints(List<FqdnEndpoint> endpoints)
      Set the endpoints property: The endpoints property.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the FqdnEndpointsProperties 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<FqdnEndpointsProperties>
      Throws:
      IOException
    • fromJson

      public static FqdnEndpointsProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of FqdnEndpointsProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of FqdnEndpointsProperties 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 FqdnEndpointsProperties.