Interface DescribeRuleGroupMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRuleGroupMetadataResponse.Builder,
,DescribeRuleGroupMetadataResponse> NetworkFirewallResponse.Builder
,SdkBuilder<DescribeRuleGroupMetadataResponse.Builder,
,DescribeRuleGroupMetadataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRuleGroupMetadataResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum operating resources that this rule group can use.description
(String description) Returns the metadata objects for the specified rule group.lastModifiedTime
(Instant lastModifiedTime) A timestamp indicating when the rule group was last modified.ruleGroupArn
(String ruleGroupArn) The descriptive name of the rule group.ruleGroupName
(String ruleGroupName) The descriptive name of the rule group.statefulRuleOptions
(Consumer<StatefulRuleOptions.Builder> statefulRuleOptions) Sets the value of the StatefulRuleOptions property for this object.statefulRuleOptions
(StatefulRuleOptions statefulRuleOptions) Sets the value of the StatefulRuleOptions property for this object.Indicates whether the rule group is stateless or stateful.type
(RuleGroupType type) Indicates whether the rule group is stateless or stateful.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Returns the metadata objects for the specified rule group.
- Parameters:
description
- Returns the metadata objects for the specified rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toTRUE
.- Parameters:
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 toTRUE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleOptions
DescribeRuleGroupMetadataResponse.Builder statefulRuleOptions(StatefulRuleOptions statefulRuleOptions) Sets the value of the StatefulRuleOptions property for this object.- Parameters:
statefulRuleOptions
- The new value for the StatefulRuleOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statefulRuleOptions
default DescribeRuleGroupMetadataResponse.Builder statefulRuleOptions(Consumer<StatefulRuleOptions.Builder> statefulRuleOptions) Sets the value of the StatefulRuleOptions property for this object. This is a convenience method that creates an instance of theStatefulRuleOptions.Builder
avoiding the need to create one manually viaStatefulRuleOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatefulRuleOptions(StatefulRuleOptions)
.- Parameters:
statefulRuleOptions
- a consumer that will call methods onStatefulRuleOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
A timestamp indicating when the rule group was last modified.
- Parameters:
lastModifiedTime
- A timestamp indicating when the rule group was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-