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.GenericModelThe createIkePolicy options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateIkePolicyOptions.AuthenticationAlgorithmThe authentication algorithm.static classCreateIkePolicyOptions.BuilderBuilder.static interfaceCreateIkePolicyOptions.EncryptionAlgorithmThe encryption algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthenticationAlgorithm()Gets the authenticationAlgorithm.LongdhGroup()Gets the dhGroup.StringencryptionAlgorithm()Gets the encryptionAlgorithm.LongikeVersion()Gets the ikeVersion.LongkeyLifetime()Gets the keyLifetime.Stringname()Gets the name.CreateIkePolicyOptions.BuildernewBuilder()New builder.ResourceGroupIdentityresourceGroup()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
-
-