
com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs 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.inputs;
import com.pulumi.aws.networkfirewall.inputs.RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;
public final class RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs extends com.pulumi.resources.ResourceArgs {
public static final RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs Empty = new RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs();
/**
* A setting that indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. AWS Network Firewall evaluates the rules in a rule group starting with the lowest priority setting.
*
*/
@Import(name="priority", required=true)
private Output priority;
/**
* @return A setting that indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. AWS Network Firewall evaluates the rules in a rule group starting with the lowest priority setting.
*
*/
public Output priority() {
return this.priority;
}
/**
* A configuration block defining the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. See Rule Definition below for details.
*
*/
@Import(name="ruleDefinition", required=true)
private Output ruleDefinition;
/**
* @return A configuration block defining the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. See Rule Definition below for details.
*
*/
public Output ruleDefinition() {
return this.ruleDefinition;
}
private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs() {}
private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs $) {
this.priority = $.priority;
this.ruleDefinition = $.ruleDefinition;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs $;
public Builder() {
$ = new RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs();
}
public Builder(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs defaults) {
$ = new RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs(Objects.requireNonNull(defaults));
}
/**
* @param priority A setting that indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. AWS Network Firewall evaluates the rules in a rule group starting with the lowest priority setting.
*
* @return builder
*
*/
public Builder priority(Output priority) {
$.priority = priority;
return this;
}
/**
* @param priority A setting that indicates the order in which to run this rule relative to all of the rules that are defined for a stateless rule group. AWS Network Firewall evaluates the rules in a rule group starting with the lowest priority setting.
*
* @return builder
*
*/
public Builder priority(Integer priority) {
return priority(Output.of(priority));
}
/**
* @param ruleDefinition A configuration block defining the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. See Rule Definition below for details.
*
* @return builder
*
*/
public Builder ruleDefinition(Output ruleDefinition) {
$.ruleDefinition = ruleDefinition;
return this;
}
/**
* @param ruleDefinition A configuration block defining the stateless 5-tuple packet inspection criteria and the action to take on a packet that matches the criteria. See Rule Definition below for details.
*
* @return builder
*
*/
public Builder ruleDefinition(RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleRuleDefinitionArgs ruleDefinition) {
return ruleDefinition(Output.of(ruleDefinition));
}
public RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs build() {
if ($.priority == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs", "priority");
}
if ($.ruleDefinition == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleArgs", "ruleDefinition");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy