@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeRuleGroupMetadataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeRuleGroupMetadataResult() |
Modifier and Type | Method and Description |
---|---|
DescribeRuleGroupMetadataResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getCapacity()
The maximum operating resources that this rule group can use.
|
String |
getDescription()
Returns the metadata objects for the specified rule group.
|
Date |
getLastModifiedTime()
The last time that the rule group was changed.
|
String |
getRuleGroupArn()
The descriptive name of the rule group.
|
String |
getRuleGroupName()
The descriptive name of the rule group.
|
StatefulRuleOptions |
getStatefulRuleOptions() |
String |
getType()
Indicates whether the rule group is stateless or stateful.
|
int |
hashCode() |
void |
setCapacity(Integer capacity)
The maximum operating resources that this rule group can use.
|
void |
setDescription(String description)
Returns the metadata objects for the specified rule group.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The last time that the rule group was changed.
|
void |
setRuleGroupArn(String ruleGroupArn)
The descriptive name of the rule group.
|
void |
setRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
void |
setStatefulRuleOptions(StatefulRuleOptions statefulRuleOptions) |
void |
setType(String type)
Indicates whether the rule group is stateless or stateful.
|
String |
toString()
Returns a string representation of this object.
|
DescribeRuleGroupMetadataResult |
withCapacity(Integer capacity)
The maximum operating resources that this rule group can use.
|
DescribeRuleGroupMetadataResult |
withDescription(String description)
Returns the metadata objects for the specified rule group.
|
DescribeRuleGroupMetadataResult |
withLastModifiedTime(Date lastModifiedTime)
The last time that the rule group was changed.
|
DescribeRuleGroupMetadataResult |
withRuleGroupArn(String ruleGroupArn)
The descriptive name of the rule group.
|
DescribeRuleGroupMetadataResult |
withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group.
|
DescribeRuleGroupMetadataResult |
withStatefulRuleOptions(StatefulRuleOptions statefulRuleOptions) |
DescribeRuleGroupMetadataResult |
withType(RuleGroupType type)
Indicates whether the rule group is stateless or stateful.
|
DescribeRuleGroupMetadataResult |
withType(String type)
Indicates whether the rule group is stateless or stateful.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRuleGroupArn(String ruleGroupArn)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
ruleGroupArn
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
public String getRuleGroupArn()
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
You must specify the ARN or the name, and you can specify both.
public DescribeRuleGroupMetadataResult withRuleGroupArn(String ruleGroupArn)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
ruleGroupArn
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
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.
You must specify the ARN or the name, and you can specify both.
ruleGroupName
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
public String getRuleGroupName()
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
You must specify the ARN or the name, and you can specify both.
public DescribeRuleGroupMetadataResult withRuleGroupName(String ruleGroupName)
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
ruleGroupName
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
public void setDescription(String description)
Returns the metadata objects for the specified rule group.
description
- Returns the metadata objects for the specified rule group.public String getDescription()
Returns the metadata objects for the specified rule group.
public DescribeRuleGroupMetadataResult withDescription(String description)
Returns the metadata objects for the specified rule group.
description
- Returns the metadata objects for the specified 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.
This setting is required for requests that do not include the RuleGroupARN
.
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.
This setting is required for requests that do not include the RuleGroupARN
.
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.
This setting is required for requests that do not include the RuleGroupARN
.
This setting is required for requests that do not include the RuleGroupARN
.
RuleGroupType
public DescribeRuleGroupMetadataResult 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.
This setting is required for requests that do not include the RuleGroupARN
.
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.
This setting is required for requests that do not include the RuleGroupARN
.
RuleGroupType
public DescribeRuleGroupMetadataResult 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.
This setting is required for requests that do not include the RuleGroupARN
.
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.
This setting is required for requests that do not include the RuleGroupARN
.
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 DescribeRuleGroupMetadataResult 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 setStatefulRuleOptions(StatefulRuleOptions statefulRuleOptions)
statefulRuleOptions
- public StatefulRuleOptions getStatefulRuleOptions()
public DescribeRuleGroupMetadataResult withStatefulRuleOptions(StatefulRuleOptions statefulRuleOptions)
statefulRuleOptions
- public void setLastModifiedTime(Date lastModifiedTime)
The last time that the rule group was changed.
lastModifiedTime
- The last time that the rule group was changed.public Date getLastModifiedTime()
The last time that the rule group was changed.
public DescribeRuleGroupMetadataResult withLastModifiedTime(Date lastModifiedTime)
The last time that the rule group was changed.
lastModifiedTime
- The last time that the rule group was changed.public String toString()
toString
in class Object
Object.toString()
public DescribeRuleGroupMetadataResult clone()