Class CreateIkePolicyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String authenticationAlgorithm,
                       Long dhGroup,
                       String encryptionAlgorithm,
                       Long ikeVersion)
        Instantiates a new builder with required properties.
        Parameters:
        authenticationAlgorithm - the authenticationAlgorithm
        dhGroup - the dhGroup
        encryptionAlgorithm - the encryptionAlgorithm
        ikeVersion - the ikeVersion
    • Method Detail

      • build

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

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

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

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

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

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