Package com.ibm.cloud.is.vpc.v1.model
Class IKEPolicyPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.IKEPolicyPatch.Builder
-
- Enclosing class:
- IKEPolicyPatch
public static class IKEPolicyPatch.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 IKEPolicyPatch.Builder
authenticationAlgorithm(String authenticationAlgorithm)
Set the authenticationAlgorithm.IKEPolicyPatch
build()
Builds a IKEPolicyPatch.IKEPolicyPatch.Builder
dhGroup(long dhGroup)
Set the dhGroup.IKEPolicyPatch.Builder
encryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm.IKEPolicyPatch.Builder
ikeVersion(long ikeVersion)
Set the ikeVersion.IKEPolicyPatch.Builder
keyLifetime(long keyLifetime)
Set the keyLifetime.IKEPolicyPatch.Builder
name(String name)
Set the name.
-
-
-
Method Detail
-
build
public IKEPolicyPatch build()
Builds a IKEPolicyPatch.- Returns:
- the new IKEPolicyPatch instance
-
authenticationAlgorithm
public IKEPolicyPatch.Builder authenticationAlgorithm(String authenticationAlgorithm)
Set the authenticationAlgorithm.- Parameters:
authenticationAlgorithm
- the authenticationAlgorithm- Returns:
- the IKEPolicyPatch builder
-
dhGroup
public IKEPolicyPatch.Builder dhGroup(long dhGroup)
Set the dhGroup.- Parameters:
dhGroup
- the dhGroup- Returns:
- the IKEPolicyPatch builder
-
encryptionAlgorithm
public IKEPolicyPatch.Builder encryptionAlgorithm(String encryptionAlgorithm)
Set the encryptionAlgorithm.- Parameters:
encryptionAlgorithm
- the encryptionAlgorithm- Returns:
- the IKEPolicyPatch builder
-
ikeVersion
public IKEPolicyPatch.Builder ikeVersion(long ikeVersion)
Set the ikeVersion.- Parameters:
ikeVersion
- the ikeVersion- Returns:
- the IKEPolicyPatch builder
-
keyLifetime
public IKEPolicyPatch.Builder keyLifetime(long keyLifetime)
Set the keyLifetime.- Parameters:
keyLifetime
- the keyLifetime- Returns:
- the IKEPolicyPatch builder
-
name
public IKEPolicyPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the IKEPolicyPatch builder
-
-