Interface BGPPeer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BGPPeer.Builder,BGPPeer>,SdkBuilder<BGPPeer.Builder,BGPPeer>,SdkPojo
- Enclosing class:
- BGPPeer
public static interface BGPPeer.Builder extends SdkPojo, CopyableBuilder<BGPPeer.Builder,BGPPeer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BGPPeer.BuilderaddressFamily(String addressFamily)The address family for the BGP peer.BGPPeer.BuilderaddressFamily(AddressFamily addressFamily)The address family for the BGP peer.BGPPeer.BuilderamazonAddress(String amazonAddress)The IP address assigned to the Amazon interface.BGPPeer.Builderasn(Integer asn)The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.BGPPeer.BuilderauthKey(String authKey)The authentication key for BGP configuration.BGPPeer.BuilderawsDeviceV2(String awsDeviceV2)The Direct Connect endpoint that terminates the BGP peer.BGPPeer.BuilderawsLogicalDeviceId(String awsLogicalDeviceId)The Direct Connect endpoint that terminates the logical connection.BGPPeer.BuilderbgpPeerId(String bgpPeerId)The ID of the BGP peer.BGPPeer.BuilderbgpPeerState(String bgpPeerState)The state of the BGP peer.BGPPeer.BuilderbgpPeerState(BGPPeerState bgpPeerState)The state of the BGP peer.BGPPeer.BuilderbgpStatus(String bgpStatus)The status of the BGP peer.BGPPeer.BuilderbgpStatus(BGPStatus bgpStatus)The status of the BGP peer.BGPPeer.BuildercustomerAddress(String customerAddress)The IP address assigned to the customer interface.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
bgpPeerId
BGPPeer.Builder bgpPeerId(String bgpPeerId)
The ID of the BGP peer.
- Parameters:
bgpPeerId- The ID of the BGP peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asn
BGPPeer.Builder asn(Integer asn)
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.
- Parameters:
asn- The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authKey
BGPPeer.Builder authKey(String authKey)
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
- Parameters:
authKey- The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressFamily
BGPPeer.Builder addressFamily(String addressFamily)
The address family for the BGP peer.
- Parameters:
addressFamily- The address family for the BGP peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AddressFamily,AddressFamily
-
addressFamily
BGPPeer.Builder addressFamily(AddressFamily addressFamily)
The address family for the BGP peer.
- Parameters:
addressFamily- The address family for the BGP peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AddressFamily,AddressFamily
-
amazonAddress
BGPPeer.Builder amazonAddress(String amazonAddress)
The IP address assigned to the Amazon interface.
- Parameters:
amazonAddress- The IP address assigned to the Amazon interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerAddress
BGPPeer.Builder customerAddress(String customerAddress)
The IP address assigned to the customer interface.
- Parameters:
customerAddress- The IP address assigned to the customer interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bgpPeerState
BGPPeer.Builder bgpPeerState(String bgpPeerState)
The state of the BGP peer. The following are the possible values:
-
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. -
pending: The BGP peer is created, and remains in this state until it is ready to be established. -
available: The BGP peer is ready to be established. -
deleting: The BGP peer is being deleted. -
deleted: The BGP peer is deleted and cannot be established.
- Parameters:
bgpPeerState- The state of the BGP peer. The following are the possible values:-
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. -
pending: The BGP peer is created, and remains in this state until it is ready to be established. -
available: The BGP peer is ready to be established. -
deleting: The BGP peer is being deleted. -
deleted: The BGP peer is deleted and cannot be established.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BGPPeerState,BGPPeerState
-
-
bgpPeerState
BGPPeer.Builder bgpPeerState(BGPPeerState bgpPeerState)
The state of the BGP peer. The following are the possible values:
-
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. -
pending: The BGP peer is created, and remains in this state until it is ready to be established. -
available: The BGP peer is ready to be established. -
deleting: The BGP peer is being deleted. -
deleted: The BGP peer is deleted and cannot be established.
- Parameters:
bgpPeerState- The state of the BGP peer. The following are the possible values:-
verifying: The BGP peering addresses or ASN require validation before the BGP peer can be created. This state applies only to public virtual interfaces. -
pending: The BGP peer is created, and remains in this state until it is ready to be established. -
available: The BGP peer is ready to be established. -
deleting: The BGP peer is being deleted. -
deleted: The BGP peer is deleted and cannot be established.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BGPPeerState,BGPPeerState
-
-
bgpStatus
BGPPeer.Builder bgpStatus(String bgpStatus)
The status of the BGP peer. The following are the possible values:
-
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. -
down: The BGP peer is down. -
unknown: The BGP peer status is not available.
- Parameters:
bgpStatus- The status of the BGP peer. The following are the possible values:-
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. -
down: The BGP peer is down. -
unknown: The BGP peer status is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BGPStatus,BGPStatus
-
-
bgpStatus
BGPPeer.Builder bgpStatus(BGPStatus bgpStatus)
The status of the BGP peer. The following are the possible values:
-
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. -
down: The BGP peer is down. -
unknown: The BGP peer status is not available.
- Parameters:
bgpStatus- The status of the BGP peer. The following are the possible values:-
up: The BGP peer is established. This state does not indicate the state of the routing function. Ensure that you are receiving routes over the BGP session. -
down: The BGP peer is down. -
unknown: The BGP peer status is not available.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BGPStatus,BGPStatus
-
-
awsDeviceV2
BGPPeer.Builder awsDeviceV2(String awsDeviceV2)
The Direct Connect endpoint that terminates the BGP peer.
- Parameters:
awsDeviceV2- The Direct Connect endpoint that terminates the BGP peer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsLogicalDeviceId
BGPPeer.Builder awsLogicalDeviceId(String awsLogicalDeviceId)
The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.
- Parameters:
awsLogicalDeviceId- The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-