Class IKEPolicyPatch.Builder

  • Enclosing class:
    IKEPolicyPatch

    public static class IKEPolicyPatch.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public IKEPolicyPatch build()
        Builds a IKEPolicyPatch.
        Returns:
        the new IKEPolicyPatch instance
      • authenticationAlgorithm

        public IKEPolicyPatch.Builder authenticationAlgorithm​(String authenticationAlgorithm)
        Set the authenticationAlgorithm.
        Parameters:
        authenticationAlgorithm - the authenticationAlgorithm
        Returns:
        the IKEPolicyPatch builder
      • dhGroup

        public IKEPolicyPatch.Builder dhGroup​(long dhGroup)
        Set the dhGroup.
        Parameters:
        dhGroup - the dhGroup
        Returns:
        the IKEPolicyPatch builder
      • encryptionAlgorithm

        public IKEPolicyPatch.Builder encryptionAlgorithm​(String encryptionAlgorithm)
        Set the encryptionAlgorithm.
        Parameters:
        encryptionAlgorithm - the encryptionAlgorithm
        Returns:
        the IKEPolicyPatch builder
      • ikeVersion

        public IKEPolicyPatch.Builder ikeVersion​(long ikeVersion)
        Set the ikeVersion.
        Parameters:
        ikeVersion - the ikeVersion
        Returns:
        the IKEPolicyPatch builder
      • keyLifetime

        public IKEPolicyPatch.Builder keyLifetime​(long keyLifetime)
        Set the keyLifetime.
        Parameters:
        keyLifetime - the keyLifetime
        Returns:
        the IKEPolicyPatch builder