Package com.ibm.cloud.is.vpc.v1.model
Class IPsecPolicy
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.IPsecPolicy
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IPsecPolicy extends com.ibm.cloud.sdk.core.service.model.GenericModelIPsecPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIPsecPolicy.AuthenticationAlgorithmThe authentication algorithm The `md5` and `sha1` algorithms have been deprecated Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static interfaceIPsecPolicy.EncapsulationModeThe encapsulation mode used.static interfaceIPsecPolicy.EncryptionAlgorithmThe encryption algorithm The `triple_des` algorithm has been deprecated The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static interfaceIPsecPolicy.PfsPerfect Forward Secrecy Groups `group_2` and `group_5` have been deprecated.static interfaceIPsecPolicy.ResourceTypeThe resource type.static interfaceIPsecPolicy.TransformProtocolThe transform protocol used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthenticationAlgorithm()Gets the authenticationAlgorithm.List<VPNGatewayConnectionReference>getConnections()Gets the connections.DategetCreatedAt()Gets the createdAt.StringgetEncapsulationMode()Gets the encapsulationMode.StringgetEncryptionAlgorithm()Gets the encryptionAlgorithm.StringgetHref()Gets the href.StringgetId()Gets the id.LonggetKeyLifetime()Gets the keyLifetime.StringgetName()Gets the name.StringgetPfs()Gets the pfs.ResourceGroupReferencegetResourceGroup()Gets the resourceGroup.StringgetResourceType()Gets the resourceType.StringgetTransformProtocol()Gets the transformProtocol.
-
-
-
Method Detail
-
getAuthenticationAlgorithm
public String getAuthenticationAlgorithm()
Gets the authenticationAlgorithm. The authentication algorithm The `md5` and `sha1` algorithms have been deprecated Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.- Returns:
- the authenticationAlgorithm
-
getConnections
public List<VPNGatewayConnectionReference> getConnections()
Gets the connections. The VPN gateway connections that use this IPsec policy.- Returns:
- the connections
-
getCreatedAt
public Date getCreatedAt()
Gets the createdAt. The date and time that this IPsec policy was created.- Returns:
- the createdAt
-
getEncapsulationMode
public String getEncapsulationMode()
Gets the encapsulationMode. The encapsulation mode used. Only `tunnel` is supported.- Returns:
- the encapsulationMode
-
getEncryptionAlgorithm
public String getEncryptionAlgorithm()
Gets the encryptionAlgorithm. The encryption algorithm The `triple_des` algorithm has been deprecated The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.- Returns:
- the encryptionAlgorithm
-
getHref
public String getHref()
Gets the href. The IPsec policy's canonical URL.- Returns:
- the href
-
getId
public String getId()
Gets the id. The unique identifier for this IPsec policy.- Returns:
- the id
-
getKeyLifetime
public Long getKeyLifetime()
Gets the keyLifetime. The key lifetime in seconds.- Returns:
- the keyLifetime
-
getName
public String getName()
Gets the name. The name for this IPsec policy. The name is unique across all IPsec policies in the region.- Returns:
- the name
-
getPfs
public String getPfs()
Gets the pfs. Perfect Forward Secrecy Groups `group_2` and `group_5` have been deprecated.- Returns:
- the pfs
-
getResourceGroup
public ResourceGroupReference getResourceGroup()
Gets the resourceGroup. The resource group for this IPsec policy.- Returns:
- the resourceGroup
-
getResourceType
public String getResourceType()
Gets the resourceType. The resource type.- Returns:
- the resourceType
-
getTransformProtocol
public String getTransformProtocol()
Gets the transformProtocol. The transform protocol used. Only `esp` is supported.- Returns:
- the transformProtocol
-
-