Class VpnConnectionOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
Describes VPN connection options.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic VpnConnectionOptions.Builderbuilder()final BooleanIndicates whether acceleration is enabled for the VPN connection.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the TunnelOptions property.final StringThe IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.final StringThe IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.final StringThe type of IPv4 address assigned to the outside interface of the customer gateway.final StringThe IPv4 CIDR on the Amazon Web Services side of the VPN connection.final StringThe IPv6 CIDR on the Amazon Web Services side of the VPN connection.static Class<? extends VpnConnectionOptions.Builder>final BooleanIndicates whether the VPN connection uses static routes only.final StringtoString()Returns a string representation of this object.final StringThe transit gateway attachment ID in use for the VPN tunnel.final VpnTunnelBandwidthThe configured bandwidth for the VPN tunnel.final StringThe configured bandwidth for the VPN tunnel.final TunnelInsideIpVersionIndicates whether the VPN tunnels process IPv4 or IPv6 traffic.final StringIndicates whether the VPN tunnels process IPv4 or IPv6 traffic.final List<TunnelOption>Indicates the VPN tunnel options.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
enableAcceleration
Indicates whether acceleration is enabled for the VPN connection.
- Returns:
- Indicates whether acceleration is enabled for the VPN connection.
-
staticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
- Returns:
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
localIpv4NetworkCidr
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
- Returns:
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
-
remoteIpv4NetworkCidr
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
- Returns:
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
-
localIpv6NetworkCidr
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
- Returns:
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
-
remoteIpv6NetworkCidr
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
- Returns:
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
-
outsideIpAddressType
The type of IPv4 address assigned to the outside interface of the customer gateway.
Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4- Returns:
- The type of IPv4 address assigned to the outside interface of the customer gateway.
Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4
-
transportTransitGatewayAttachmentId
The transit gateway attachment ID in use for the VPN tunnel.
- Returns:
- The transit gateway attachment ID in use for the VPN tunnel.
-
tunnelInsideIpVersion
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
If the service returns an enum value that is not available in the current SDK version,
tunnelInsideIpVersionwill returnTunnelInsideIpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtunnelInsideIpVersionAsString().- Returns:
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
- See Also:
-
tunnelInsideIpVersionAsString
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
If the service returns an enum value that is not available in the current SDK version,
tunnelInsideIpVersionwill returnTunnelInsideIpVersion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtunnelInsideIpVersionAsString().- Returns:
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
- See Also:
-
hasTunnelOptions
public final boolean hasTunnelOptions()For responses, this returns true if the service returned a value for the TunnelOptions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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. -
tunnelOptions
Indicates the VPN tunnel options.
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
hasTunnelOptions()method.- Returns:
- Indicates the VPN tunnel options.
-
tunnelBandwidth
The configured bandwidth for the VPN tunnel. Represents the current throughput capacity setting for the tunnel connection.
standardtunnel bandwidth supports up to 1.25 Gbps per tunnel whilelargesupports up to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the connection,standardis used as the default value.If the service returns an enum value that is not available in the current SDK version,
tunnelBandwidthwill returnVpnTunnelBandwidth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtunnelBandwidthAsString().- Returns:
- The configured bandwidth for the VPN tunnel. Represents the current throughput capacity setting for the
tunnel connection.
standardtunnel bandwidth supports up to 1.25 Gbps per tunnel whilelargesupports up to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the connection,standardis used as the default value. - See Also:
-
tunnelBandwidthAsString
The configured bandwidth for the VPN tunnel. Represents the current throughput capacity setting for the tunnel connection.
standardtunnel bandwidth supports up to 1.25 Gbps per tunnel whilelargesupports up to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the connection,standardis used as the default value.If the service returns an enum value that is not available in the current SDK version,
tunnelBandwidthwill returnVpnTunnelBandwidth.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtunnelBandwidthAsString().- Returns:
- The configured bandwidth for the VPN tunnel. Represents the current throughput capacity setting for the
tunnel connection.
standardtunnel bandwidth supports up to 1.25 Gbps per tunnel whilelargesupports up to 5 Gbps per tunnel. If no tunnel bandwidth was specified for the connection,standardis used as the default value. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-