public static class RouterBgpPeer.Builder extends Object
Modifier and Type | Method and Description |
---|---|
RouterBgpPeer.Builder |
addAdvertisedGroups(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.Builder |
addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges)
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterBgpPeer.Builder |
addAllAdvertisedGroups(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.Builder |
addAllAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterBgpPeer |
build() |
RouterBgpPeer.Builder |
clone() |
List<String> |
getAdvertisedGroupsList()
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> |
getAdvertisedIpRangesList()
User-specified list of individual IP ranges to advertise in custom mode.
|
Integer |
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.
|
Integer |
getPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
String |
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
RouterBgpPeer.Builder |
mergeFrom(RouterBgpPeer other) |
RouterBgpPeer.Builder |
setAdvertisedRoutePriority(Integer advertisedRoutePriority)
The priority of routes advertised to this BGP peer.
|
RouterBgpPeer.Builder |
setAdvertiseMode(String advertiseMode)
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeer.Builder |
setInterfaceName(String interfaceName)
Name of the interface the BGP peer is associated with.
|
RouterBgpPeer.Builder |
setIpAddress(String ipAddress)
IP address of the interface inside Google Cloud Platform.
|
RouterBgpPeer.Builder |
setManagementType(String managementType)
[Output Only] The resource that configures and manages this BGP peer.
|
RouterBgpPeer.Builder |
setName(String name)
Name of this BGP peer.
|
RouterBgpPeer.Builder |
setPeerAsn(Integer peerAsn)
Peer BGP Autonomous System Number (ASN).
|
RouterBgpPeer.Builder |
setPeerIpAddress(String peerIpAddress)
IP address of the BGP interface outside Google Cloud Platform.
|
public RouterBgpPeer.Builder mergeFrom(RouterBgpPeer other)
public String getAdvertiseMode()
public RouterBgpPeer.Builder setAdvertiseMode(String advertiseMode)
public List<String> getAdvertisedGroupsList()
public RouterBgpPeer.Builder addAllAdvertisedGroups(List<String> advertisedGroups)
public RouterBgpPeer.Builder addAdvertisedGroups(String advertisedGroups)
public List<RouterAdvertisedIpRange> getAdvertisedIpRangesList()
public RouterBgpPeer.Builder addAllAdvertisedIpRanges(List<RouterAdvertisedIpRange> advertisedIpRanges)
public RouterBgpPeer.Builder addAdvertisedIpRanges(RouterAdvertisedIpRange advertisedIpRanges)
public Integer getAdvertisedRoutePriority()
public RouterBgpPeer.Builder setAdvertisedRoutePriority(Integer advertisedRoutePriority)
public String getInterfaceName()
public RouterBgpPeer.Builder setInterfaceName(String interfaceName)
public String getIpAddress()
public RouterBgpPeer.Builder setIpAddress(String ipAddress)
public String getManagementType()
public RouterBgpPeer.Builder setManagementType(String managementType)
public String getName()
public RouterBgpPeer.Builder setName(String name)
public Integer getPeerAsn()
public RouterBgpPeer.Builder setPeerAsn(Integer peerAsn)
public String getPeerIpAddress()
public RouterBgpPeer.Builder setPeerIpAddress(String peerIpAddress)
public RouterBgpPeer build()
public RouterBgpPeer.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.