
com.microsoft.azure.management.network.implementation.BgpServiceCommunityInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* 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.implementation;
import java.util.List;
import com.microsoft.azure.management.network.BGPCommunity;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
import com.microsoft.azure.Resource;
/**
* Service Community Properties.
*/
@JsonFlatten
@SkipParentValidation
public class BgpServiceCommunityInner extends Resource {
/**
* The name of the bgp community. e.g. Skype.
*/
@JsonProperty(value = "properties.serviceName")
private String serviceName;
/**
* A list of bgp communities.
*/
@JsonProperty(value = "properties.bgpCommunities")
private List bgpCommunities;
/**
* Resource ID.
*/
@JsonProperty(value = "id")
private String id;
/**
* Get the name of the bgp community. e.g. Skype.
*
* @return the serviceName value
*/
public String serviceName() {
return this.serviceName;
}
/**
* Set the name of the bgp community. e.g. Skype.
*
* @param serviceName the serviceName value to set
* @return the BgpServiceCommunityInner object itself.
*/
public BgpServiceCommunityInner withServiceName(String serviceName) {
this.serviceName = serviceName;
return this;
}
/**
* Get a list of bgp communities.
*
* @return the bgpCommunities value
*/
public List bgpCommunities() {
return this.bgpCommunities;
}
/**
* Set a list of bgp communities.
*
* @param bgpCommunities the bgpCommunities value to set
* @return the BgpServiceCommunityInner object itself.
*/
public BgpServiceCommunityInner withBgpCommunities(List bgpCommunities) {
this.bgpCommunities = bgpCommunities;
return this;
}
/**
* Get resource ID.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set resource ID.
*
* @param id the id value to set
* @return the BgpServiceCommunityInner object itself.
*/
public BgpServiceCommunityInner withId(String id) {
this.id = id;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy