@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectPeerBgpConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network BGP configuration.
Constructor and Description |
---|
ConnectPeerBgpConfiguration() |
Modifier and Type | Method and Description |
---|---|
ConnectPeerBgpConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCoreNetworkAddress()
The address of a core network.
|
Long |
getCoreNetworkAsn()
The ASN of the Coret Network.
|
String |
getPeerAddress()
The address of a core network Connect peer.
|
Long |
getPeerAsn()
The ASN of the Connect peer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCoreNetworkAddress(String coreNetworkAddress)
The address of a core network.
|
void |
setCoreNetworkAsn(Long coreNetworkAsn)
The ASN of the Coret Network.
|
void |
setPeerAddress(String peerAddress)
The address of a core network Connect peer.
|
void |
setPeerAsn(Long peerAsn)
The ASN of the Connect peer.
|
String |
toString()
Returns a string representation of this object.
|
ConnectPeerBgpConfiguration |
withCoreNetworkAddress(String coreNetworkAddress)
The address of a core network.
|
ConnectPeerBgpConfiguration |
withCoreNetworkAsn(Long coreNetworkAsn)
The ASN of the Coret Network.
|
ConnectPeerBgpConfiguration |
withPeerAddress(String peerAddress)
The address of a core network Connect peer.
|
ConnectPeerBgpConfiguration |
withPeerAsn(Long peerAsn)
The ASN of the Connect peer.
|
public void setCoreNetworkAsn(Long coreNetworkAsn)
The ASN of the Coret Network.
coreNetworkAsn
- The ASN of the Coret Network.public Long getCoreNetworkAsn()
The ASN of the Coret Network.
public ConnectPeerBgpConfiguration withCoreNetworkAsn(Long coreNetworkAsn)
The ASN of the Coret Network.
coreNetworkAsn
- The ASN of the Coret Network.public void setPeerAsn(Long peerAsn)
The ASN of the Connect peer.
peerAsn
- The ASN of the Connect peer.public Long getPeerAsn()
The ASN of the Connect peer.
public ConnectPeerBgpConfiguration withPeerAsn(Long peerAsn)
The ASN of the Connect peer.
peerAsn
- The ASN of the Connect peer.public void setCoreNetworkAddress(String coreNetworkAddress)
The address of a core network.
coreNetworkAddress
- The address of a core network.public String getCoreNetworkAddress()
The address of a core network.
public ConnectPeerBgpConfiguration withCoreNetworkAddress(String coreNetworkAddress)
The address of a core network.
coreNetworkAddress
- The address of a core network.public void setPeerAddress(String peerAddress)
The address of a core network Connect peer.
peerAddress
- The address of a core network Connect peer.public String getPeerAddress()
The address of a core network Connect peer.
public ConnectPeerBgpConfiguration withPeerAddress(String peerAddress)
The address of a core network Connect peer.
peerAddress
- The address of a core network Connect peer.public String toString()
toString
in class Object
Object.toString()
public ConnectPeerBgpConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.