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 interfaceTransitGatewayAttachmentBgpConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BgpStatusbgpStatus()The BGP status.StringbgpStatusAsString()The BGP status.static TransitGatewayAttachmentBgpConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpeerAddress()The interior BGP peer IP address for the appliance.LongpeerAsn()The peer Autonomous System Number (ASN).List<SdkField<?>>sdkFields()static Class<? extends TransitGatewayAttachmentBgpConfiguration.Builder>serializableBuilderClass()TransitGatewayAttachmentBgpConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtransitGatewayAddress()The interior BGP peer IP address for the transit gateway.LongtransitGatewayAsn()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,
bgpStatuswill 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,
bgpStatuswill 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:
toBuilderin 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:
equalsBySdkFieldsin 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.
-
-