All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.vpn.outputs.GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.alicloud.vpn.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig {
    /**
     * @return IPsec Auth algorithm.
     * 
     */
    private String ipsecAuthAlg;
    /**
     * @return IPsec Encript algorithm.
     * 
     */
    private String ipsecEncAlg;
    /**
     * @return IPsec lifetime.
     * 
     */
    private Integer ipsecLifetime;
    /**
     * @return DH Group.
     * 
     */
    private String ipsecPfs;

    private GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig() {}
    /**
     * @return IPsec Auth algorithm.
     * 
     */
    public String ipsecAuthAlg() {
        return this.ipsecAuthAlg;
    }
    /**
     * @return IPsec Encript algorithm.
     * 
     */
    public String ipsecEncAlg() {
        return this.ipsecEncAlg;
    }
    /**
     * @return IPsec lifetime.
     * 
     */
    public Integer ipsecLifetime() {
        return this.ipsecLifetime;
    }
    /**
     * @return DH Group.
     * 
     */
    public String ipsecPfs() {
        return this.ipsecPfs;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String ipsecAuthAlg;
        private String ipsecEncAlg;
        private Integer ipsecLifetime;
        private String ipsecPfs;
        public Builder() {}
        public Builder(GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ipsecAuthAlg = defaults.ipsecAuthAlg;
    	      this.ipsecEncAlg = defaults.ipsecEncAlg;
    	      this.ipsecLifetime = defaults.ipsecLifetime;
    	      this.ipsecPfs = defaults.ipsecPfs;
        }

        @CustomType.Setter
        public Builder ipsecAuthAlg(String ipsecAuthAlg) {
            if (ipsecAuthAlg == null) {
              throw new MissingRequiredPropertyException("GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig", "ipsecAuthAlg");
            }
            this.ipsecAuthAlg = ipsecAuthAlg;
            return this;
        }
        @CustomType.Setter
        public Builder ipsecEncAlg(String ipsecEncAlg) {
            if (ipsecEncAlg == null) {
              throw new MissingRequiredPropertyException("GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig", "ipsecEncAlg");
            }
            this.ipsecEncAlg = ipsecEncAlg;
            return this;
        }
        @CustomType.Setter
        public Builder ipsecLifetime(Integer ipsecLifetime) {
            if (ipsecLifetime == null) {
              throw new MissingRequiredPropertyException("GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig", "ipsecLifetime");
            }
            this.ipsecLifetime = ipsecLifetime;
            return this;
        }
        @CustomType.Setter
        public Builder ipsecPfs(String ipsecPfs) {
            if (ipsecPfs == null) {
              throw new MissingRequiredPropertyException("GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig", "ipsecPfs");
            }
            this.ipsecPfs = ipsecPfs;
            return this;
        }
        public GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig build() {
            final var _resultValue = new GetConnectionsConnectionTunnelOptionsSpecificationTunnelIpsecConfig();
            _resultValue.ipsecAuthAlg = ipsecAuthAlg;
            _resultValue.ipsecEncAlg = ipsecEncAlg;
            _resultValue.ipsecLifetime = ipsecLifetime;
            _resultValue.ipsecPfs = ipsecPfs;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy