Class CreateIpsecPolicyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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