Package com.ibm.cloud.is.vpc.v1.model
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 Classes Modifier and Type Class Description static interface
CreateIpsecPolicyOptions.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.static class
CreateIpsecPolicyOptions.Builder
Builder.static interface
CreateIpsecPolicyOptions.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.static interface
CreateIpsecPolicyOptions.Pfs
The Perfect Forward Secrecy group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authenticationAlgorithm()
Gets the authenticationAlgorithm.String
encryptionAlgorithm()
Gets the encryptionAlgorithm.Long
keyLifetime()
Gets the keyLifetime.String
name()
Gets the name.CreateIpsecPolicyOptions.Builder
newBuilder()
New builder.String
pfs()
Gets the pfs.ResourceGroupIdentity
resourceGroup()
Gets the resourceGroup.
-
-
-
Method Detail
-
newBuilder
public CreateIpsecPolicyOptions.Builder newBuilder()
New builder.- Returns:
- a CreateIpsecPolicyOptions builder
-
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
-
-