@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitGatewayConnectPeerConfiguration extends Object implements Serializable, Cloneable
Describes the Connect peer details.
Constructor and Description |
---|
TransitGatewayConnectPeerConfiguration() |
Modifier and Type | Method and Description |
---|---|
TransitGatewayConnectPeerConfiguration |
clone() |
boolean |
equals(Object obj) |
List<TransitGatewayAttachmentBgpConfiguration> |
getBgpConfigurations()
The BGP configuration details.
|
List<String> |
getInsideCidrBlocks()
The range of interior BGP peer IP addresses.
|
String |
getPeerAddress()
The Connect peer IP address on the appliance side of the tunnel.
|
String |
getProtocol()
The tunnel protocol.
|
String |
getTransitGatewayAddress()
The Connect peer IP address on the transit gateway side of the tunnel.
|
int |
hashCode() |
void |
setBgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations)
The BGP configuration details.
|
void |
setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of interior BGP peer IP addresses.
|
void |
setPeerAddress(String peerAddress)
The Connect peer IP address on the appliance side of the tunnel.
|
void |
setProtocol(String protocol)
The tunnel protocol.
|
void |
setTransitGatewayAddress(String transitGatewayAddress)
The Connect peer IP address on the transit gateway side of the tunnel.
|
String |
toString()
Returns a string representation of this object.
|
TransitGatewayConnectPeerConfiguration |
withBgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations)
The BGP configuration details.
|
TransitGatewayConnectPeerConfiguration |
withBgpConfigurations(TransitGatewayAttachmentBgpConfiguration... bgpConfigurations)
The BGP configuration details.
|
TransitGatewayConnectPeerConfiguration |
withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of interior BGP peer IP addresses.
|
TransitGatewayConnectPeerConfiguration |
withInsideCidrBlocks(String... insideCidrBlocks)
The range of interior BGP peer IP addresses.
|
TransitGatewayConnectPeerConfiguration |
withPeerAddress(String peerAddress)
The Connect peer IP address on the appliance side of the tunnel.
|
TransitGatewayConnectPeerConfiguration |
withProtocol(ProtocolValue protocol)
The tunnel protocol.
|
TransitGatewayConnectPeerConfiguration |
withProtocol(String protocol)
The tunnel protocol.
|
TransitGatewayConnectPeerConfiguration |
withTransitGatewayAddress(String transitGatewayAddress)
The Connect peer IP address on the transit gateway side of the tunnel.
|
public TransitGatewayConnectPeerConfiguration()
public void setTransitGatewayAddress(String transitGatewayAddress)
The Connect peer IP address on the transit gateway side of the tunnel.
transitGatewayAddress
- The Connect peer IP address on the transit gateway side of the tunnel.public String getTransitGatewayAddress()
The Connect peer IP address on the transit gateway side of the tunnel.
public TransitGatewayConnectPeerConfiguration withTransitGatewayAddress(String transitGatewayAddress)
The Connect peer IP address on the transit gateway side of the tunnel.
transitGatewayAddress
- The Connect peer IP address on the transit gateway side of the tunnel.public void setPeerAddress(String peerAddress)
The Connect peer IP address on the appliance side of the tunnel.
peerAddress
- The Connect peer IP address on the appliance side of the tunnel.public String getPeerAddress()
The Connect peer IP address on the appliance side of the tunnel.
public TransitGatewayConnectPeerConfiguration withPeerAddress(String peerAddress)
The Connect peer IP address on the appliance side of the tunnel.
peerAddress
- The Connect peer IP address on the appliance side of the tunnel.public List<String> getInsideCidrBlocks()
The range of interior BGP peer IP addresses.
public void setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of interior BGP peer IP addresses.
insideCidrBlocks
- The range of interior BGP peer IP addresses.public TransitGatewayConnectPeerConfiguration withInsideCidrBlocks(String... insideCidrBlocks)
The range of interior BGP peer IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setInsideCidrBlocks(java.util.Collection)
or withInsideCidrBlocks(java.util.Collection)
if you
want to override the existing values.
insideCidrBlocks
- The range of interior BGP peer IP addresses.public TransitGatewayConnectPeerConfiguration withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The range of interior BGP peer IP addresses.
insideCidrBlocks
- The range of interior BGP peer IP addresses.public void setProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public String getProtocol()
The tunnel protocol.
ProtocolValue
public TransitGatewayConnectPeerConfiguration withProtocol(String protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public TransitGatewayConnectPeerConfiguration withProtocol(ProtocolValue protocol)
The tunnel protocol.
protocol
- The tunnel protocol.ProtocolValue
public List<TransitGatewayAttachmentBgpConfiguration> getBgpConfigurations()
The BGP configuration details.
public void setBgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations)
The BGP configuration details.
bgpConfigurations
- The BGP configuration details.public TransitGatewayConnectPeerConfiguration withBgpConfigurations(TransitGatewayAttachmentBgpConfiguration... bgpConfigurations)
The BGP configuration details.
NOTE: This method appends the values to the existing list (if any). Use
setBgpConfigurations(java.util.Collection)
or withBgpConfigurations(java.util.Collection)
if
you want to override the existing values.
bgpConfigurations
- The BGP configuration details.public TransitGatewayConnectPeerConfiguration withBgpConfigurations(Collection<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations)
The BGP configuration details.
bgpConfigurations
- The BGP configuration details.public String toString()
toString
in class Object
Object.toString()
public TransitGatewayConnectPeerConfiguration clone()
Copyright © 2022. All rights reserved.