public final class RouterBgpPeer extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RouterBgpPeer() |
| Modifier and Type | Method and Description |
|---|---|
RouterBgpPeer |
clone() |
List<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.
|
List<RouterAdvertisedIpRange> |
getAdvertisedIpRanges()
User-specified list of individual IP ranges to advertise in custom mode.
|
Long |
getAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.
|
String |
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.
|
String |
getInterfaceName()
Name of the interface the BGP peer is associated with.
|
String |
getIpAddress()
IP address of the interface inside Google Cloud Platform.
|
String |
getManagementType()
[Output Only] The resource that configures and manages this BGP peer.
|
String |
getName()
Name of this BGP peer.
|
Long |
getPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
String |
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
RouterBgpPeer |
set(String fieldName,
Object value) |
RouterBgpPeer |
setAdvertisedGroups(List<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(List<RouterAdvertisedIpRange> advertisedIpRanges)
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterBgpPeer |
setAdvertisedRoutePriority(Long advertisedRoutePriority)
The priority of routes advertised to this BGP peer.
|
RouterBgpPeer |
setAdvertiseMode(String advertiseMode)
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeer |
setInterfaceName(String interfaceName)
Name of the interface the BGP peer is associated with.
|
RouterBgpPeer |
setIpAddress(String ipAddress)
IP address of the interface inside Google Cloud Platform.
|
RouterBgpPeer |
setManagementType(String managementType)
[Output Only] The resource that configures and manages this BGP peer.
|
RouterBgpPeer |
setName(String name)
Name of this BGP peer.
|
RouterBgpPeer |
setPeerAsn(Long peerAsn)
Peer BGP Autonomous System Number (ASN).
|
RouterBgpPeer |
setPeerIpAddress(String peerIpAddress)
IP address of the BGP interface outside Google Cloud Platform.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAdvertiseMode()
null for nonepublic RouterBgpPeer setAdvertiseMode(String advertiseMode)
advertiseMode - advertiseMode or null for nonepublic List<String> getAdvertisedGroups()
null for nonepublic RouterBgpPeer setAdvertisedGroups(List<String> advertisedGroups)
advertisedGroups - advertisedGroups or null for nonepublic List<RouterAdvertisedIpRange> getAdvertisedIpRanges()
null for nonepublic RouterBgpPeer setAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
advertisedIpRanges - advertisedIpRanges or null for nonepublic Long getAdvertisedRoutePriority()
null for nonepublic RouterBgpPeer setAdvertisedRoutePriority(Long advertisedRoutePriority)
advertisedRoutePriority - advertisedRoutePriority or null for nonepublic String getInterfaceName()
null for nonepublic RouterBgpPeer setInterfaceName(String interfaceName)
interfaceName - interfaceName or null for nonepublic String getIpAddress()
null for nonepublic RouterBgpPeer setIpAddress(String ipAddress)
ipAddress - ipAddress or null for nonepublic String getManagementType()
null for nonepublic RouterBgpPeer setManagementType(String managementType)
managementType - managementType or null for nonepublic String getName()
null for nonepublic RouterBgpPeer setName(String name)
name - name or null for nonepublic Long getPeerAsn()
null for nonepublic RouterBgpPeer setPeerAsn(Long peerAsn)
peerAsn - peerAsn or null for nonepublic String getPeerIpAddress()
null for nonepublic RouterBgpPeer setPeerIpAddress(String peerIpAddress)
peerIpAddress - peerIpAddress or null for nonepublic RouterBgpPeer set(String fieldName, Object value)
set in class GenericJsonpublic RouterBgpPeer clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.