Interface PolicySummary.Builder

  • Method Details

    • policyId

      PolicySummary.Builder policyId(String policyId)

      The service-generated id of the policy.

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

      PolicySummary.Builder policyArn(String policyArn)

      The Amazon Resource Name (ARN) of the policy.

      Parameters:
      policyArn - The Amazon Resource Name (ARN) of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyName

      PolicySummary.Builder policyName(String policyName)

      The name of the policy.

      Parameters:
      policyName - The name of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      PolicySummary.Builder status(String 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

      PolicySummary.Builder version(String 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.
    • hasPublishedVersion

      PolicySummary.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.
    • firewallType

      PolicySummary.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

      PolicySummary.Builder firewallType(PolicyFirewallType 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:
    • priority

      PolicySummary.Builder priority(Integer priority)

      The priority of the resource. A lower number indicates a higher priority.

      Parameters:
      priority - The priority of the resource. A lower number indicates a higher priority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      PolicySummary.Builder updatedAt(Instant updatedAt)

      The time when the resource was last updated. For a snapshot, this is the time when the snapshot was created.

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