Interface Finding.Builder

    • Method Detail

      • accountId

        Finding.Builder accountId​(String accountId)

        The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.

        Parameters:
        accountId - The unique identifier for the Amazon Web Services account that the finding applies to. This is typically the account that owns the affected resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • archived

        Finding.Builder archived​(Boolean archived)

        Specifies whether the finding is archived (suppressed).

        Parameters:
        archived - Specifies whether the finding is archived (suppressed).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • category

        Finding.Builder category​(String category)

        The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

        Parameters:
        category - The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingCategory, FindingCategory
      • category

        Finding.Builder category​(FindingCategory category)

        The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.

        Parameters:
        category - The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingCategory, FindingCategory
      • classificationDetails

        Finding.Builder classificationDetails​(ClassificationDetails classificationDetails)

        The details of a sensitive data finding. This value is null for a policy finding.

        Parameters:
        classificationDetails - The details of a sensitive data finding. This value is null for a policy finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • count

        Finding.Builder count​(Long count)

        The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.

        Parameters:
        count - The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Finding.Builder createdAt​(Instant createdAt)

        The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.

        Parameters:
        createdAt - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Finding.Builder description​(String description)

        The description of the finding.

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

        Finding.Builder id​(String id)

        The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.

        Parameters:
        id - The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • partition

        Finding.Builder partition​(String partition)

        The Amazon Web Services partition that Amazon Macie created the finding in.

        Parameters:
        partition - The Amazon Web Services partition that Amazon Macie created the finding in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyDetails

        Finding.Builder policyDetails​(PolicyDetails policyDetails)

        The details of a policy finding. This value is null for a sensitive data finding.

        Parameters:
        policyDetails - The details of a policy finding. This value is null for a sensitive data finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        Finding.Builder region​(String region)

        The Amazon Web Services Region that Amazon Macie created the finding in.

        Parameters:
        region - The Amazon Web Services Region that Amazon Macie created the finding in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourcesAffected

        Finding.Builder resourcesAffected​(ResourcesAffected resourcesAffected)

        The resources that the finding applies to.

        Parameters:
        resourcesAffected - The resources that the finding applies to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sample

        Finding.Builder sample​(Boolean sample)

        Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

        Parameters:
        sample - Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • schemaVersion

        Finding.Builder schemaVersion​(String schemaVersion)

        The version of the schema that was used to define the data structures in the finding.

        Parameters:
        schemaVersion - The version of the schema that was used to define the data structures in the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        Finding.Builder severity​(Severity severity)

        The severity level and score for the finding.

        Parameters:
        severity - The severity level and score for the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        Finding.Builder title​(String title)

        The brief description of the finding.

        Parameters:
        title - The brief description of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Finding.Builder type​(String type)

        The type of the finding.

        Parameters:
        type - The type of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType
      • type

        Finding.Builder type​(FindingType type)

        The type of the finding.

        Parameters:
        type - The type of the finding.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FindingType, FindingType
      • updatedAt

        Finding.Builder updatedAt​(Instant updatedAt)

        The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.

        Parameters:
        updatedAt - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.
        Returns:
        Returns a reference to this object so that method calls can be chained together.