Interface ManagedRuleDescription.Builder

  • Method Details

    • templateName

      ManagedRuleDescription.Builder templateName(String templateName)

      The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.

      Parameters:
      templateName - The template name for the managed rule. Used to enable managed rules using PutManagedInsightRules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceARN

      ManagedRuleDescription.Builder resourceARN(String resourceARN)

      If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.

      Parameters:
      resourceARN - If a managed rule is enabled, this is the ARN for the related Amazon Web Services resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleState

      Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

      Parameters:
      ruleState - Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleState

      Describes the state of a managed rule. If present, it contains information about the Contributor Insights rule that contains information about the related Amazon Web Services resource.

      This is a convenience method that creates an instance of the ManagedRuleState.Builder avoiding the need to create one manually via ManagedRuleState.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ruleState(ManagedRuleState).

      Parameters:
      ruleState - a consumer that will call methods on ManagedRuleState.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: