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

com.pulumi.aws.networkfirewall.outputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable Maven / Gradle / Ivy

// *** 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.aws.networkfirewall.outputs;

import com.pulumi.aws.networkfirewall.outputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSet;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable {
    /**
     * @return A configuration block that defines a set of IP addresses. See IP Set below for details.
     * 
     */
    private FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSet ipSet;
    /**
     * @return An alphanumeric string to identify the `ip_set`. Valid values: `HOME_NET`
     * 
     */
    private String key;

    private FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable() {}
    /**
     * @return A configuration block that defines a set of IP addresses. See IP Set below for details.
     * 
     */
    public FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSet ipSet() {
        return this.ipSet;
    }
    /**
     * @return An alphanumeric string to identify the `ip_set`. Valid values: `HOME_NET`
     * 
     */
    public String key() {
        return this.key;
    }

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

    public static Builder builder(FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSet ipSet;
        private String key;
        public Builder() {}
        public Builder(FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ipSet = defaults.ipSet;
    	      this.key = defaults.key;
        }

        @CustomType.Setter
        public Builder ipSet(FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSet ipSet) {
            if (ipSet == null) {
              throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable", "ipSet");
            }
            this.ipSet = ipSet;
            return this;
        }
        @CustomType.Setter
        public Builder key(String key) {
            if (key == null) {
              throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable", "key");
            }
            this.key = key;
            return this;
        }
        public FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable build() {
            final var _resultValue = new FirewallPolicyFirewallPolicyPolicyVariablesRuleVariable();
            _resultValue.ipSet = ipSet;
            _resultValue.key = key;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy