public class BgpServiceCommunityInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
BgpServiceCommunityInner() |
| Modifier and Type | Method and Description |
|---|---|
List<BgpCommunity> |
bgpCommunities()
Get the bgpCommunities property: A list of bgp communities.
|
String |
id()
Get the id property: Resource ID.
|
String |
serviceName()
Get the serviceName property: The name of the bgp community.
|
void |
validate()
Validates the instance.
|
BgpServiceCommunityInner |
withBgpCommunities(List<BgpCommunity> bgpCommunities)
Set the bgpCommunities property: A list of bgp communities.
|
BgpServiceCommunityInner |
withId(String id)
Set the id property: Resource ID.
|
BgpServiceCommunityInner |
withLocation(String location) |
BgpServiceCommunityInner |
withServiceName(String serviceName)
Set the serviceName property: The name of the bgp community.
|
BgpServiceCommunityInner |
withTags(Map<String,String> tags) |
public String serviceName()
public BgpServiceCommunityInner withServiceName(String serviceName)
serviceName - the serviceName value to set.public List<BgpCommunity> bgpCommunities()
public BgpServiceCommunityInner withBgpCommunities(List<BgpCommunity> bgpCommunities)
bgpCommunities - the bgpCommunities value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic BgpServiceCommunityInner withId(String id)
id - the id value to set.public BgpServiceCommunityInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic BgpServiceCommunityInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.