Class Office365PolicyProperties
java.lang.Object
com.azure.resourcemanager.network.models.Office365PolicyProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<Office365PolicyProperties>
public final class Office365PolicyProperties
extends Object
implements com.azure.json.JsonSerializable<Office365PolicyProperties>
Network Virtual Appliance Sku Properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of Office365PolicyProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the breakOutCategories property: Office 365 breakout categories.static Office365PolicyPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of Office365PolicyProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBreakOutCategories(BreakOutCategoryPolicies breakOutCategories) Set the breakOutCategories property: Office 365 breakout categories.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
-
Office365PolicyProperties
public Office365PolicyProperties()Creates an instance of Office365PolicyProperties class.
-
-
Method Details
-
breakOutCategories
Get the breakOutCategories property: Office 365 breakout categories.- Returns:
- the breakOutCategories value.
-
withBreakOutCategories
public Office365PolicyProperties withBreakOutCategories(BreakOutCategoryPolicies breakOutCategories) Set the breakOutCategories property: Office 365 breakout categories.- Parameters:
breakOutCategories- the breakOutCategories value to set.- Returns:
- the Office365PolicyProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<Office365PolicyProperties>- Throws:
IOException
-
fromJson
public static Office365PolicyProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of Office365PolicyProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of Office365PolicyProperties 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 Office365PolicyProperties.
-