Partager via


O365BreakOutCategoryPolicies Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.O365BreakOutCategoryPolicies

Implements

public final class O365BreakOutCategoryPolicies
implements JsonSerializable<O365BreakOutCategoryPolicies>

Office365 breakout categories.

Constructor Summary

Constructor Description
O365BreakOutCategoryPolicies()

Creates an instance of O365BreakOutCategoryPolicies class.

Method Summary

Modifier and Type Method and Description
Boolean allow()

Get the allow property: Flag to control allow category.

Boolean defaultProperty()

Get the defaultProperty property: Flag to control default category.

static O365BreakOutCategoryPolicies fromJson(JsonReader jsonReader)

Reads an instance of O365BreakOutCategoryPolicies from the JsonReader.

Boolean optimize()

Get the optimize property: Flag to control optimize category.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

O365BreakOutCategoryPolicies withAllow(Boolean allow)

Set the allow property: Flag to control allow category.

O365BreakOutCategoryPolicies withDefaultProperty(Boolean defaultProperty)

Set the defaultProperty property: Flag to control default category.

O365BreakOutCategoryPolicies withOptimize(Boolean optimize)

Set the optimize property: Flag to control optimize category.

Methods inherited from java.lang.Object

Constructor Details

O365BreakOutCategoryPolicies

public O365BreakOutCategoryPolicies()

Creates an instance of O365BreakOutCategoryPolicies class.

Method Details

allow

public Boolean allow()

Get the allow property: Flag to control allow category.

Returns:

the allow value.

defaultProperty

public Boolean defaultProperty()

Get the defaultProperty property: Flag to control default category.

Returns:

the defaultProperty value.

fromJson

public static O365BreakOutCategoryPolicies fromJson(JsonReader jsonReader)

Reads an instance of O365BreakOutCategoryPolicies from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of O365BreakOutCategoryPolicies 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 O365BreakOutCategoryPolicies.

optimize

public Boolean optimize()

Get the optimize property: Flag to control optimize category.

Returns:

the optimize value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAllow

public O365BreakOutCategoryPolicies withAllow(Boolean allow)

Set the allow property: Flag to control allow category.

Parameters:

allow - the allow value to set.

Returns:

the O365BreakOutCategoryPolicies object itself.

withDefaultProperty

public O365BreakOutCategoryPolicies withDefaultProperty(Boolean defaultProperty)

Set the defaultProperty property: Flag to control default category.

Parameters:

defaultProperty - the defaultProperty value to set.

Returns:

the O365BreakOutCategoryPolicies object itself.

withOptimize

public O365BreakOutCategoryPolicies withOptimize(Boolean optimize)

Set the optimize property: Flag to control optimize category.

Parameters:

optimize - the optimize value to set.

Returns:

the O365BreakOutCategoryPolicies object itself.

Applies to