Class CreateIpsecPolicyOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
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.static class
Builder.static interface
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.static interface
The Perfect Forward Secrecy group. -
Method Summary
Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CreateIpsecPolicyOptions builder
-
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
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
Gets the pfs. The Perfect Forward Secrecy group. Groups `group_2` and `group_5` have been deprecated.- Returns:
- the pfs
-
keyLifetime
Gets the keyLifetime. The key lifetime in seconds.- Returns:
- the keyLifetime
-
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
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
-