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 String
communityName()
Get the communityName value.List<String>
communityPrefixes()
Get the communityPrefixes value.String
communityValue()
Get the communityValue value.Boolean
isAuthorizedToUse()
Get the isAuthorizedToUse value.String
serviceGroup()
Get the serviceGroup value.String
serviceSupportedRegion()
Get the serviceSupportedRegion value.BGPCommunity
withCommunityName(String communityName)
Set the communityName value.BGPCommunity
withCommunityPrefixes(List<String> communityPrefixes)
Set the communityPrefixes value.BGPCommunity
withCommunityValue(String communityValue)
Set the communityValue value.BGPCommunity
withIsAuthorizedToUse(Boolean isAuthorizedToUse)
Set the isAuthorizedToUse value.BGPCommunity
withServiceGroup(String serviceGroup)
Set the serviceGroup value.BGPCommunity
withServiceSupportedRegion(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.
-
-