@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StatelessRuleGroupReference extends Object implements Serializable, Cloneable, StructuredPojo
Identifier for a single stateless rule group, used in a firewall policy to refer to the rule group.
Constructor and Description |
---|
StatelessRuleGroupReference() |
Modifier and Type | Method and Description |
---|---|
StatelessRuleGroupReference |
clone() |
boolean |
equals(Object obj) |
Integer |
getPriority()
An integer setting that indicates the order in which to run the stateless rule groups in a single
FirewallPolicy.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the stateless rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPriority(Integer priority)
An integer setting that indicates the order in which to run the stateless rule groups in a single
FirewallPolicy.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the stateless rule group.
|
String |
toString()
Returns a string representation of this object.
|
StatelessRuleGroupReference |
withPriority(Integer priority)
An integer setting that indicates the order in which to run the stateless rule groups in a single
FirewallPolicy.
|
StatelessRuleGroupReference |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the stateless rule group.
|
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the stateless rule group.
resourceArn
- The Amazon Resource Name (ARN) of the stateless rule group.public String getResourceArn()
The Amazon Resource Name (ARN) of the stateless rule group.
public StatelessRuleGroupReference withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the stateless rule group.
resourceArn
- The Amazon Resource Name (ARN) of the stateless rule group.public void setPriority(Integer priority)
An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
priority
- An integer setting that indicates the order in which to run the stateless rule groups in a single
FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the
group that has the lowest priority setting. You must ensure that the priority settings are unique within
each policy.public Integer getPriority()
An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
public StatelessRuleGroupReference withPriority(Integer priority)
An integer setting that indicates the order in which to run the stateless rule groups in a single FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the group that has the lowest priority setting. You must ensure that the priority settings are unique within each policy.
priority
- An integer setting that indicates the order in which to run the stateless rule groups in a single
FirewallPolicy. Network Firewall applies each stateless rule group to a packet starting with the
group that has the lowest priority setting. You must ensure that the priority settings are unique within
each policy.public String toString()
toString
in class Object
Object.toString()
public StatelessRuleGroupReference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.