Class IPsecPolicyPatch

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

    public class IPsecPolicyPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    IPsecPolicyPatch.
    • Method Detail

      • authenticationAlgorithm

        public String authenticationAlgorithm()
        Gets the authenticationAlgorithm. The authentication algorithm Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `md5` and `sha1` algorithms have been deprecated.
        Returns:
        the authenticationAlgorithm
      • encryptionAlgorithm

        public String encryptionAlgorithm()
        Gets the encryptionAlgorithm. The encryption algorithm The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16` The `triple_des` algorithm has been deprecated.
        Returns:
        the encryptionAlgorithm
      • keyLifetime

        public Long keyLifetime()
        Gets the keyLifetime. The key lifetime in seconds.
        Returns:
        the keyLifetime
      • name

        public String name()
        Gets the name. The name for this IPsec policy. The name must not be used by another IPsec policy in the region.
        Returns:
        the name
      • pfs

        public String pfs()
        Gets the pfs. The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated.
        Returns:
        the pfs
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the IPsecPolicyPatch. Note that properties of the IPsecPolicyPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the IPsecPolicyPatch