Interface CreateRuleSnapshotResponse.Builder

  • Method Details

    • ruleId

      The service-generated id of the rule.

      Parameters:
      ruleId - The service-generated id of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleArn

      The Amazon Resource Name (ARN) of the rule.

      Parameters:
      ruleArn - The Amazon Resource Name (ARN) of the rule.
      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.
    • firewallType

      CreateRuleSnapshotResponse.Builder firewallType(String firewallType)

      The firewall type associated with the resource.

      Parameters:
      firewallType - The firewall type associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firewallType

      The firewall type associated with the resource.

      Parameters:
      firewallType - The firewall type associated with the resource.
      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:
    • ruleDescription

      CreateRuleSnapshotResponse.Builder ruleDescription(String ruleDescription)

      A description of the rule.

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

      CreateRuleSnapshotResponse.Builder configuration(Document configuration)

      The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.

      Parameters:
      configuration - The firewall configuration for the rule, as a JSON document. The structure depends on the rule's firewall type and rule type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).

      Parameters:
      status - The current status of the resource: DRAFT (unpublished, editable) or ACTIVE (published, in use).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • version

      The version of the resource.

      Parameters:
      version - The version of the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updateToken

      CreateRuleSnapshotResponse.Builder updateToken(String updateToken)

      A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.

      Parameters:
      updateToken - A token used for optimistic concurrency control. Each read and write returns an updateToken. Provide the most recent value on your next update to detect and prevent conflicting concurrent modifications.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isSnapshot

      Specifies whether the resource is a snapshot of a published version.

      Parameters:
      isSnapshot - Specifies whether the resource is a snapshot of a published version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasPublishedVersion

      CreateRuleSnapshotResponse.Builder hasPublishedVersion(Boolean hasPublishedVersion)

      Specifies whether a published version of the resource exists.

      Parameters:
      hasPublishedVersion - Specifies whether a published version of the resource exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The time when the snapshot was created.

      Parameters:
      updatedAt - The time when the snapshot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.