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

com.microsoft.azure.management.network.BGPCommunity Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.network;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Contains bgp community information offered in Service Community resources.
 */
public class BGPCommunity {
    /**
     * The region which the service support. e.g. For O365, region is Global.
     */
    @JsonProperty(value = "serviceSupportedRegion")
    private String serviceSupportedRegion;

    /**
     * The name of the bgp community. e.g. Skype.
     */
    @JsonProperty(value = "communityName")
    private String communityName;

    /**
     * The value of the bgp community. For more information:
     * https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
     */
    @JsonProperty(value = "communityValue")
    private String communityValue;

    /**
     * The prefixes that the bgp community contains.
     */
    @JsonProperty(value = "communityPrefixes")
    private List communityPrefixes;

    /**
     * Customer is authorized to use bgp community or not.
     */
    @JsonProperty(value = "isAuthorizedToUse")
    private Boolean isAuthorizedToUse;

    /**
     * The service group of the bgp community contains.
     */
    @JsonProperty(value = "serviceGroup")
    private String serviceGroup;

    /**
     * Get the region which the service support. e.g. For O365, region is Global.
     *
     * @return the serviceSupportedRegion value
     */
    public String serviceSupportedRegion() {
        return this.serviceSupportedRegion;
    }

    /**
     * Set the region which the service support. e.g. For O365, region is Global.
     *
     * @param serviceSupportedRegion the serviceSupportedRegion value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion) {
        this.serviceSupportedRegion = serviceSupportedRegion;
        return this;
    }

    /**
     * Get the name of the bgp community. e.g. Skype.
     *
     * @return the communityName value
     */
    public String communityName() {
        return this.communityName;
    }

    /**
     * Set the name of the bgp community. e.g. Skype.
     *
     * @param communityName the communityName value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withCommunityName(String communityName) {
        this.communityName = communityName;
        return this;
    }

    /**
     * Get the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
     *
     * @return the communityValue value
     */
    public String communityValue() {
        return this.communityValue;
    }

    /**
     * Set the value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing.
     *
     * @param communityValue the communityValue value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withCommunityValue(String communityValue) {
        this.communityValue = communityValue;
        return this;
    }

    /**
     * Get the prefixes that the bgp community contains.
     *
     * @return the communityPrefixes value
     */
    public List communityPrefixes() {
        return this.communityPrefixes;
    }

    /**
     * Set the prefixes that the bgp community contains.
     *
     * @param communityPrefixes the communityPrefixes value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withCommunityPrefixes(List communityPrefixes) {
        this.communityPrefixes = communityPrefixes;
        return this;
    }

    /**
     * Get customer is authorized to use bgp community or not.
     *
     * @return the isAuthorizedToUse value
     */
    public Boolean isAuthorizedToUse() {
        return this.isAuthorizedToUse;
    }

    /**
     * Set customer is authorized to use bgp community or not.
     *
     * @param isAuthorizedToUse the isAuthorizedToUse value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse) {
        this.isAuthorizedToUse = isAuthorizedToUse;
        return this;
    }

    /**
     * Get the service group of the bgp community contains.
     *
     * @return the serviceGroup value
     */
    public String serviceGroup() {
        return this.serviceGroup;
    }

    /**
     * Set the service group of the bgp community contains.
     *
     * @param serviceGroup the serviceGroup value to set
     * @return the BGPCommunity object itself.
     */
    public BGPCommunity withServiceGroup(String serviceGroup) {
        this.serviceGroup = serviceGroup;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy