@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsNetworkFirewallRuleGroupDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about an Network Firewall rule group. Rule groups are used to inspect and control network traffic. Stateless rule groups apply to individual packets. Stateful rule groups apply to packets in the context of their traffic flow.
Rule groups are referenced in firewall policies.
Constructor and Description |
---|
AwsNetworkFirewallRuleGroupDetails() |
Modifier and Type | Method and Description |
---|---|
AwsNetworkFirewallRuleGroupDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getCapacity()
The maximum number of operating resources that this rule group can use.
|
String |
getDescription()
A description of the rule group.
|
RuleGroupDetails |
getRuleGroup()
Details about the rule group.
|
String |
getRuleGroupArn()
The ARN of the rule group.
|
String |
getRuleGroupId()
The identifier of the rule group.
|
String |
getRuleGroupName()
The descriptive name of the rule group.
|
String |
getType()
The type of rule group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacity(Integer capacity)
The maximum number of operating resources that this rule group can use.
|
void |
setDescription(String description)
A description of the rule group.
|
void |
setRuleGroup(RuleGroupDetails ruleGroup)
Details about the rule group.
|
void |
setRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
|
void |
setRuleGroupId(String ruleGroupId)
The identifier of the rule group.
|
void |
setRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
void |
setType(String type)
The type of rule group.
|
String |
toString()
Returns a string representation of this object.
|
AwsNetworkFirewallRuleGroupDetails |
withCapacity(Integer capacity)
The maximum number of operating resources that this rule group can use.
|
AwsNetworkFirewallRuleGroupDetails |
withDescription(String description)
A description of the rule group.
|
AwsNetworkFirewallRuleGroupDetails |
withRuleGroup(RuleGroupDetails ruleGroup)
Details about the rule group.
|
AwsNetworkFirewallRuleGroupDetails |
withRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
|
AwsNetworkFirewallRuleGroupDetails |
withRuleGroupId(String ruleGroupId)
The identifier of the rule group.
|
AwsNetworkFirewallRuleGroupDetails |
withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
AwsNetworkFirewallRuleGroupDetails |
withType(String type)
The type of rule group.
|
public void setCapacity(Integer capacity)
The maximum number of operating resources that this rule group can use.
capacity
- The maximum number of operating resources that this rule group can use.public Integer getCapacity()
The maximum number of operating resources that this rule group can use.
public AwsNetworkFirewallRuleGroupDetails withCapacity(Integer capacity)
The maximum number of operating resources that this rule group can use.
capacity
- The maximum number of operating resources that this rule group can use.public void setDescription(String description)
A description of the rule group.
description
- A description of the rule group.public String getDescription()
A description of the rule group.
public AwsNetworkFirewallRuleGroupDetails withDescription(String description)
A description of the rule group.
description
- A description of the rule group.public void setRuleGroup(RuleGroupDetails ruleGroup)
Details about the rule group.
ruleGroup
- Details about the rule group.public RuleGroupDetails getRuleGroup()
Details about the rule group.
public AwsNetworkFirewallRuleGroupDetails withRuleGroup(RuleGroupDetails ruleGroup)
Details about the rule group.
ruleGroup
- Details about the rule group.public void setRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
ruleGroupArn
- The ARN of the rule group.public String getRuleGroupArn()
The ARN of the rule group.
public AwsNetworkFirewallRuleGroupDetails withRuleGroupArn(String ruleGroupArn)
The ARN of the rule group.
ruleGroupArn
- The ARN of the rule group.public void setRuleGroupId(String ruleGroupId)
The identifier of the rule group.
ruleGroupId
- The identifier of the rule group.public String getRuleGroupId()
The identifier of the rule group.
public AwsNetworkFirewallRuleGroupDetails withRuleGroupId(String ruleGroupId)
The identifier of the rule group.
ruleGroupId
- The identifier of the rule group.public void setRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
ruleGroupName
- The descriptive name of the rule group.public String getRuleGroupName()
The descriptive name of the rule group.
public AwsNetworkFirewallRuleGroupDetails withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
ruleGroupName
- The descriptive name of the rule group.public void setType(String type)
The type of rule group. A rule group can be stateful or stateless.
type
- The type of rule group. A rule group can be stateful or stateless.public String getType()
The type of rule group. A rule group can be stateful or stateless.
public AwsNetworkFirewallRuleGroupDetails withType(String type)
The type of rule group. A rule group can be stateful or stateless.
type
- The type of rule group. A rule group can be stateful or stateless.public String toString()
toString
in class Object
Object.toString()
public AwsNetworkFirewallRuleGroupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.