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 Details

    • RoutingIntentProperties

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

    • routingPolicies

      public List<RoutingPolicy> routingPolicies()
      Get the routingPolicies property: List of routing policies.
      Returns:
      the routingPolicies value.
    • withRoutingPolicies

      public RoutingIntentProperties withRoutingPolicies(List<RoutingPolicy> routingPolicies)
      Set the routingPolicies property: List of routing policies.
      Parameters:
      routingPolicies - the routingPolicies value to set.
      Returns:
      the RoutingIntentProperties object itself.
    • provisioningState

      public ProvisioningState 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.