Interface GetWebAclResponse.Builder

  • Method Details

    • webACL

      Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

      • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId

      • DefaultAction (Data type is WafAction): Contains Type

      • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId

      • Action: Contains Type

      Parameters:
      webACL - Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

      • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId

      • DefaultAction (Data type is WafAction): Contains Type

      • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId

      • Action: Contains Type

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webACL

      Information about the WebACL that you specified in the GetWebACL request. For more information, see the following topics:

      • WebACL: Contains DefaultAction, MetricName, Name, an array of Rule objects, and WebACLId

      • DefaultAction (Data type is WafAction): Contains Type

      • Rules: Contains an array of ActivatedRule objects, which contain Action, Priority, and RuleId

      • Action: Contains Type

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

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

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