Package com.ibm.cloud.is.vpc.v1.model
Class IKEPolicyPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.IKEPolicyPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class IKEPolicyPatch extends com.ibm.cloud.sdk.core.service.model.GenericModelIKEPolicyPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIKEPolicyPatch.AuthenticationAlgorithmThe authentication algorithm.static classIKEPolicyPatch.BuilderBuilder.static interfaceIKEPolicyPatch.EncryptionAlgorithmThe encryption algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asPatch()Construct a JSON merge-patch from the IKEPolicyPatch.StringauthenticationAlgorithm()Gets the authenticationAlgorithm.LongdhGroup()Gets the dhGroup.StringencryptionAlgorithm()Gets the encryptionAlgorithm.LongikeVersion()Gets the ikeVersion.LongkeyLifetime()Gets the keyLifetime.Stringname()Gets the name.IKEPolicyPatch.BuildernewBuilder()New builder.
-
-
-
Method Detail
-
newBuilder
public IKEPolicyPatch.Builder newBuilder()
New builder.- Returns:
- a IKEPolicyPatch 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 policy in the region.- Returns:
- the name
-
asPatch
public Map<String,Object> asPatch()
Construct a JSON merge-patch from the IKEPolicyPatch. Note that properties of the IKEPolicyPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the IKEPolicyPatch
-
-