Interface PolicyConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyConfiguration.Builder,,PolicyConfiguration> SdkBuilder<PolicyConfiguration.Builder,,PolicyConfiguration> SdkPojo
- Enclosing class:
PolicyConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault PolicyConfiguration.BuilderigwFirewallConfig(Consumer<IgwFirewallConfig.Builder> igwFirewallConfig) Policy settings for Network Firewall automated internet firewall policies.igwFirewallConfig(IgwFirewallConfig igwFirewallConfig) Policy settings for Network Firewall automated internet firewall policies.remediationEnabled(Boolean remediationEnabled) Specifies whether AWS Network Security Manager automatically remediates noncompliant resources.resourcesCleanUp(Boolean resourcesCleanUp) Specifies whether AWS Network Security Manager automatically removes the resources it created when they are no longer needed.default PolicyConfiguration.BuilderwafConfig(Consumer<WafConfig.Builder> wafConfig) AWS WAF-specific policy settings.AWS WAF-specific policy settings.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
remediationEnabled
Specifies whether AWS Network Security Manager automatically remediates noncompliant resources. Default:
false.- Parameters:
remediationEnabled- Specifies whether AWS Network Security Manager automatically remediates noncompliant resources. Default:false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesCleanUp
Specifies whether AWS Network Security Manager automatically removes the resources it created when they are no longer needed. This member is required, and the only supported value is
true.- Parameters:
resourcesCleanUp- Specifies whether AWS Network Security Manager automatically removes the resources it created when they are no longer needed. This member is required, and the only supported value istrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafConfig
AWS WAF-specific policy settings. This is populated only for AWS WAF policies.
- Parameters:
wafConfig- AWS WAF-specific policy settings. This is populated only for AWS WAF policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wafConfig
AWS WAF-specific policy settings. This is populated only for AWS WAF policies.
This is a convenience method that creates an instance of theWafConfig.Builderavoiding the need to create one manually viaWafConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towafConfig(WafConfig).- Parameters:
wafConfig- a consumer that will call methods onWafConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
igwFirewallConfig
Policy settings for Network Firewall automated internet firewall policies. Specify these settings only for this policy type.
- Parameters:
igwFirewallConfig- Policy settings for Network Firewall automated internet firewall policies. Specify these settings only for this policy type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
igwFirewallConfig
default PolicyConfiguration.Builder igwFirewallConfig(Consumer<IgwFirewallConfig.Builder> igwFirewallConfig) Policy settings for Network Firewall automated internet firewall policies. Specify these settings only for this policy type.
This is a convenience method that creates an instance of theIgwFirewallConfig.Builderavoiding the need to create one manually viaIgwFirewallConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toigwFirewallConfig(IgwFirewallConfig).- Parameters:
igwFirewallConfig- a consumer that will call methods onIgwFirewallConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-