Class BGPCommunity
- java.lang.Object
-
- com.microsoft.azure.management.network.BGPCommunity
-
public class BGPCommunity extends Object
Contains bgp community information offered in Service Community resources.
-
-
Constructor Summary
Constructors Constructor Description BGPCommunity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcommunityName()Get the communityName value.List<String>communityPrefixes()Get the communityPrefixes value.StringcommunityValue()Get the communityValue value.BooleanisAuthorizedToUse()Get the isAuthorizedToUse value.StringserviceGroup()Get the serviceGroup value.StringserviceSupportedRegion()Get the serviceSupportedRegion value.BGPCommunitywithCommunityName(String communityName)Set the communityName value.BGPCommunitywithCommunityPrefixes(List<String> communityPrefixes)Set the communityPrefixes value.BGPCommunitywithCommunityValue(String communityValue)Set the communityValue value.BGPCommunitywithIsAuthorizedToUse(Boolean isAuthorizedToUse)Set the isAuthorizedToUse value.BGPCommunitywithServiceGroup(String serviceGroup)Set the serviceGroup value.BGPCommunitywithServiceSupportedRegion(String serviceSupportedRegion)Set the serviceSupportedRegion value.
-
-
-
Method Detail
-
serviceSupportedRegion
public String serviceSupportedRegion()
Get the serviceSupportedRegion value.- Returns:
- the serviceSupportedRegion value
-
withServiceSupportedRegion
public BGPCommunity withServiceSupportedRegion(String serviceSupportedRegion)
Set the serviceSupportedRegion value.- Parameters:
serviceSupportedRegion- the serviceSupportedRegion value to set- Returns:
- the BGPCommunity object itself.
-
communityName
public String communityName()
Get the communityName value.- Returns:
- the communityName value
-
withCommunityName
public BGPCommunity withCommunityName(String communityName)
Set the communityName value.- Parameters:
communityName- the communityName value to set- Returns:
- the BGPCommunity object itself.
-
communityValue
public String communityValue()
Get the communityValue value.- Returns:
- the communityValue value
-
withCommunityValue
public BGPCommunity withCommunityValue(String communityValue)
Set the communityValue value.- Parameters:
communityValue- the communityValue value to set- Returns:
- the BGPCommunity object itself.
-
communityPrefixes
public List<String> communityPrefixes()
Get the communityPrefixes value.- Returns:
- the communityPrefixes value
-
withCommunityPrefixes
public BGPCommunity withCommunityPrefixes(List<String> communityPrefixes)
Set the communityPrefixes value.- Parameters:
communityPrefixes- the communityPrefixes value to set- Returns:
- the BGPCommunity object itself.
-
isAuthorizedToUse
public Boolean isAuthorizedToUse()
Get the isAuthorizedToUse value.- Returns:
- the isAuthorizedToUse value
-
withIsAuthorizedToUse
public BGPCommunity withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set the isAuthorizedToUse value.- Parameters:
isAuthorizedToUse- the isAuthorizedToUse value to set- Returns:
- the BGPCommunity object itself.
-
serviceGroup
public String serviceGroup()
Get the serviceGroup value.- Returns:
- the serviceGroup value
-
withServiceGroup
public BGPCommunity withServiceGroup(String serviceGroup)
Set the serviceGroup value.- Parameters:
serviceGroup- the serviceGroup value to set- Returns:
- the BGPCommunity object itself.
-
-