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