// *** 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.GetFirewallPolicyFirewallPolicyStatefulEngineOption;
import com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference;
import com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicyStatelessCustomAction;
import com.pulumi.aws.networkfirewall.outputs.GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetFirewallPolicyFirewallPolicy {
    private List<String> statefulDefaultActions;
    private List<GetFirewallPolicyFirewallPolicyStatefulEngineOption> statefulEngineOptions;
    private List<GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference> statefulRuleGroupReferences;
    private List<GetFirewallPolicyFirewallPolicyStatelessCustomAction> statelessCustomActions;
    private List<String> statelessDefaultActions;
    private List<String> statelessFragmentDefaultActions;
    private List<GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference> statelessRuleGroupReferences;

    private GetFirewallPolicyFirewallPolicy() {}
    public List<String> statefulDefaultActions() {
        return this.statefulDefaultActions;
    }
    public List<GetFirewallPolicyFirewallPolicyStatefulEngineOption> statefulEngineOptions() {
        return this.statefulEngineOptions;
    }
    public List<GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference> statefulRuleGroupReferences() {
        return this.statefulRuleGroupReferences;
    }
    public List<GetFirewallPolicyFirewallPolicyStatelessCustomAction> statelessCustomActions() {
        return this.statelessCustomActions;
    }
    public List<String> statelessDefaultActions() {
        return this.statelessDefaultActions;
    }
    public List<String> statelessFragmentDefaultActions() {
        return this.statelessFragmentDefaultActions;
    }
    public List<GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference> statelessRuleGroupReferences() {
        return this.statelessRuleGroupReferences;
    }

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

    public static Builder builder(GetFirewallPolicyFirewallPolicy defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> statefulDefaultActions;
        private List<GetFirewallPolicyFirewallPolicyStatefulEngineOption> statefulEngineOptions;
        private List<GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference> statefulRuleGroupReferences;
        private List<GetFirewallPolicyFirewallPolicyStatelessCustomAction> statelessCustomActions;
        private List<String> statelessDefaultActions;
        private List<String> statelessFragmentDefaultActions;
        private List<GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference> statelessRuleGroupReferences;
        public Builder() {}
        public Builder(GetFirewallPolicyFirewallPolicy defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.statefulDefaultActions = defaults.statefulDefaultActions;
    	      this.statefulEngineOptions = defaults.statefulEngineOptions;
    	      this.statefulRuleGroupReferences = defaults.statefulRuleGroupReferences;
    	      this.statelessCustomActions = defaults.statelessCustomActions;
    	      this.statelessDefaultActions = defaults.statelessDefaultActions;
    	      this.statelessFragmentDefaultActions = defaults.statelessFragmentDefaultActions;
    	      this.statelessRuleGroupReferences = defaults.statelessRuleGroupReferences;
        }

        @CustomType.Setter
        public Builder statefulDefaultActions(List<String> statefulDefaultActions) {
            this.statefulDefaultActions = Objects.requireNonNull(statefulDefaultActions);
            return this;
        }
        public Builder statefulDefaultActions(String... statefulDefaultActions) {
            return statefulDefaultActions(List.of(statefulDefaultActions));
        }
        @CustomType.Setter
        public Builder statefulEngineOptions(List<GetFirewallPolicyFirewallPolicyStatefulEngineOption> statefulEngineOptions) {
            this.statefulEngineOptions = Objects.requireNonNull(statefulEngineOptions);
            return this;
        }
        public Builder statefulEngineOptions(GetFirewallPolicyFirewallPolicyStatefulEngineOption... statefulEngineOptions) {
            return statefulEngineOptions(List.of(statefulEngineOptions));
        }
        @CustomType.Setter
        public Builder statefulRuleGroupReferences(List<GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference> statefulRuleGroupReferences) {
            this.statefulRuleGroupReferences = Objects.requireNonNull(statefulRuleGroupReferences);
            return this;
        }
        public Builder statefulRuleGroupReferences(GetFirewallPolicyFirewallPolicyStatefulRuleGroupReference... statefulRuleGroupReferences) {
            return statefulRuleGroupReferences(List.of(statefulRuleGroupReferences));
        }
        @CustomType.Setter
        public Builder statelessCustomActions(List<GetFirewallPolicyFirewallPolicyStatelessCustomAction> statelessCustomActions) {
            this.statelessCustomActions = Objects.requireNonNull(statelessCustomActions);
            return this;
        }
        public Builder statelessCustomActions(GetFirewallPolicyFirewallPolicyStatelessCustomAction... statelessCustomActions) {
            return statelessCustomActions(List.of(statelessCustomActions));
        }
        @CustomType.Setter
        public Builder statelessDefaultActions(List<String> statelessDefaultActions) {
            this.statelessDefaultActions = Objects.requireNonNull(statelessDefaultActions);
            return this;
        }
        public Builder statelessDefaultActions(String... statelessDefaultActions) {
            return statelessDefaultActions(List.of(statelessDefaultActions));
        }
        @CustomType.Setter
        public Builder statelessFragmentDefaultActions(List<String> statelessFragmentDefaultActions) {
            this.statelessFragmentDefaultActions = Objects.requireNonNull(statelessFragmentDefaultActions);
            return this;
        }
        public Builder statelessFragmentDefaultActions(String... statelessFragmentDefaultActions) {
            return statelessFragmentDefaultActions(List.of(statelessFragmentDefaultActions));
        }
        @CustomType.Setter
        public Builder statelessRuleGroupReferences(List<GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference> statelessRuleGroupReferences) {
            this.statelessRuleGroupReferences = Objects.requireNonNull(statelessRuleGroupReferences);
            return this;
        }
        public Builder statelessRuleGroupReferences(GetFirewallPolicyFirewallPolicyStatelessRuleGroupReference... statelessRuleGroupReferences) {
            return statelessRuleGroupReferences(List.of(statelessRuleGroupReferences));
        }
        public GetFirewallPolicyFirewallPolicy build() {
            final var o = new GetFirewallPolicyFirewallPolicy();
            o.statefulDefaultActions = statefulDefaultActions;
            o.statefulEngineOptions = statefulEngineOptions;
            o.statefulRuleGroupReferences = statefulRuleGroupReferences;
            o.statelessCustomActions = statelessCustomActions;
            o.statelessDefaultActions = statelessDefaultActions;
            o.statelessFragmentDefaultActions = statelessFragmentDefaultActions;
            o.statelessRuleGroupReferences = statelessRuleGroupReferences;
            return o;
        }
    }
}
