Class CreateIpsecPolicyOptions

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

    public class CreateIpsecPolicyOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The createIpsecPolicy options.
    • 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
      • pfs

        public String pfs()
        Gets the pfs. The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated.
        Returns:
        the pfs
      • 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 policies in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.
        Returns:
        the name
      • resourceGroup

        public ResourceGroupIdentity resourceGroup()
        Gets the resourceGroup. The resource group to use. If unspecified, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.
        Returns:
        the resourceGroup