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.GenericModel
IKEPolicyPatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IKEPolicyPatch.AuthenticationAlgorithm
The authentication algorithm.static class
IKEPolicyPatch.Builder
Builder.static interface
IKEPolicyPatch.EncryptionAlgorithm
The 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.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.IKEPolicyPatch.Builder
newBuilder()
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
-
-