Interface RuleGroupResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleGroupResponse.Builder,
,RuleGroupResponse> SdkBuilder<RuleGroupResponse.Builder,
,RuleGroupResponse> SdkPojo
- Enclosing class:
RuleGroupResponse
-
Method Summary
Modifier and TypeMethodDescriptionanalysisResults
(Collection<AnalysisResult> analysisResults) The list of analysis results forAnalyzeRuleGroup
.analysisResults
(Consumer<AnalysisResult.Builder>... analysisResults) The list of analysis results forAnalyzeRuleGroup
.analysisResults
(AnalysisResult... analysisResults) The list of analysis results forAnalyzeRuleGroup
.The maximum operating resources that this rule group can use.consumedCapacity
(Integer consumedCapacity) The number of capacity units currently consumed by the rule group rules.description
(String description) A description of the rule group.default RuleGroupResponse.Builder
encryptionConfiguration
(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.encryptionConfiguration
(EncryptionConfiguration encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.lastModifiedTime
(Instant lastModifiedTime) The last time that the rule group was changed.numberOfAssociations
(Integer numberOfAssociations) The number of firewall policies that use this rule group.ruleGroupArn
(String ruleGroupArn) The Amazon Resource Name (ARN) of the rule group.ruleGroupId
(String ruleGroupId) The unique identifier for the rule group.ruleGroupName
(String ruleGroupName) The descriptive name of the rule group.ruleGroupStatus
(String ruleGroupStatus) Detailed information about the current status of a rule group.ruleGroupStatus
(ResourceStatus ruleGroupStatus) Detailed information about the current status of a rule group.The Amazon Resource Name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group.default RuleGroupResponse.Builder
sourceMetadata
(Consumer<SourceMetadata.Builder> sourceMetadata) A complex type that contains metadata about the rule group that your own rule group is copied from.sourceMetadata
(SourceMetadata sourceMetadata) A complex type that contains metadata about the rule group that your own rule group is copied from.default RuleGroupResponse.Builder
summaryConfiguration
(Consumer<SummaryConfiguration.Builder> summaryConfiguration) A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.summaryConfiguration
(SummaryConfiguration summaryConfiguration) A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.tags
(Collection<Tag> tags) The key:value pairs to associate with the resource.tags
(Consumer<Tag.Builder>... tags) The key:value pairs to associate with the resource.The key:value pairs to associate with the resource.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleGroupArn
The Amazon Resource Name (ARN) of the rule group.
If this response is for a create request that had
DryRun
set toTRUE
, then this ARN is a placeholder that isn't attached to a valid resource.- Parameters:
ruleGroupArn
- The Amazon Resource Name (ARN) of the rule group.If this response is for a create request that had
DryRun
set toTRUE
, then this ARN is a placeholder that isn't attached to a valid resource.- 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.
- Parameters:
ruleGroupName
- The descriptive name of the rule group. You can't change the name of a rule group after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroupId
The unique identifier for the rule group.
- Parameters:
ruleGroupId
- The unique identifier for the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the rule group.
- Parameters:
description
- A description of the 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.
- 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.- 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.
- 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.- 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.
-
ruleGroupStatus
Detailed information about the current status of a rule group.
- Parameters:
ruleGroupStatus
- Detailed information about the current status of a rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleGroupStatus
Detailed information about the current status of a rule group.
- Parameters:
ruleGroupStatus
- Detailed information about the current status of a rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags
- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags
- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumedCapacity
The number of capacity units currently consumed by the rule group rules.
- Parameters:
consumedCapacity
- The number of capacity units currently consumed by the rule group rules.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfAssociations
The number of firewall policies that use this rule group.
- Parameters:
numberOfAssociations
- The number of firewall policies that use this rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.
- Parameters:
encryptionConfiguration
- A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default RuleGroupResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) A complex type that contains the Amazon Web Services KMS encryption configuration settings for your rule group.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration)
.- Parameters:
encryptionConfiguration
- a consumer that will call methods onEncryptionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceMetadata
A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.
- Parameters:
sourceMetadata
- A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceMetadata
A complex type that contains metadata about the rule group that your own rule group is copied from. You can use the metadata to track the version updates made to the originating rule group.
This is a convenience method that creates an instance of theSourceMetadata.Builder
avoiding the need to create one manually viaSourceMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceMetadata(SourceMetadata)
.- Parameters:
sourceMetadata
- a consumer that will call methods onSourceMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snsTopic
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..
- Parameters:
snsTopic
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service SNS topic that's used to record changes to the managed rule group. You can subscribe to the SNS topic to receive notifications when the managed rule group is modified, such as for new versions and for version expiration. For more information, see the Amazon Simple Notification Service Developer Guide..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last time that the rule group was changed.
- Parameters:
lastModifiedTime
- The last time that the rule group was changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisResults
The list of analysis results for
AnalyzeRuleGroup
. If you setAnalyzeRuleGroup
toTRUE
in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.- Parameters:
analysisResults
- The list of analysis results forAnalyzeRuleGroup
. If you setAnalyzeRuleGroup
toTRUE
in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisResults
The list of analysis results for
AnalyzeRuleGroup
. If you setAnalyzeRuleGroup
toTRUE
in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.- Parameters:
analysisResults
- The list of analysis results forAnalyzeRuleGroup
. If you setAnalyzeRuleGroup
toTRUE
in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisResults
The list of analysis results for
This is a convenience method that creates an instance of theAnalyzeRuleGroup
. If you setAnalyzeRuleGroup
toTRUE
in CreateRuleGroup, UpdateRuleGroup, or DescribeRuleGroup, Network Firewall analyzes the rule group and identifies the rules that might adversely effect your firewall's functionality. For example, if Network Firewall detects a rule that's routing traffic asymmetrically, which impacts the service's ability to properly process traffic, the service includes the rule in the list of analysis results.AnalysisResult.Builder
avoiding the need to create one manually viaAnalysisResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisResults(List<AnalysisResult>)
.- Parameters:
analysisResults
- a consumer that will call methods onAnalysisResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summaryConfiguration
A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.
-
The
RuleOptions
specified in SummaryConfiguration -
Rule metadata organization preferences
- Parameters:
summaryConfiguration
- A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.-
The
RuleOptions
specified in SummaryConfiguration -
Rule metadata organization preferences
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
summaryConfiguration
default RuleGroupResponse.Builder summaryConfiguration(Consumer<SummaryConfiguration.Builder> summaryConfiguration) A complex type containing the currently selected rule option fields that will be displayed for rule summarization returned by DescribeRuleGroupSummary.
-
The
RuleOptions
specified in SummaryConfiguration -
Rule metadata organization preferences
SummaryConfiguration.Builder
avoiding the need to create one manually viaSummaryConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosummaryConfiguration(SummaryConfiguration)
.- Parameters:
summaryConfiguration
- a consumer that will call methods onSummaryConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-