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

com.pulumi.meraki.networks.outputs.GetApplianceFirewallOneToOneNatRulesItem Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.networks.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetApplianceFirewallOneToOneNatRulesItemRule;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetApplianceFirewallOneToOneNatRulesItem {
    private List rules;

    private GetApplianceFirewallOneToOneNatRulesItem() {}
    public List rules() {
        return this.rules;
    }

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

    public static Builder builder(GetApplianceFirewallOneToOneNatRulesItem defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List rules;
        public Builder() {}
        public Builder(GetApplianceFirewallOneToOneNatRulesItem defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.rules = defaults.rules;
        }

        @CustomType.Setter
        public Builder rules(List rules) {
            if (rules == null) {
              throw new MissingRequiredPropertyException("GetApplianceFirewallOneToOneNatRulesItem", "rules");
            }
            this.rules = rules;
            return this;
        }
        public Builder rules(GetApplianceFirewallOneToOneNatRulesItemRule... rules) {
            return rules(List.of(rules));
        }
        public GetApplianceFirewallOneToOneNatRulesItem build() {
            final var _resultValue = new GetApplianceFirewallOneToOneNatRulesItem();
            _resultValue.rules = rules;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy