Class FqdnEndpoint
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the domainName property: The domainName property.Get the endpointDetails property: The endpointDetails property.static FqdnEndpointfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FqdnEndpoint from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDomainName(String domainName) Set the domainName property: The domainName property.withEndpointDetails(List<FqdnEndpointDetail> endpointDetails) Set the endpointDetails property: The endpointDetails property.Methods inherited from class java.lang.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
-
FqdnEndpoint
public FqdnEndpoint()Creates an instance of FqdnEndpoint class.
-
-
Method Details
-
domainName
Get the domainName property: The domainName property.- Returns:
- the domainName value.
-
withDomainName
Set the domainName property: The domainName property.- Parameters:
domainName- the domainName value to set.- Returns:
- the FqdnEndpoint object itself.
-
endpointDetails
Get the endpointDetails property: The endpointDetails property.- Returns:
- the endpointDetails value.
-
withEndpointDetails
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<FqdnEndpoint>- Throws:
IOException
-
fromJson
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.
-