Class BreakOutCategoryPolicies

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

public final class BreakOutCategoryPolicies extends Object implements com.azure.json.JsonSerializable<BreakOutCategoryPolicies>
Network Virtual Appliance Sku Properties.
  • Constructor Details

    • BreakOutCategoryPolicies

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

    • allow

      public Boolean allow()
      Get the allow property: Flag to control breakout of o365 allow category.
      Returns:
      the allow value.
    • withAllow

      public BreakOutCategoryPolicies withAllow(Boolean allow)
      Set the allow property: Flag to control breakout of o365 allow category.
      Parameters:
      allow - the allow value to set.
      Returns:
      the BreakOutCategoryPolicies object itself.
    • optimize

      public Boolean optimize()
      Get the optimize property: Flag to control breakout of o365 optimize category.
      Returns:
      the optimize value.
    • withOptimize

      public BreakOutCategoryPolicies withOptimize(Boolean optimize)
      Set the optimize property: Flag to control breakout of o365 optimize category.
      Parameters:
      optimize - the optimize value to set.
      Returns:
      the BreakOutCategoryPolicies object itself.
    • defaultProperty

      public Boolean defaultProperty()
      Get the defaultProperty property: Flag to control breakout of o365 default category.
      Returns:
      the defaultProperty value.
    • withDefaultProperty

      public BreakOutCategoryPolicies withDefaultProperty(Boolean defaultProperty)
      Set the defaultProperty property: Flag to control breakout of o365 default category.
      Parameters:
      defaultProperty - the defaultProperty value to set.
      Returns:
      the BreakOutCategoryPolicies object itself.
    • 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<BreakOutCategoryPolicies>
      Throws:
      IOException
    • fromJson

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