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 DhGroupdhGroup()Get the dhGroup value.IkeEncryptionikeEncryption()Get the ikeEncryption value.IkeIntegrityikeIntegrity()Get the ikeIntegrity value.IpsecEncryptionipsecEncryption()Get the ipsecEncryption value.IpsecIntegrityipsecIntegrity()Get the ipsecIntegrity value.PfsGrouppfsGroup()Get the pfsGroup value.intsaDataSizeKilobytes()Get the saDataSizeKilobytes value.intsaLifeTimeSeconds()Get the saLifeTimeSeconds value.IpsecPolicywithDhGroup(DhGroup dhGroup)Set the dhGroup value.IpsecPolicywithIkeEncryption(IkeEncryption ikeEncryption)Set the ikeEncryption value.IpsecPolicywithIkeIntegrity(IkeIntegrity ikeIntegrity)Set the ikeIntegrity value.IpsecPolicywithIpsecEncryption(IpsecEncryption ipsecEncryption)Set the ipsecEncryption value.IpsecPolicywithIpsecIntegrity(IpsecIntegrity ipsecIntegrity)Set the ipsecIntegrity value.IpsecPolicywithPfsGroup(PfsGroup pfsGroup)Set the pfsGroup value.IpsecPolicywithSaDataSizeKilobytes(int saDataSizeKilobytes)Set the saDataSizeKilobytes value.IpsecPolicywithSaLifeTimeSeconds(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.
-
-