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.
  • Method Details

    • 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