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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the breakOutCategories property: Office365 breakout categories.static O365PolicyPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of O365PolicyProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBreakOutCategories(O365BreakOutCategoryPolicies breakOutCategories) Set the breakOutCategories property: Office365 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
-
O365PolicyProperties
public O365PolicyProperties()Creates an instance of O365PolicyProperties class.
-
-
Method Details
-
breakOutCategories
Get the breakOutCategories property: Office365 breakout categories.- Returns:
- the breakOutCategories value.
-
withBreakOutCategories
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
- Specified by:
toJsonin interfacecom.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.
-