@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuleGroupResponse extends Object implements Serializable, Cloneable, StructuredPojo
The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.
Constructor and Description |
---|
RuleGroupResponse() |
Modifier and Type | Method and Description |
---|---|
RuleGroupResponse |
clone() |
boolean |
equals(Object obj) |
Integer |
getCapacity()
The maximum operating resources that this rule group can use.
|
String |
getDescription()
A description of the rule group.
|
String |
getRuleGroupArn()
The Amazon Resource Name (ARN) of the rule group.
|
String |
getRuleGroupId()
The unique identifier for the rule group.
|
String |
getRuleGroupName()
The descriptive name of the rule group.
|
String |
getRuleGroupStatus()
Detailed information about the current status of a rule group.
|
List<Tag> |
getTags()
The key:value pairs to associate with the resource.
|
String |
getType()
Indicates whether the rule group is stateless or stateful.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCapacity(Integer capacity)
The maximum operating resources that this rule group can use.
|
void |
setDescription(String description)
A description of the rule group.
|
void |
setRuleGroupArn(String ruleGroupArn)
The Amazon Resource Name (ARN) of the rule group.
|
void |
setRuleGroupId(String ruleGroupId)
The unique identifier for the rule group.
|
void |
setRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
void |
setRuleGroupStatus(String ruleGroupStatus)
Detailed information about the current status of a rule group.
|
void |
setTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
void |
setType(String type)
Indicates whether the rule group is stateless or stateful.
|
String |
toString()
Returns a string representation of this object.
|
RuleGroupResponse |
withCapacity(Integer capacity)
The maximum operating resources that this rule group can use.
|
RuleGroupResponse |
withDescription(String description)
A description of the rule group.
|
RuleGroupResponse |
withRuleGroupArn(String ruleGroupArn)
The Amazon Resource Name (ARN) of the rule group.
|
RuleGroupResponse |
withRuleGroupId(String ruleGroupId)
The unique identifier for the rule group.
|
RuleGroupResponse |
withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
RuleGroupResponse |
withRuleGroupStatus(ResourceStatus ruleGroupStatus)
Detailed information about the current status of a rule group.
|
RuleGroupResponse |
withRuleGroupStatus(String ruleGroupStatus)
Detailed information about the current status of a rule group.
|
RuleGroupResponse |
withTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
|
RuleGroupResponse |
withTags(Tag... tags)
The key:value pairs to associate with the resource.
|
RuleGroupResponse |
withType(RuleGroupType type)
Indicates whether the rule group is stateless or stateful.
|
RuleGroupResponse |
withType(String type)
Indicates whether the rule group is stateless or stateful.
|
public void setRuleGroupArn(String ruleGroupArn)
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
ruleGroupArn
- The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public String getRuleGroupArn()
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public RuleGroupResponse withRuleGroupArn(String ruleGroupArn)
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this ARN is
a placeholder that isn't attached to a valid resource.
ruleGroupArn
- The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had DryRun
set to TRUE
, then this
ARN is a placeholder that isn't attached to a valid resource.
public void setRuleGroupName(String ruleGroupName)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
ruleGroupName
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.public String getRuleGroupName()
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
public RuleGroupResponse withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
ruleGroupName
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.public void setRuleGroupId(String ruleGroupId)
The unique identifier for the rule group.
ruleGroupId
- The unique identifier for the rule group.public String getRuleGroupId()
The unique identifier for the rule group.
public RuleGroupResponse withRuleGroupId(String ruleGroupId)
The unique identifier for the rule group.
ruleGroupId
- The unique identifier for the rule group.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 RuleGroupResponse withDescription(String description)
A description of the rule group.
description
- A description of the rule group.public void setType(String type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public String getType()
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
RuleGroupType
public RuleGroupResponse withType(String type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public RuleGroupResponse withType(RuleGroupType type)
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
type
- Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
stateless rules. If it is stateful, it contains stateful rules.RuleGroupType
public void setCapacity(Integer capacity)
The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
CreateRuleGroup with DryRun
set to TRUE
.
capacity
- The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation.
When you update a rule group, you are limited to this capacity. When you reference a rule group from a
firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by
calling CreateRuleGroup with DryRun
set to TRUE
.
public Integer getCapacity()
The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
CreateRuleGroup with DryRun
set to TRUE
.
You can retrieve the capacity that would be required for a rule group before you create the rule group by
calling CreateRuleGroup with DryRun
set to TRUE
.
public RuleGroupResponse withCapacity(Integer capacity)
The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by calling
CreateRuleGroup with DryRun
set to TRUE
.
capacity
- The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation.
When you update a rule group, you are limited to this capacity. When you reference a rule group from a
firewall policy, Network Firewall reserves this capacity for the rule group.
You can retrieve the capacity that would be required for a rule group before you create the rule group by
calling CreateRuleGroup with DryRun
set to TRUE
.
public void setRuleGroupStatus(String ruleGroupStatus)
Detailed information about the current status of a rule group.
ruleGroupStatus
- Detailed information about the current status of a rule group.ResourceStatus
public String getRuleGroupStatus()
Detailed information about the current status of a rule group.
ResourceStatus
public RuleGroupResponse withRuleGroupStatus(String ruleGroupStatus)
Detailed information about the current status of a rule group.
ruleGroupStatus
- Detailed information about the current status of a rule group.ResourceStatus
public RuleGroupResponse withRuleGroupStatus(ResourceStatus ruleGroupStatus)
Detailed information about the current status of a rule group.
ruleGroupStatus
- Detailed information about the current status of a rule group.ResourceStatus
public List<Tag> getTags()
The key:value pairs to associate with the resource.
public void setTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
tags
- The key:value pairs to associate with the resource.public RuleGroupResponse withTags(Tag... tags)
The key:value pairs to associate with the resource.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The key:value pairs to associate with the resource.public RuleGroupResponse withTags(Collection<Tag> tags)
The key:value pairs to associate with the resource.
tags
- The key:value pairs to associate with the resource.public String toString()
toString
in class Object
Object.toString()
public RuleGroupResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.