Interface GenerateRuleConfigurationRequest.Builder

  • 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

      GenerateRuleConfigurationRequest.Builder ruleFirewallType(String 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

      GenerateRuleConfigurationRequest.Builder ruleFirewallType(RuleFirewallType 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. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.

      Parameters:
      ruleType - The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules 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. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.

      Parameters:
      ruleType - The type of the rule. CONFIGURATION rules contain firewall settings, and INSPECTION rules contain rule groups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • wafConfigDataType

      GenerateRuleConfigurationRequest.Builder wafConfigDataType(String 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

      GenerateRuleConfigurationRequest.Builder wafConfigDataType(WAFConfigDataType 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

      GenerateRuleConfigurationRequest.Builder currentConfiguration(String 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.