Class IPsecPolicyPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.IPsecPolicyPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationAlgorithm
(String authenticationAlgorithm) Set the authenticationAlgorithm.build()
Builds a IPsecPolicyPatch.encryptionAlgorithm
(String encryptionAlgorithm) Set the encryptionAlgorithm.keyLifetime
(long keyLifetime) Set the keyLifetime.Set the name.Set the pfs.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a IPsecPolicyPatch.- Returns:
- the new IPsecPolicyPatch instance
-
authenticationAlgorithm
Set the authenticationAlgorithm.- Parameters:
authenticationAlgorithm
- the authenticationAlgorithm- Returns:
- the IPsecPolicyPatch builder
-
encryptionAlgorithm
Set the encryptionAlgorithm.- Parameters:
encryptionAlgorithm
- the encryptionAlgorithm- Returns:
- the IPsecPolicyPatch builder
-
keyLifetime
Set the keyLifetime.- Parameters:
keyLifetime
- the keyLifetime- Returns:
- the IPsecPolicyPatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the IPsecPolicyPatch builder
-
pfs
Set the pfs.- Parameters:
pfs
- the pfs- Returns:
- the IPsecPolicyPatch builder
-