@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnectRequestBgpOptions extends Object implements Serializable, Cloneable
The BGP options for the Connect attachment.
Constructor and Description |
---|
TransitGatewayConnectRequestBgpOptions() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnectRequestBgpOptions |
clone() |
boolean |
equals(Object obj) |
Long |
getPeerAsn()
The peer Autonomous System Number (ASN).
|
int |
hashCode() |
void |
setPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayConnectRequestBgpOptions |
withPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
|
public TransitGatewayConnectRequestBgpOptions()
public void setPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
peerAsn
- The peer Autonomous System Number (ASN).public Long getPeerAsn()
The peer Autonomous System Number (ASN).
public TransitGatewayConnectRequestBgpOptions withPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
peerAsn
- The peer Autonomous System Number (ASN).public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnectRequestBgpOptions clone()