Class IPsecPolicy

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class IPsecPolicy
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    IPsecPolicy.
    • 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