All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.network.models.O365PolicyProperties Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.network.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The Office365 breakout policy.
 */
@Fluent
public final class O365PolicyProperties {
    /*
     * Office365 breakout categories.
     */
    @JsonProperty(value = "breakOutCategories")
    private O365BreakOutCategoryPolicies breakOutCategories;

    /**
     * Creates an instance of O365PolicyProperties class.
     */
    public O365PolicyProperties() {
    }

    /**
     * Get the breakOutCategories property: Office365 breakout categories.
     * 
     * @return the breakOutCategories value.
     */
    public O365BreakOutCategoryPolicies breakOutCategories() {
        return this.breakOutCategories;
    }

    /**
     * Set the breakOutCategories property: Office365 breakout categories.
     * 
     * @param breakOutCategories the breakOutCategories value to set.
     * @return the O365PolicyProperties object itself.
     */
    public O365PolicyProperties withBreakOutCategories(O365BreakOutCategoryPolicies breakOutCategories) {
        this.breakOutCategories = breakOutCategories;
        return this;
    }

    /**
     * Validates the instance.
     * 
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
        if (breakOutCategories() != null) {
            breakOutCategories().validate();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy