Class CreateIkePolicyOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateIkePolicyOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationAlgorithm(String authenticationAlgorithm) Set the authenticationAlgorithm.build()Builds a CreateIkePolicyOptions.dhGroup(long dhGroup) Set the dhGroup.encryptionAlgorithm(String encryptionAlgorithm) Set the encryptionAlgorithm.ikeVersion(long ikeVersion) Set the ikeVersion.keyLifetime(long keyLifetime) Set the keyLifetime.Set the name.resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
public Builder(String authenticationAlgorithm, Long dhGroup, String encryptionAlgorithm, Long ikeVersion) Instantiates a new builder with required properties.- Parameters:
authenticationAlgorithm- the authenticationAlgorithmdhGroup- the dhGroupencryptionAlgorithm- the encryptionAlgorithmikeVersion- the ikeVersion
-
-
Method Details
-
build
Builds a CreateIkePolicyOptions.- Returns:
- the new CreateIkePolicyOptions instance
-
authenticationAlgorithm
Set the authenticationAlgorithm.- Parameters:
authenticationAlgorithm- the authenticationAlgorithm- Returns:
- the CreateIkePolicyOptions builder
-
dhGroup
Set the dhGroup.- Parameters:
dhGroup- the dhGroup- Returns:
- the CreateIkePolicyOptions builder
-
encryptionAlgorithm
Set the encryptionAlgorithm.- Parameters:
encryptionAlgorithm- the encryptionAlgorithm- Returns:
- the CreateIkePolicyOptions builder
-
ikeVersion
Set the ikeVersion.- Parameters:
ikeVersion- the ikeVersion- Returns:
- the CreateIkePolicyOptions builder
-
keyLifetime
Set the keyLifetime.- Parameters:
keyLifetime- the keyLifetime- Returns:
- the CreateIkePolicyOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateIkePolicyOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup- the resourceGroup- Returns:
- the CreateIkePolicyOptions builder
-