Interface ManagedRuleDescription.Builder

    • Method Detail

      • 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

        ManagedRuleDescription.Builder ruleState​(ManagedRuleState 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.