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

com.pulumi.azurenative.network.outputs.IpsecPolicyResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.azurenative.network.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 IpsecPolicyResponse {
    /**
     * @return The DH Group used in IKE Phase 1 for initial SA.
     * 
     */
    private String dhGroup;
    /**
     * @return The IKE encryption algorithm (IKE phase 2).
     * 
     */
    private String ikeEncryption;
    /**
     * @return The IKE integrity algorithm (IKE phase 2).
     * 
     */
    private String ikeIntegrity;
    /**
     * @return The IPSec encryption algorithm (IKE phase 1).
     * 
     */
    private String ipsecEncryption;
    /**
     * @return The IPSec integrity algorithm (IKE phase 1).
     * 
     */
    private String ipsecIntegrity;
    /**
     * @return The Pfs Group used in IKE Phase 2 for new child SA.
     * 
     */
    private String pfsGroup;
    /**
     * @return The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
     * 
     */
    private Integer saDataSizeKilobytes;
    /**
     * @return The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
     * 
     */
    private Integer saLifeTimeSeconds;

    private IpsecPolicyResponse() {}
    /**
     * @return The DH Group used in IKE Phase 1 for initial SA.
     * 
     */
    public String dhGroup() {
        return this.dhGroup;
    }
    /**
     * @return The IKE encryption algorithm (IKE phase 2).
     * 
     */
    public String ikeEncryption() {
        return this.ikeEncryption;
    }
    /**
     * @return The IKE integrity algorithm (IKE phase 2).
     * 
     */
    public String ikeIntegrity() {
        return this.ikeIntegrity;
    }
    /**
     * @return The IPSec encryption algorithm (IKE phase 1).
     * 
     */
    public String ipsecEncryption() {
        return this.ipsecEncryption;
    }
    /**
     * @return The IPSec integrity algorithm (IKE phase 1).
     * 
     */
    public String ipsecIntegrity() {
        return this.ipsecIntegrity;
    }
    /**
     * @return The Pfs Group used in IKE Phase 2 for new child SA.
     * 
     */
    public String pfsGroup() {
        return this.pfsGroup;
    }
    /**
     * @return The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.
     * 
     */
    public Integer saDataSizeKilobytes() {
        return this.saDataSizeKilobytes;
    }
    /**
     * @return The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.
     * 
     */
    public Integer saLifeTimeSeconds() {
        return this.saLifeTimeSeconds;
    }

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

    public static Builder builder(IpsecPolicyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dhGroup;
        private String ikeEncryption;
        private String ikeIntegrity;
        private String ipsecEncryption;
        private String ipsecIntegrity;
        private String pfsGroup;
        private Integer saDataSizeKilobytes;
        private Integer saLifeTimeSeconds;
        public Builder() {}
        public Builder(IpsecPolicyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dhGroup = defaults.dhGroup;
    	      this.ikeEncryption = defaults.ikeEncryption;
    	      this.ikeIntegrity = defaults.ikeIntegrity;
    	      this.ipsecEncryption = defaults.ipsecEncryption;
    	      this.ipsecIntegrity = defaults.ipsecIntegrity;
    	      this.pfsGroup = defaults.pfsGroup;
    	      this.saDataSizeKilobytes = defaults.saDataSizeKilobytes;
    	      this.saLifeTimeSeconds = defaults.saLifeTimeSeconds;
        }

        @CustomType.Setter
        public Builder dhGroup(String dhGroup) {
            if (dhGroup == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "dhGroup");
            }
            this.dhGroup = dhGroup;
            return this;
        }
        @CustomType.Setter
        public Builder ikeEncryption(String ikeEncryption) {
            if (ikeEncryption == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "ikeEncryption");
            }
            this.ikeEncryption = ikeEncryption;
            return this;
        }
        @CustomType.Setter
        public Builder ikeIntegrity(String ikeIntegrity) {
            if (ikeIntegrity == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "ikeIntegrity");
            }
            this.ikeIntegrity = ikeIntegrity;
            return this;
        }
        @CustomType.Setter
        public Builder ipsecEncryption(String ipsecEncryption) {
            if (ipsecEncryption == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "ipsecEncryption");
            }
            this.ipsecEncryption = ipsecEncryption;
            return this;
        }
        @CustomType.Setter
        public Builder ipsecIntegrity(String ipsecIntegrity) {
            if (ipsecIntegrity == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "ipsecIntegrity");
            }
            this.ipsecIntegrity = ipsecIntegrity;
            return this;
        }
        @CustomType.Setter
        public Builder pfsGroup(String pfsGroup) {
            if (pfsGroup == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "pfsGroup");
            }
            this.pfsGroup = pfsGroup;
            return this;
        }
        @CustomType.Setter
        public Builder saDataSizeKilobytes(Integer saDataSizeKilobytes) {
            if (saDataSizeKilobytes == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "saDataSizeKilobytes");
            }
            this.saDataSizeKilobytes = saDataSizeKilobytes;
            return this;
        }
        @CustomType.Setter
        public Builder saLifeTimeSeconds(Integer saLifeTimeSeconds) {
            if (saLifeTimeSeconds == null) {
              throw new MissingRequiredPropertyException("IpsecPolicyResponse", "saLifeTimeSeconds");
            }
            this.saLifeTimeSeconds = saLifeTimeSeconds;
            return this;
        }
        public IpsecPolicyResponse build() {
            final var _resultValue = new IpsecPolicyResponse();
            _resultValue.dhGroup = dhGroup;
            _resultValue.ikeEncryption = ikeEncryption;
            _resultValue.ikeIntegrity = ikeIntegrity;
            _resultValue.ipsecEncryption = ipsecEncryption;
            _resultValue.ipsecIntegrity = ipsecIntegrity;
            _resultValue.pfsGroup = pfsGroup;
            _resultValue.saDataSizeKilobytes = saDataSizeKilobytes;
            _resultValue.saLifeTimeSeconds = saLifeTimeSeconds;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy