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

com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.networkfirewall.inputs;

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


public final class FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs Empty = new FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs();

    /**
     * An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting.
     * 
     */
    @Import(name="priority", required=true)
    private Output priority;

    /**
     * @return An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting.
     * 
     */
    public Output priority() {
        return this.priority;
    }

    /**
     * The Amazon Resource Name (ARN) of the stateless rule group.
     * 
     */
    @Import(name="resourceArn", required=true)
    private Output resourceArn;

    /**
     * @return The Amazon Resource Name (ARN) of the stateless rule group.
     * 
     */
    public Output resourceArn() {
        return this.resourceArn;
    }

    private FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs() {}

    private FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs(FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs $) {
        this.priority = $.priority;
        this.resourceArn = $.resourceArn;
    }

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

    public static final class Builder {
        private FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs $;

        public Builder() {
            $ = new FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs();
        }

        public Builder(FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs defaults) {
            $ = new FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param priority An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting.
         * 
         * @return builder
         * 
         */
        public Builder priority(Output priority) {
            $.priority = priority;
            return this;
        }

        /**
         * @param priority An integer setting that indicates the order in which to run the stateless rule groups in a single policy. AWS Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting.
         * 
         * @return builder
         * 
         */
        public Builder priority(Integer priority) {
            return priority(Output.of(priority));
        }

        /**
         * @param resourceArn The Amazon Resource Name (ARN) of the stateless rule group.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(Output resourceArn) {
            $.resourceArn = resourceArn;
            return this;
        }

        /**
         * @param resourceArn The Amazon Resource Name (ARN) of the stateless rule group.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(String resourceArn) {
            return resourceArn(Output.of(resourceArn));
        }

        public FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs build() {
            if ($.priority == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs", "priority");
            }
            if ($.resourceArn == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyStatelessRuleGroupReferenceArgs", "resourceArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy