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.GenericModelThe createIpsecPolicy options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateIpsecPolicyOptions.AuthenticationAlgorithmThe authentication algorithm Must be `disabled` if and only if the `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static classCreateIpsecPolicyOptions.BuilderBuilder.static interfaceCreateIpsecPolicyOptions.EncryptionAlgorithmThe encryption algorithm The `authentication_algorithm` must be `disabled` if and only if `encryption_algorithm` is `aes128gcm16`, `aes192gcm16`, or `aes256gcm16`.static interfaceCreateIpsecPolicyOptions.PfsPerfect Forward Secrecy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthenticationAlgorithm()Gets the authenticationAlgorithm.StringencryptionAlgorithm()Gets the encryptionAlgorithm.LongkeyLifetime()Gets the keyLifetime.Stringname()Gets the name.CreateIpsecPolicyOptions.BuildernewBuilder()New builder.Stringpfs()Gets the pfs.ResourceGroupIdentityresourceGroup()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`.- 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`.- Returns:
- the encryptionAlgorithm
-
pfs
public String pfs()
Gets the pfs. Perfect Forward Secrecy.- 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
-
-