Class RoutingIntentProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.RoutingIntentProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RoutingIntentProperties>
public final class RoutingIntentProperties
extends Object
implements com.azure.json.JsonSerializable<RoutingIntentProperties>
The properties of a RoutingIntent resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RoutingIntentProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic RoutingIntentPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RoutingIntentProperties from the JsonReader.Get the provisioningState property: The provisioning state of the RoutingIntent resource.Get the routingPolicies property: List of routing policies.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withRoutingPolicies(List<RoutingPolicy> routingPolicies) Set the routingPolicies property: List of routing policies.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
-
RoutingIntentProperties
public RoutingIntentProperties()Creates an instance of RoutingIntentProperties class.
-
-
Method Details
-
routingPolicies
Get the routingPolicies property: List of routing policies.- Returns:
- the routingPolicies value.
-
withRoutingPolicies
Set the routingPolicies property: List of routing policies.- Parameters:
routingPolicies- the routingPolicies value to set.- Returns:
- the RoutingIntentProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the RoutingIntent resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RoutingIntentProperties>- Throws:
IOException
-
fromJson
public static RoutingIntentProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RoutingIntentProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RoutingIntentProperties 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 RoutingIntentProperties.
-