Interface GenerateRuleConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GenerateRuleConfigurationRequest.Builder,,GenerateRuleConfigurationRequest> NetworkSecurityManagerRequest.Builder,SdkBuilder<GenerateRuleConfigurationRequest.Builder,,GenerateRuleConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GenerateRuleConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time.currentConfiguration(String currentConfiguration) An existing configuration to edit, as a JSON string.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.A natural-language description of the configuration that you want to generate.ruleFirewallType(String ruleFirewallType) The firewall type of the rule.ruleFirewallType(RuleFirewallType ruleFirewallType) The firewall type of the rule.The type of the rule.The type of the rule.wafConfigDataType(String wafConfigDataType) For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate.wafConfigDataType(WAFConfigDataType wafConfigDataType) For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networksecuritymanager.model.NetworkSecurityManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
prompt
A natural-language description of the configuration that you want to generate.
- Parameters:
prompt- A natural-language description of the configuration that you want to generate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleFirewallType
The firewall type of the rule.
- Parameters:
ruleFirewallType- The firewall type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleFirewallType
The firewall type of the rule.
- Parameters:
ruleFirewallType- The firewall type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleType
The type of the rule.
CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Parameters:
ruleType- The type of the rule.CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleType
The type of the rule.
CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Parameters:
ruleType- The type of the rule.CONFIGURATIONrules contain firewall settings, andINSPECTIONrules contain rule groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wafConfigDataType
For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate. This is optional; if you omit it, the service selects the variant.
- Parameters:
wafConfigDataType- For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate. This is optional; if you omit it, the service selects the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
wafConfigDataType
For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate. This is optional; if you omit it, the service selects the variant.
- Parameters:
wafConfigDataType- For AWS WAF configuration rules, the specific AWS WAF configuration variant to generate. This is optional; if you omit it, the service selects the variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentConfiguration
An existing configuration to edit, as a JSON string. When you provide this value, the operation edits the configuration. When you omit it, the operation generates a new configuration.
- Parameters:
currentConfiguration- An existing configuration to edit, as a JSON string. When you provide this value, the operation edits the configuration. When you omit it, the operation generates a new configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.
- Parameters:
clientToken- A unique, case-sensitive token that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token and the same parameters, the service returns the result of the original successful request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GenerateRuleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GenerateRuleConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-