Class O365PolicyProperties

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

public final class O365PolicyProperties extends Object implements com.azure.json.JsonSerializable<O365PolicyProperties>
The Office365 breakout policy.
  • Constructor Details

    • O365PolicyProperties

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

    • breakOutCategories

      public O365BreakOutCategoryPolicies breakOutCategories()
      Get the breakOutCategories property: Office365 breakout categories.
      Returns:
      the breakOutCategories value.
    • withBreakOutCategories

      public O365PolicyProperties withBreakOutCategories(O365BreakOutCategoryPolicies breakOutCategories)
      Set the breakOutCategories property: Office365 breakout categories.
      Parameters:
      breakOutCategories - the breakOutCategories value to set.
      Returns:
      the O365PolicyProperties 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<O365PolicyProperties>
      Throws:
      IOException
    • fromJson

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