Class RouteMapProperties

java.lang.Object
com.azure.resourcemanager.network.fluent.models.RouteMapProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<RouteMapProperties>

public final class RouteMapProperties extends Object implements com.azure.json.JsonSerializable<RouteMapProperties>
Properties of RouteMap resource.
  • Constructor Details

    • RouteMapProperties

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

    • associatedInboundConnections

      public List<String> associatedInboundConnections()
      Get the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.
      Returns:
      the associatedInboundConnections value.
    • withAssociatedInboundConnections

      public RouteMapProperties withAssociatedInboundConnections(List<String> associatedInboundConnections)
      Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.
      Parameters:
      associatedInboundConnections - the associatedInboundConnections value to set.
      Returns:
      the RouteMapProperties object itself.
    • associatedOutboundConnections

      public List<String> associatedOutboundConnections()
      Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.
      Returns:
      the associatedOutboundConnections value.
    • withAssociatedOutboundConnections

      public RouteMapProperties withAssociatedOutboundConnections(List<String> associatedOutboundConnections)
      Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.
      Parameters:
      associatedOutboundConnections - the associatedOutboundConnections value to set.
      Returns:
      the RouteMapProperties object itself.
    • rules

      public List<RouteMapRule> rules()
      Get the rules property: List of RouteMap rules to be applied.
      Returns:
      the rules value.
    • withRules

      public RouteMapProperties withRules(List<RouteMapRule> rules)
      Set the rules property: List of RouteMap rules to be applied.
      Parameters:
      rules - the rules value to set.
      Returns:
      the RouteMapProperties object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the RouteMap 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<RouteMapProperties>
      Throws:
      IOException
    • fromJson

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