Class IpsecPolicy
- java.lang.Object
-
- com.microsoft.azure.management.network.IpsecPolicy
-
public class IpsecPolicy extends Object
An IPSec Policy configuration for a virtual network gateway connection.
-
-
Constructor Summary
Constructors Constructor Description IpsecPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DhGroup
dhGroup()
Get the dhGroup value.IkeEncryption
ikeEncryption()
Get the ikeEncryption value.IkeIntegrity
ikeIntegrity()
Get the ikeIntegrity value.IpsecEncryption
ipsecEncryption()
Get the ipsecEncryption value.IpsecIntegrity
ipsecIntegrity()
Get the ipsecIntegrity value.PfsGroup
pfsGroup()
Get the pfsGroup value.int
saDataSizeKilobytes()
Get the saDataSizeKilobytes value.int
saLifeTimeSeconds()
Get the saLifeTimeSeconds value.IpsecPolicy
withDhGroup(DhGroup dhGroup)
Set the dhGroup value.IpsecPolicy
withIkeEncryption(IkeEncryption ikeEncryption)
Set the ikeEncryption value.IpsecPolicy
withIkeIntegrity(IkeIntegrity ikeIntegrity)
Set the ikeIntegrity value.IpsecPolicy
withIpsecEncryption(IpsecEncryption ipsecEncryption)
Set the ipsecEncryption value.IpsecPolicy
withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
Set the ipsecIntegrity value.IpsecPolicy
withPfsGroup(PfsGroup pfsGroup)
Set the pfsGroup value.IpsecPolicy
withSaDataSizeKilobytes(int saDataSizeKilobytes)
Set the saDataSizeKilobytes value.IpsecPolicy
withSaLifeTimeSeconds(int saLifeTimeSeconds)
Set the saLifeTimeSeconds value.
-
-
-
Method Detail
-
saLifeTimeSeconds
public int saLifeTimeSeconds()
Get the saLifeTimeSeconds value.- Returns:
- the saLifeTimeSeconds value
-
withSaLifeTimeSeconds
public IpsecPolicy withSaLifeTimeSeconds(int saLifeTimeSeconds)
Set the saLifeTimeSeconds value.- Parameters:
saLifeTimeSeconds
- the saLifeTimeSeconds value to set- Returns:
- the IpsecPolicy object itself.
-
saDataSizeKilobytes
public int saDataSizeKilobytes()
Get the saDataSizeKilobytes value.- Returns:
- the saDataSizeKilobytes value
-
withSaDataSizeKilobytes
public IpsecPolicy withSaDataSizeKilobytes(int saDataSizeKilobytes)
Set the saDataSizeKilobytes value.- Parameters:
saDataSizeKilobytes
- the saDataSizeKilobytes value to set- Returns:
- the IpsecPolicy object itself.
-
ipsecEncryption
public IpsecEncryption ipsecEncryption()
Get the ipsecEncryption value.- Returns:
- the ipsecEncryption value
-
withIpsecEncryption
public IpsecPolicy withIpsecEncryption(IpsecEncryption ipsecEncryption)
Set the ipsecEncryption value.- Parameters:
ipsecEncryption
- the ipsecEncryption value to set- Returns:
- the IpsecPolicy object itself.
-
ipsecIntegrity
public IpsecIntegrity ipsecIntegrity()
Get the ipsecIntegrity value.- Returns:
- the ipsecIntegrity value
-
withIpsecIntegrity
public IpsecPolicy withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
Set the ipsecIntegrity value.- Parameters:
ipsecIntegrity
- the ipsecIntegrity value to set- Returns:
- the IpsecPolicy object itself.
-
ikeEncryption
public IkeEncryption ikeEncryption()
Get the ikeEncryption value.- Returns:
- the ikeEncryption value
-
withIkeEncryption
public IpsecPolicy withIkeEncryption(IkeEncryption ikeEncryption)
Set the ikeEncryption value.- Parameters:
ikeEncryption
- the ikeEncryption value to set- Returns:
- the IpsecPolicy object itself.
-
ikeIntegrity
public IkeIntegrity ikeIntegrity()
Get the ikeIntegrity value.- Returns:
- the ikeIntegrity value
-
withIkeIntegrity
public IpsecPolicy withIkeIntegrity(IkeIntegrity ikeIntegrity)
Set the ikeIntegrity value.- Parameters:
ikeIntegrity
- the ikeIntegrity value to set- Returns:
- the IpsecPolicy object itself.
-
dhGroup
public DhGroup dhGroup()
Get the dhGroup value.- Returns:
- the dhGroup value
-
withDhGroup
public IpsecPolicy withDhGroup(DhGroup dhGroup)
Set the dhGroup value.- Parameters:
dhGroup
- the dhGroup value to set- Returns:
- the IpsecPolicy object itself.
-
pfsGroup
public PfsGroup pfsGroup()
Get the pfsGroup value.- Returns:
- the pfsGroup value
-
withPfsGroup
public IpsecPolicy withPfsGroup(PfsGroup pfsGroup)
Set the pfsGroup value.- Parameters:
pfsGroup
- the pfsGroup value to set- Returns:
- the IpsecPolicy object itself.
-
-