@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectPeerConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes a core network Connect peer configuration.
| Constructor and Description |
|---|
ConnectPeerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ConnectPeerConfiguration |
clone() |
boolean |
equals(Object obj) |
List<ConnectPeerBgpConfiguration> |
getBgpConfigurations()
The Connect peer BGP configurations.
|
String |
getCoreNetworkAddress()
The IP address of a core network.
|
List<String> |
getInsideCidrBlocks()
The inside IP addresses used for a Connect peer configuration.
|
String |
getPeerAddress()
The IP address of the Connect peer.
|
String |
getProtocol()
The protocol used for a Connect peer configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations)
The Connect peer BGP configurations.
|
void |
setCoreNetworkAddress(String coreNetworkAddress)
The IP address of a core network.
|
void |
setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
|
void |
setPeerAddress(String peerAddress)
The IP address of the Connect peer.
|
void |
setProtocol(String protocol)
The protocol used for a Connect peer configuration.
|
String |
toString()
Returns a string representation of this object.
|
ConnectPeerConfiguration |
withBgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations)
The Connect peer BGP configurations.
|
ConnectPeerConfiguration |
withBgpConfigurations(ConnectPeerBgpConfiguration... bgpConfigurations)
The Connect peer BGP configurations.
|
ConnectPeerConfiguration |
withCoreNetworkAddress(String coreNetworkAddress)
The IP address of a core network.
|
ConnectPeerConfiguration |
withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
|
ConnectPeerConfiguration |
withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
|
ConnectPeerConfiguration |
withPeerAddress(String peerAddress)
The IP address of the Connect peer.
|
ConnectPeerConfiguration |
withProtocol(String protocol)
The protocol used for a Connect peer configuration.
|
ConnectPeerConfiguration |
withProtocol(TunnelProtocol protocol)
The protocol used for a Connect peer configuration.
|
public void setCoreNetworkAddress(String coreNetworkAddress)
The IP address of a core network.
coreNetworkAddress - The IP address of a core network.public String getCoreNetworkAddress()
The IP address of a core network.
public ConnectPeerConfiguration withCoreNetworkAddress(String coreNetworkAddress)
The IP address of a core network.
coreNetworkAddress - The IP address of a core network.public void setPeerAddress(String peerAddress)
The IP address of the Connect peer.
peerAddress - The IP address of the Connect peer.public String getPeerAddress()
The IP address of the Connect peer.
public ConnectPeerConfiguration withPeerAddress(String peerAddress)
The IP address of the Connect peer.
peerAddress - The IP address of the Connect peer.public List<String> getInsideCidrBlocks()
The inside IP addresses used for a Connect peer configuration.
public void setInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
insideCidrBlocks - The inside IP addresses used for a Connect peer configuration.public ConnectPeerConfiguration withInsideCidrBlocks(String... insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
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 inside IP addresses used for a Connect peer configuration.public ConnectPeerConfiguration withInsideCidrBlocks(Collection<String> insideCidrBlocks)
The inside IP addresses used for a Connect peer configuration.
insideCidrBlocks - The inside IP addresses used for a Connect peer configuration.public void setProtocol(String protocol)
The protocol used for a Connect peer configuration.
protocol - The protocol used for a Connect peer configuration.TunnelProtocolpublic String getProtocol()
The protocol used for a Connect peer configuration.
TunnelProtocolpublic ConnectPeerConfiguration withProtocol(String protocol)
The protocol used for a Connect peer configuration.
protocol - The protocol used for a Connect peer configuration.TunnelProtocolpublic ConnectPeerConfiguration withProtocol(TunnelProtocol protocol)
The protocol used for a Connect peer configuration.
protocol - The protocol used for a Connect peer configuration.TunnelProtocolpublic List<ConnectPeerBgpConfiguration> getBgpConfigurations()
The Connect peer BGP configurations.
public void setBgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations)
The Connect peer BGP configurations.
bgpConfigurations - The Connect peer BGP configurations.public ConnectPeerConfiguration withBgpConfigurations(ConnectPeerBgpConfiguration... bgpConfigurations)
The Connect peer BGP configurations.
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 Connect peer BGP configurations.public ConnectPeerConfiguration withBgpConfigurations(Collection<ConnectPeerBgpConfiguration> bgpConfigurations)
The Connect peer BGP configurations.
bgpConfigurations - The Connect peer BGP configurations.public String toString()
toString in class ObjectObject.toString()public ConnectPeerConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.