BreakOutCategoryPolicies Class

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

Implements

public final class BreakOutCategoryPolicies
implements JsonSerializable<BreakOutCategoryPolicies>

Network Virtual Appliance Sku Properties.

Constructor Summary

Constructor Description
BreakOutCategoryPolicies()

Creates an instance of BreakOutCategoryPolicies class.

Method Summary

Modifier and Type Method and Description
Boolean allow()

Get the allow property: Flag to control breakout of o365 allow category.

Boolean defaultProperty()

Get the defaultProperty property: Flag to control breakout of o365 default category.

static BreakOutCategoryPolicies fromJson(JsonReader jsonReader)

Reads an instance of BreakOutCategoryPolicies from the JsonReader.

Boolean optimize()

Get the optimize property: Flag to control breakout of o365 optimize category.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BreakOutCategoryPolicies withAllow(Boolean allow)

Set the allow property: Flag to control breakout of o365 allow category.

BreakOutCategoryPolicies withDefaultProperty(Boolean defaultProperty)

Set the defaultProperty property: Flag to control breakout of o365 default category.

BreakOutCategoryPolicies withOptimize(Boolean optimize)

Set the optimize property: Flag to control breakout of o365 optimize category.

Methods inherited from java.lang.Object

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.

defaultProperty

public Boolean defaultProperty()

Get the defaultProperty property: Flag to control breakout of o365 default category.

Returns:

the defaultProperty value.

fromJson

public static BreakOutCategoryPolicies fromJson(JsonReader jsonReader)

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.

optimize

public Boolean optimize()

Get the optimize property: Flag to control breakout of o365 optimize category.

Returns:

the optimize value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to