@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayAttachmentBgpConfiguration extends Object implements Serializable, Cloneable
The BGP configuration information.
Constructor and Description |
---|
TransitGatewayAttachmentBgpConfiguration() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayAttachmentBgpConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBgpStatus()
The BGP status.
|
String |
getPeerAddress()
The interior BGP peer IP address for the appliance.
|
Long |
getPeerAsn()
The peer Autonomous System Number (ASN).
|
String |
getTransitGatewayAddress()
The interior BGP peer IP address for the transit gateway.
|
Long |
getTransitGatewayAsn()
The transit gateway Autonomous System Number (ASN).
|
int |
hashCode() |
void |
setBgpStatus(String bgpStatus)
The BGP status.
|
void |
setPeerAddress(String peerAddress)
The interior BGP peer IP address for the appliance.
|
void |
setPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
|
void |
setTransitGatewayAddress(String transitGatewayAddress)
The interior BGP peer IP address for the transit gateway.
|
void |
setTransitGatewayAsn(Long transitGatewayAsn)
The transit gateway Autonomous System Number (ASN).
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayAttachmentBgpConfiguration |
withBgpStatus(BgpStatus bgpStatus)
The BGP status.
|
TransitGatewayAttachmentBgpConfiguration |
withBgpStatus(String bgpStatus)
The BGP status.
|
TransitGatewayAttachmentBgpConfiguration |
withPeerAddress(String peerAddress)
The interior BGP peer IP address for the appliance.
|
TransitGatewayAttachmentBgpConfiguration |
withPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
|
TransitGatewayAttachmentBgpConfiguration |
withTransitGatewayAddress(String transitGatewayAddress)
The interior BGP peer IP address for the transit gateway.
|
TransitGatewayAttachmentBgpConfiguration |
withTransitGatewayAsn(Long transitGatewayAsn)
The transit gateway Autonomous System Number (ASN).
|
public TransitGatewayAttachmentBgpConfiguration()
public void setTransitGatewayAsn(Long transitGatewayAsn)
The transit gateway Autonomous System Number (ASN).
transitGatewayAsn
- The transit gateway Autonomous System Number (ASN).public Long getTransitGatewayAsn()
The transit gateway Autonomous System Number (ASN).
public TransitGatewayAttachmentBgpConfiguration withTransitGatewayAsn(Long transitGatewayAsn)
The transit gateway Autonomous System Number (ASN).
transitGatewayAsn
- The transit gateway Autonomous System Number (ASN).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 TransitGatewayAttachmentBgpConfiguration withPeerAsn(Long peerAsn)
The peer Autonomous System Number (ASN).
peerAsn
- The peer Autonomous System Number (ASN).public void setTransitGatewayAddress(String transitGatewayAddress)
The interior BGP peer IP address for the transit gateway.
transitGatewayAddress
- The interior BGP peer IP address for the transit gateway.public String getTransitGatewayAddress()
The interior BGP peer IP address for the transit gateway.
public TransitGatewayAttachmentBgpConfiguration withTransitGatewayAddress(String transitGatewayAddress)
The interior BGP peer IP address for the transit gateway.
transitGatewayAddress
- The interior BGP peer IP address for the transit gateway.public void setPeerAddress(String peerAddress)
The interior BGP peer IP address for the appliance.
peerAddress
- The interior BGP peer IP address for the appliance.public String getPeerAddress()
The interior BGP peer IP address for the appliance.
public TransitGatewayAttachmentBgpConfiguration withPeerAddress(String peerAddress)
The interior BGP peer IP address for the appliance.
peerAddress
- The interior BGP peer IP address for the appliance.public void setBgpStatus(String bgpStatus)
The BGP status.
bgpStatus
- The BGP status.BgpStatus
public String getBgpStatus()
The BGP status.
BgpStatus
public TransitGatewayAttachmentBgpConfiguration withBgpStatus(String bgpStatus)
The BGP status.
bgpStatus
- The BGP status.BgpStatus
public TransitGatewayAttachmentBgpConfiguration withBgpStatus(BgpStatus bgpStatus)
The BGP status.
bgpStatus
- The BGP status.BgpStatus
public String toString()
toString
in class Object
Object.toString()
public TransitGatewayAttachmentBgpConfiguration clone()