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 Summary
ConstructorsConstructorDescriptionCreates an instance of FqdnEndpointsProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Get the category property: The category property.Get the endpoints property: The endpoints property.static FqdnEndpointsPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of FqdnEndpointsProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCategory(String category) Set the category property: The category property.withEndpoints(List<FqdnEndpoint> endpoints) Set the endpoints property: The endpoints 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
-
FqdnEndpointsProperties
public FqdnEndpointsProperties()Creates an instance of FqdnEndpointsProperties class.
-
-
Method Details
-
category
Get the category property: The category property.- Returns:
- the category value.
-
withCategory
Set the category property: The category property.- Parameters:
category- the category value to set.- Returns:
- the FqdnEndpointsProperties object itself.
-
endpoints
Get the endpoints property: The endpoints property.- Returns:
- the endpoints value.
-
withEndpoints
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
- Specified by:
toJsonin interfacecom.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.
-