com.pulumi.aws.networkfirewall.outputs.FirewallPolicyFirewallPolicyStatelessRuleGroupReference 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class FirewallPolicyFirewallPolicyStatelessRuleGroupReference {
/**
* @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.
*
*/
private Integer priority;
/**
* @return The Amazon Resource Name (ARN) of the stateless rule group.
*
*/
private String resourceArn;
private FirewallPolicyFirewallPolicyStatelessRuleGroupReference() {}
/**
* @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 Integer priority() {
return this.priority;
}
/**
* @return The Amazon Resource Name (ARN) of the stateless rule group.
*
*/
public String resourceArn() {
return this.resourceArn;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FirewallPolicyFirewallPolicyStatelessRuleGroupReference defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer priority;
private String resourceArn;
public Builder() {}
public Builder(FirewallPolicyFirewallPolicyStatelessRuleGroupReference defaults) {
Objects.requireNonNull(defaults);
this.priority = defaults.priority;
this.resourceArn = defaults.resourceArn;
}
@CustomType.Setter
public Builder priority(Integer priority) {
if (priority == null) {
throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyStatelessRuleGroupReference", "priority");
}
this.priority = priority;
return this;
}
@CustomType.Setter
public Builder resourceArn(String resourceArn) {
if (resourceArn == null) {
throw new MissingRequiredPropertyException("FirewallPolicyFirewallPolicyStatelessRuleGroupReference", "resourceArn");
}
this.resourceArn = resourceArn;
return this;
}
public FirewallPolicyFirewallPolicyStatelessRuleGroupReference build() {
final var _resultValue = new FirewallPolicyFirewallPolicyStatelessRuleGroupReference();
_resultValue.priority = priority;
_resultValue.resourceArn = resourceArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy