@Generated(value="software.amazon.awssdk:codegen") public final class TransitGatewayConnectPeerConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>
Describes the Connect peer details.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TransitGatewayConnectPeerConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<TransitGatewayAttachmentBgpConfiguration> |
bgpConfigurations()
The BGP configuration details.
|
static TransitGatewayConnectPeerConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBgpConfigurations()
Returns true if the BgpConfigurations property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasInsideCidrBlocks()
Returns true if the InsideCidrBlocks property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<String> |
insideCidrBlocks()
The range of interior BGP peer IP addresses.
|
String |
peerAddress()
The Connect peer IP address on the appliance side of the tunnel.
|
ProtocolValue |
protocol()
The tunnel protocol.
|
String |
protocolAsString()
The tunnel protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TransitGatewayConnectPeerConfiguration.Builder> |
serializableBuilderClass() |
TransitGatewayConnectPeerConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayAddress()
The Connect peer IP address on the transit gateway side of the tunnel.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String transitGatewayAddress()
The Connect peer IP address on the transit gateway side of the tunnel.
public final String peerAddress()
The Connect peer IP address on the appliance side of the tunnel.
public final boolean hasInsideCidrBlocks()
public final List<String> insideCidrBlocks()
The range of interior BGP peer IP addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInsideCidrBlocks() to see if a value was sent in this field.
public final ProtocolValue protocol()
The tunnel protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolValuepublic final String protocolAsString()
The tunnel protocol.
If the service returns an enum value that is not available in the current SDK version, protocol will
return ProtocolValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
protocolAsString().
ProtocolValuepublic final boolean hasBgpConfigurations()
public final List<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations()
The BGP configuration details.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasBgpConfigurations() to see if a value was sent in this field.
public TransitGatewayConnectPeerConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransitGatewayConnectPeerConfiguration.Builder,TransitGatewayConnectPeerConfiguration>public static TransitGatewayConnectPeerConfiguration.Builder builder()
public static Class<? extends TransitGatewayConnectPeerConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.