BgpServiceCommunityInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. BgpServiceCommunityInner
- com.
- com.
- com.
public final class BgpServiceCommunityInner
extends Resource
Service Community Properties.
Constructor Summary
Constructor | Description |
---|---|
BgpServiceCommunityInner() |
Creates an instance of Bgp |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Bgp |
bgpCommunities()
Get the bgp |
static
Bgp |
fromJson(JsonReader jsonReader)
Reads an instance of Bgp |
String |
id()
Get the id property: Resource ID. |
String |
name()
Get the name property: The name of the resource. |
String |
serviceName()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Bgp |
withBgpCommunities(List<BgpCommunity> bgpCommunities)
Set the bgp |
Bgp |
withId(String id)
Set the id property: Resource ID. |
Bgp |
withLocation(String location) |
Bgp |
withServiceName(String serviceName)
Set the service |
Bgp |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
BgpServiceCommunityInner
public BgpServiceCommunityInner()
Creates an instance of BgpServiceCommunityInner class.
Method Details
bgpCommunities
public List
Get the bgpCommunities property: A list of bgp communities.
Returns:
fromJson
public static BgpServiceCommunityInner fromJson(JsonReader jsonReader)
Reads an instance of BgpServiceCommunityInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
BgpServiceCommunityInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BgpServiceCommunityInner.name()Returns:
serviceName
public String serviceName()
Get the serviceName property: The name of the bgp community. e.g. Skype.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BgpServiceCommunityInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BgpServiceCommunityInner.type()Returns:
validate
public void validate()
Validates the instance.
withBgpCommunities
public BgpServiceCommunityInner withBgpCommunities(List
Set the bgpCommunities property: A list of bgp communities.
Parameters:
Returns:
withId
public BgpServiceCommunityInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public BgpServiceCommunityInner withLocation(String location)
Overrides:
BgpServiceCommunityInner.withLocation(String location)Parameters:
withServiceName
public BgpServiceCommunityInner withServiceName(String serviceName)
Set the serviceName property: The name of the bgp community. e.g. Skype.
Parameters:
Returns:
withTags
public BgpServiceCommunityInner withTags(Map
Overrides:
BgpServiceCommunityInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java