Interface AutomationRulesMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutomationRulesMetadata.Builder,AutomationRulesMetadata>, SdkBuilder<AutomationRulesMetadata.Builder,AutomationRulesMetadata>, SdkPojo
Enclosing class:
AutomationRulesMetadata

public static interface AutomationRulesMetadata.Builder extends SdkPojo, CopyableBuilder<AutomationRulesMetadata.Builder,AutomationRulesMetadata>
  • Method Details

    • ruleArn

      The Amazon Resource Name (ARN) for the rule.

      Parameters:
      ruleArn - The Amazon Resource Name (ARN) for the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleStatus

      AutomationRulesMetadata.Builder ruleStatus(String ruleStatus)

      Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub starts applying the rule to findings and finding updates after the rule is created. To change the value of this parameter after creating a rule, use BatchUpdateAutomationRules .

      Parameters:
      ruleStatus - Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub starts applying the rule to findings and finding updates after the rule is created. To change the value of this parameter after creating a rule, use BatchUpdateAutomationRules .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleStatus

      Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub starts applying the rule to findings and finding updates after the rule is created. To change the value of this parameter after creating a rule, use BatchUpdateAutomationRules .

      Parameters:
      ruleStatus - Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security Hub starts applying the rule to findings and finding updates after the rule is created. To change the value of this parameter after creating a rule, use BatchUpdateAutomationRules .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleOrder

      An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.

      Parameters:
      ruleOrder - An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleName

      The name of the rule.

      Parameters:
      ruleName - The name of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      AutomationRulesMetadata.Builder description(String description)

      A description of the rule.

      Parameters:
      description - A description of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isTerminal

      AutomationRulesMetadata.Builder isTerminal(Boolean isTerminal)

      Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.

      Parameters:
      isTerminal - Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has different actions. If a rule is terminal, Security Hub applies the rule action to a finding that matches the rule criteria and doesn't evaluate other rules for the finding. By default, a rule isn't terminal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      A timestamp that indicates when the rule was created.

      Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

      Parameters:
      createdAt - A timestamp that indicates when the rule was created.

      Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

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

      A timestamp that indicates when the rule was most recently updated.

      Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

      Parameters:
      updatedAt - A timestamp that indicates when the rule was most recently updated.

      Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

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

      The principal that created a rule.

      Parameters:
      createdBy - The principal that created a rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.