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

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

    • FqdnEndpoint

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

    • domainName

      public String domainName()
      Get the domainName property: The domainName property.
      Returns:
      the domainName value.
    • withDomainName

      public FqdnEndpoint withDomainName(String domainName)
      Set the domainName property: The domainName property.
      Parameters:
      domainName - the domainName value to set.
      Returns:
      the FqdnEndpoint object itself.
    • endpointDetails

      public List<FqdnEndpointDetail> endpointDetails()
      Get the endpointDetails property: The endpointDetails property.
      Returns:
      the endpointDetails value.
    • withEndpointDetails

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

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