Class TransitGatewayAttachmentBgpConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.TransitGatewayAttachmentBgpConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<TransitGatewayAttachmentBgpConfiguration.Builder,TransitGatewayAttachmentBgpConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class TransitGatewayAttachmentBgpConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TransitGatewayAttachmentBgpConfiguration.Builder,TransitGatewayAttachmentBgpConfiguration>
The BGP configuration information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TransitGatewayAttachmentBgpConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpStatus
bgpStatus()
The BGP status.String
bgpStatusAsString()
The BGP status.static TransitGatewayAttachmentBgpConfiguration.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
peerAddress()
The interior BGP peer IP address for the appliance.Long
peerAsn()
The peer Autonomous System Number (ASN).List<SdkField<?>>
sdkFields()
static Class<? extends TransitGatewayAttachmentBgpConfiguration.Builder>
serializableBuilderClass()
TransitGatewayAttachmentBgpConfiguration.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
transitGatewayAddress()
The interior BGP peer IP address for the transit gateway.Long
transitGatewayAsn()
The transit gateway Autonomous System Number (ASN).-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
transitGatewayAsn
public final Long transitGatewayAsn()
The transit gateway Autonomous System Number (ASN).
- Returns:
- The transit gateway Autonomous System Number (ASN).
-
peerAsn
public final Long peerAsn()
The peer Autonomous System Number (ASN).
- Returns:
- The peer Autonomous System Number (ASN).
-
transitGatewayAddress
public final String transitGatewayAddress()
The interior BGP peer IP address for the transit gateway.
- Returns:
- The interior BGP peer IP address for the transit gateway.
-
peerAddress
public final String peerAddress()
The interior BGP peer IP address for the appliance.
- Returns:
- The interior BGP peer IP address for the appliance.
-
bgpStatus
public final BgpStatus bgpStatus()
The BGP status.
If the service returns an enum value that is not available in the current SDK version,
bgpStatus
will returnBgpStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombgpStatusAsString()
.- Returns:
- The BGP status.
- See Also:
BgpStatus
-
bgpStatusAsString
public final String bgpStatusAsString()
The BGP status.
If the service returns an enum value that is not available in the current SDK version,
bgpStatus
will returnBgpStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombgpStatusAsString()
.- Returns:
- The BGP status.
- See Also:
BgpStatus
-
toBuilder
public TransitGatewayAttachmentBgpConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<TransitGatewayAttachmentBgpConfiguration.Builder,TransitGatewayAttachmentBgpConfiguration>
-
builder
public static TransitGatewayAttachmentBgpConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends TransitGatewayAttachmentBgpConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-