Class AwsEc2VpnConnectionOptionsTunnelOptionsDetails
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsEc2VpnConnectionOptionsTunnelOptionsDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>
@Generated("software.amazon.awssdk:codegen") public final class AwsEc2VpnConnectionOptionsTunnelOptionsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>
The VPN tunnel options.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderbuilder()IntegerdpdTimeoutSeconds()The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasIkeVersions()For responses, this returns true if the service returned a value for the IkeVersions property.booleanhasPhase1DhGroupNumbers()For responses, this returns true if the service returned a value for the Phase1DhGroupNumbers property.booleanhasPhase1EncryptionAlgorithms()For responses, this returns true if the service returned a value for the Phase1EncryptionAlgorithms property.booleanhasPhase1IntegrityAlgorithms()For responses, this returns true if the service returned a value for the Phase1IntegrityAlgorithms property.booleanhasPhase2DhGroupNumbers()For responses, this returns true if the service returned a value for the Phase2DhGroupNumbers property.booleanhasPhase2EncryptionAlgorithms()For responses, this returns true if the service returned a value for the Phase2EncryptionAlgorithms property.booleanhasPhase2IntegrityAlgorithms()For responses, this returns true if the service returned a value for the Phase2IntegrityAlgorithms property.List<String>ikeVersions()The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.StringoutsideIpAddress()The external IP address of the VPN tunnel.List<Integer>phase1DhGroupNumbers()The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.List<String>phase1EncryptionAlgorithms()The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.List<String>phase1IntegrityAlgorithms()The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.Integerphase1LifetimeSeconds()The lifetime for phase 1 of the IKE negotiation, in seconds.List<Integer>phase2DhGroupNumbers()The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.List<String>phase2EncryptionAlgorithms()The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.List<String>phase2IntegrityAlgorithms()The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.Integerphase2LifetimeSeconds()The lifetime for phase 2 of the IKE negotiation, in seconds.StringpreSharedKey()The preshared key to establish initial authentication between the virtual private gateway and the customer gateway.IntegerrekeyFuzzPercentage()The percentage of the rekey window, which is determined byRekeyMarginTimeSecondsduring which the rekey time is randomly selected.IntegerrekeyMarginTimeSeconds()The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.IntegerreplayWindowSize()The number of packets in an IKE replay window.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder>serializableBuilderClass()AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtunnelInsideCidr()The range of inside IPv4 addresses for the tunnel.-
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
-
dpdTimeoutSeconds
public final Integer dpdTimeoutSeconds()
The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.
- Returns:
- The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.
-
hasIkeVersions
public final boolean hasIkeVersions()
For responses, this returns true if the service returned a value for the IkeVersions 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.
-
ikeVersions
public final List<String> ikeVersions()
The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.
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
hasIkeVersions()method.- Returns:
- The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.
-
outsideIpAddress
public final String outsideIpAddress()
The external IP address of the VPN tunnel.
- Returns:
- The external IP address of the VPN tunnel.
-
hasPhase1DhGroupNumbers
public final boolean hasPhase1DhGroupNumbers()
For responses, this returns true if the service returned a value for the Phase1DhGroupNumbers 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.
-
phase1DhGroupNumbers
public final List<Integer> phase1DhGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
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
hasPhase1DhGroupNumbers()method.- Returns:
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
-
hasPhase1EncryptionAlgorithms
public final boolean hasPhase1EncryptionAlgorithms()
For responses, this returns true if the service returned a value for the Phase1EncryptionAlgorithms 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.
-
phase1EncryptionAlgorithms
public final List<String> phase1EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
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
hasPhase1EncryptionAlgorithms()method.- Returns:
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
-
hasPhase1IntegrityAlgorithms
public final boolean hasPhase1IntegrityAlgorithms()
For responses, this returns true if the service returned a value for the Phase1IntegrityAlgorithms 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.
-
phase1IntegrityAlgorithms
public final List<String> phase1IntegrityAlgorithms()
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
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
hasPhase1IntegrityAlgorithms()method.- Returns:
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
-
phase1LifetimeSeconds
public final Integer phase1LifetimeSeconds()
The lifetime for phase 1 of the IKE negotiation, in seconds.
- Returns:
- The lifetime for phase 1 of the IKE negotiation, in seconds.
-
hasPhase2DhGroupNumbers
public final boolean hasPhase2DhGroupNumbers()
For responses, this returns true if the service returned a value for the Phase2DhGroupNumbers 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.
-
phase2DhGroupNumbers
public final List<Integer> phase2DhGroupNumbers()
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
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
hasPhase2DhGroupNumbers()method.- Returns:
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
-
hasPhase2EncryptionAlgorithms
public final boolean hasPhase2EncryptionAlgorithms()
For responses, this returns true if the service returned a value for the Phase2EncryptionAlgorithms 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.
-
phase2EncryptionAlgorithms
public final List<String> phase2EncryptionAlgorithms()
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
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
hasPhase2EncryptionAlgorithms()method.- Returns:
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
-
hasPhase2IntegrityAlgorithms
public final boolean hasPhase2IntegrityAlgorithms()
For responses, this returns true if the service returned a value for the Phase2IntegrityAlgorithms 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.
-
phase2IntegrityAlgorithms
public final List<String> phase2IntegrityAlgorithms()
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
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
hasPhase2IntegrityAlgorithms()method.- Returns:
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
-
phase2LifetimeSeconds
public final Integer phase2LifetimeSeconds()
The lifetime for phase 2 of the IKE negotiation, in seconds.
- Returns:
- The lifetime for phase 2 of the IKE negotiation, in seconds.
-
preSharedKey
public final String preSharedKey()
The preshared key to establish initial authentication between the virtual private gateway and the customer gateway.
- Returns:
- The preshared key to establish initial authentication between the virtual private gateway and the customer gateway.
-
rekeyFuzzPercentage
public final Integer rekeyFuzzPercentage()
The percentage of the rekey window, which is determined by
RekeyMarginTimeSecondsduring which the rekey time is randomly selected.- Returns:
- The percentage of the rekey window, which is determined by
RekeyMarginTimeSecondsduring which the rekey time is randomly selected.
-
rekeyMarginTimeSeconds
public final Integer rekeyMarginTimeSeconds()
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.
- Returns:
- The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.
-
replayWindowSize
public final Integer replayWindowSize()
The number of packets in an IKE replay window.
- Returns:
- The number of packets in an IKE replay window.
-
tunnelInsideCidr
public final String tunnelInsideCidr()
The range of inside IPv4 addresses for the tunnel.
- Returns:
- The range of inside IPv4 addresses for the tunnel.
-
toBuilder
public AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>
-
builder
public static AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-