@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()
For responses, this returns true if the service returned a value for the BgpConfigurations property.
|
int |
hashCode() |
boolean |
hasInsideCidrBlocks()
For responses, this returns true if the service returned a value for the InsideCidrBlocks property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInsideCidrBlocks() method.
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<TransitGatewayAttachmentBgpConfiguration> bgpConfigurations()
The BGP configuration details.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBgpConfigurations() method.
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 © 2023. All rights reserved.