Package com.ibm.cloud.is.vpc.v1.model
Class CreateIkePolicyOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateIkePolicyOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateIkePolicyOptions extends com.ibm.cloud.sdk.core.service.model.GenericModel
The createIkePolicy options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateIkePolicyOptions.AuthenticationAlgorithm
The authentication algorithm.static class
CreateIkePolicyOptions.Builder
Builder.static interface
CreateIkePolicyOptions.EncryptionAlgorithm
The encryption algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
authenticationAlgorithm()
Gets the authenticationAlgorithm.Long
dhGroup()
Gets the dhGroup.String
encryptionAlgorithm()
Gets the encryptionAlgorithm.Long
ikeVersion()
Gets the ikeVersion.Long
keyLifetime()
Gets the keyLifetime.String
name()
Gets the name.CreateIkePolicyOptions.Builder
newBuilder()
New builder.ResourceGroupIdentity
resourceGroup()
Gets the resourceGroup.
-
-
-
Method Detail
-
newBuilder
public CreateIkePolicyOptions.Builder newBuilder()
New builder.- Returns:
- a CreateIkePolicyOptions builder
-
authenticationAlgorithm
public String authenticationAlgorithm()
Gets the authenticationAlgorithm. The authentication algorithm.- Returns:
- the authenticationAlgorithm
-
dhGroup
public Long dhGroup()
Gets the dhGroup. The Diffie-Hellman group.- Returns:
- the dhGroup
-
encryptionAlgorithm
public String encryptionAlgorithm()
Gets the encryptionAlgorithm. The encryption algorithm.- Returns:
- the encryptionAlgorithm
-
ikeVersion
public Long ikeVersion()
Gets the ikeVersion. The IKE protocol version.- Returns:
- the ikeVersion
-
keyLifetime
public Long keyLifetime()
Gets the keyLifetime. The key lifetime in seconds.- Returns:
- the keyLifetime
-
name
public String name()
Gets the name. The name for this IKE policy. The name must not be used by another IKE policies in the region. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
resourceGroup
public ResourceGroupIdentity resourceGroup()
Gets the resourceGroup. The resource group to use. If unspecified, the account's [default resource group](https://cloud.ibm.com/apidocs/resource-manager#introduction) will be used.- Returns:
- the resourceGroup
-
-