Package com.ibm.cloud.is.vpc.v1.model
Class CreateIpsecPolicyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateIpsecPolicyOptions.Builder
-
- Enclosing class:
- CreateIpsecPolicyOptions
public static class CreateIpsecPolicyOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateIpsecPolicyOptions.Builder
authenticationAlgorithm(String authenticationAlgorithm)
Set the authenticationAlgorithm.CreateIpsecPolicyOptions
build()
Builds a CreateIpsecPolicyOptions.CreateIpsecPolicyOptions.Builder
encryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm.CreateIpsecPolicyOptions.Builder
keyLifetime(long keyLifetime)
Set the keyLifetime.CreateIpsecPolicyOptions.Builder
name(String name)
Set the name.CreateIpsecPolicyOptions.Builder
pfs(String pfs)
Set the pfs.CreateIpsecPolicyOptions.Builder
resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.
-
-
-
Method Detail
-
build
public CreateIpsecPolicyOptions build()
Builds a CreateIpsecPolicyOptions.- Returns:
- the new CreateIpsecPolicyOptions instance
-
authenticationAlgorithm
public CreateIpsecPolicyOptions.Builder authenticationAlgorithm(String authenticationAlgorithm)
Set the authenticationAlgorithm.- Parameters:
authenticationAlgorithm
- the authenticationAlgorithm- Returns:
- the CreateIpsecPolicyOptions builder
-
encryptionAlgorithm
public CreateIpsecPolicyOptions.Builder encryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm.- Parameters:
encryptionAlgorithm
- the encryptionAlgorithm- Returns:
- the CreateIpsecPolicyOptions builder
-
pfs
public CreateIpsecPolicyOptions.Builder pfs(String pfs)
Set the pfs.- Parameters:
pfs
- the pfs- Returns:
- the CreateIpsecPolicyOptions builder
-
keyLifetime
public CreateIpsecPolicyOptions.Builder keyLifetime(long keyLifetime)
Set the keyLifetime.- Parameters:
keyLifetime
- the keyLifetime- Returns:
- the CreateIpsecPolicyOptions builder
-
name
public CreateIpsecPolicyOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateIpsecPolicyOptions builder
-
resourceGroup
public CreateIpsecPolicyOptions.Builder resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreateIpsecPolicyOptions builder
-
-