public final class RouterBgpPeer
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
RouterBgpPeer() |
Modifier and Type | Method and Description |
---|---|
RouterBgpPeer |
clone() |
java.util.List<java.lang.String> |
getAdvertisedGroups()
User-specified list of prefix groups to advertise in custom mode, which can take one of the
following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
|
java.util.List<RouterAdvertisedIpRange> |
getAdvertisedIpRanges()
User-specified list of individual IP ranges to advertise in custom mode.
|
java.lang.Long |
getAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.
|
java.lang.String |
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.
|
java.lang.String |
getInterfaceName()
Name of the interface the BGP peer is associated with.
|
java.lang.String |
getIpAddress()
IP address of the interface inside Google Cloud Platform.
|
java.lang.String |
getManagementType()
[Output Only] The resource that configures and manages this BGP peer.
|
java.lang.String |
getName()
Name of this BGP peer.
|
java.lang.Long |
getPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
java.lang.String |
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
RouterBgpPeer |
set(java.lang.String fieldName,
java.lang.Object value) |
RouterBgpPeer |
setAdvertisedGroups(java.util.List<java.lang.String> advertisedGroups)
User-specified list of prefix groups to advertise in custom mode, which can take one of the
following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets.
|
RouterBgpPeer |
setAdvertisedIpRanges(java.util.List<RouterAdvertisedIpRange> advertisedIpRanges)
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterBgpPeer |
setAdvertisedRoutePriority(java.lang.Long advertisedRoutePriority)
The priority of routes advertised to this BGP peer.
|
RouterBgpPeer |
setAdvertiseMode(java.lang.String advertiseMode)
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeer |
setInterfaceName(java.lang.String interfaceName)
Name of the interface the BGP peer is associated with.
|
RouterBgpPeer |
setIpAddress(java.lang.String ipAddress)
IP address of the interface inside Google Cloud Platform.
|
RouterBgpPeer |
setManagementType(java.lang.String managementType)
[Output Only] The resource that configures and manages this BGP peer.
|
RouterBgpPeer |
setName(java.lang.String name)
Name of this BGP peer.
|
RouterBgpPeer |
setPeerAsn(java.lang.Long peerAsn)
Peer BGP Autonomous System Number (ASN).
|
RouterBgpPeer |
setPeerIpAddress(java.lang.String peerIpAddress)
IP address of the BGP interface outside Google Cloud Platform.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAdvertiseMode()
null
for nonepublic RouterBgpPeer setAdvertiseMode(java.lang.String advertiseMode)
advertiseMode
- advertiseMode or null
for nonepublic java.util.List<java.lang.String> getAdvertisedGroups()
null
for nonepublic RouterBgpPeer setAdvertisedGroups(java.util.List<java.lang.String> advertisedGroups)
advertisedGroups
- advertisedGroups or null
for nonepublic java.util.List<RouterAdvertisedIpRange> getAdvertisedIpRanges()
null
for nonepublic RouterBgpPeer setAdvertisedIpRanges(java.util.List<RouterAdvertisedIpRange> advertisedIpRanges)
advertisedIpRanges
- advertisedIpRanges or null
for nonepublic java.lang.Long getAdvertisedRoutePriority()
null
for nonepublic RouterBgpPeer setAdvertisedRoutePriority(java.lang.Long advertisedRoutePriority)
advertisedRoutePriority
- advertisedRoutePriority or null
for nonepublic java.lang.String getInterfaceName()
null
for nonepublic RouterBgpPeer setInterfaceName(java.lang.String interfaceName)
interfaceName
- interfaceName or null
for nonepublic java.lang.String getIpAddress()
null
for nonepublic RouterBgpPeer setIpAddress(java.lang.String ipAddress)
ipAddress
- ipAddress or null
for nonepublic java.lang.String getManagementType()
null
for nonepublic RouterBgpPeer setManagementType(java.lang.String managementType)
managementType
- managementType or null
for nonepublic java.lang.String getName()
null
for nonepublic RouterBgpPeer setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Long getPeerAsn()
null
for nonepublic RouterBgpPeer setPeerAsn(java.lang.Long peerAsn)
peerAsn
- peerAsn or null
for nonepublic java.lang.String getPeerIpAddress()
null
for nonepublic RouterBgpPeer setPeerIpAddress(java.lang.String peerIpAddress)
peerIpAddress
- peerIpAddress or null
for nonepublic RouterBgpPeer set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RouterBgpPeer clone()
clone
in class com.google.api.client.json.GenericJson