Class IKEOptionsSpecification
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.vpc.v20170312.models.IKEOptionsSpecification
-
public class IKEOptionsSpecification extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description IKEOptionsSpecification()IKEOptionsSpecification(IKEOptionsSpecification source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDhGroupName()Get DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',StringgetExchangeMode()Get 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAINLonggetIKESaLifetimeSeconds()Get IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800StringgetIKEVersion()Get IKE版本StringgetLocalAddress()Get 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IPStringgetLocalFqdnName()Get 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填StringgetLocalIdentity()Get 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESSStringgetPropoAuthenAlgorithm()Get 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5StringgetPropoEncryAlgorithm()Get 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBCStringgetRemoteAddress()Get 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填StringgetRemoteFqdnName()Get 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填StringgetRemoteIdentity()Get 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESSvoidsetDhGroupName(String DhGroupName)Set DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',voidsetExchangeMode(String ExchangeMode)Set 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAINvoidsetIKESaLifetimeSeconds(Long IKESaLifetimeSeconds)Set IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800voidsetIKEVersion(String IKEVersion)Set IKE版本voidsetLocalAddress(String LocalAddress)Set 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IPvoidsetLocalFqdnName(String LocalFqdnName)Set 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填voidsetLocalIdentity(String LocalIdentity)Set 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESSvoidsetPropoAuthenAlgorithm(String PropoAuthenAlgorithm)Set 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5voidsetPropoEncryAlgorithm(String PropoEncryAlgorithm)Set 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBCvoidsetRemoteAddress(String RemoteAddress)Set 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填voidsetRemoteFqdnName(String RemoteFqdnName)Set 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填voidsetRemoteIdentity(String RemoteIdentity)Set 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESSvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
IKEOptionsSpecification
public IKEOptionsSpecification()
-
IKEOptionsSpecification
public IKEOptionsSpecification(IKEOptionsSpecification source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getPropoEncryAlgorithm
public String getPropoEncryAlgorithm()
Get 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC- Returns:
- PropoEncryAlgorithm 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC
-
setPropoEncryAlgorithm
public void setPropoEncryAlgorithm(String PropoEncryAlgorithm)
Set 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC- Parameters:
PropoEncryAlgorithm- 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC
-
getPropoAuthenAlgorithm
public String getPropoAuthenAlgorithm()
Get 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5- Returns:
- PropoAuthenAlgorithm 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5
-
setPropoAuthenAlgorithm
public void setPropoAuthenAlgorithm(String PropoAuthenAlgorithm)
Set 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5- Parameters:
PropoAuthenAlgorithm- 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5
-
getExchangeMode
public String getExchangeMode()
Get 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN- Returns:
- ExchangeMode 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN
-
setExchangeMode
public void setExchangeMode(String ExchangeMode)
Set 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN- Parameters:
ExchangeMode- 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN
-
getLocalIdentity
public String getLocalIdentity()
Get 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS- Returns:
- LocalIdentity 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
-
setLocalIdentity
public void setLocalIdentity(String LocalIdentity)
Set 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS- Parameters:
LocalIdentity- 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
-
getRemoteIdentity
public String getRemoteIdentity()
Get 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS- Returns:
- RemoteIdentity 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
-
setRemoteIdentity
public void setRemoteIdentity(String RemoteIdentity)
Set 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS- Parameters:
RemoteIdentity- 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
-
getLocalAddress
public String getLocalAddress()
Get 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP- Returns:
- LocalAddress 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP
-
setLocalAddress
public void setLocalAddress(String LocalAddress)
Set 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP- Parameters:
LocalAddress- 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP
-
getRemoteAddress
public String getRemoteAddress()
Get 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填- Returns:
- RemoteAddress 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填
-
setRemoteAddress
public void setRemoteAddress(String RemoteAddress)
Set 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填- Parameters:
RemoteAddress- 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填
-
getLocalFqdnName
public String getLocalFqdnName()
Get 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填- Returns:
- LocalFqdnName 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填
-
setLocalFqdnName
public void setLocalFqdnName(String LocalFqdnName)
Set 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填- Parameters:
LocalFqdnName- 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填
-
getRemoteFqdnName
public String getRemoteFqdnName()
Get 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填- Returns:
- RemoteFqdnName 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填
-
setRemoteFqdnName
public void setRemoteFqdnName(String RemoteFqdnName)
Set 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填- Parameters:
RemoteFqdnName- 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填
-
getDhGroupName
public String getDhGroupName()
Get DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',- Returns:
- DhGroupName DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',
-
setDhGroupName
public void setDhGroupName(String DhGroupName)
Set DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',- Parameters:
DhGroupName- DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',
-
getIKESaLifetimeSeconds
public Long getIKESaLifetimeSeconds()
Get IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800- Returns:
- IKESaLifetimeSeconds IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800
-
setIKESaLifetimeSeconds
public void setIKESaLifetimeSeconds(Long IKESaLifetimeSeconds)
Set IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800- Parameters:
IKESaLifetimeSeconds- IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800
-
getIKEVersion
public String getIKEVersion()
Get IKE版本- Returns:
- IKEVersion IKE版本
-
setIKEVersion
public void setIKEVersion(String IKEVersion)
Set IKE版本- Parameters:
IKEVersion- IKE版本
-
-