public static interface Finding.Builder extends SdkPojo, CopyableBuilder<Finding.Builder,Finding>
| Modifier and Type | Method and Description |
|---|---|
Finding.Builder |
accountId(String accountId)
The unique identifier for the Amazon Web Services account that the finding applies to.
|
Finding.Builder |
archived(Boolean archived)
Specifies whether the finding is archived (suppressed).
|
Finding.Builder |
category(FindingCategory category)
The category of the finding.
|
Finding.Builder |
category(String category)
The category of the finding.
|
Finding.Builder |
classificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding.
|
default Finding.Builder |
classificationDetails(Consumer<ClassificationDetails.Builder> classificationDetails)
The details of a sensitive data finding.
|
Finding.Builder |
count(Long count)
The total number of occurrences of the finding.
|
Finding.Builder |
createdAt(Instant createdAt)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
|
Finding.Builder |
description(String description)
The description of the finding.
|
Finding.Builder |
id(String id)
The unique identifier for the finding.
|
Finding.Builder |
partition(String partition)
The Amazon Web Services partition that Amazon Macie created the finding in.
|
default Finding.Builder |
policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The details of a policy finding.
|
Finding.Builder |
policyDetails(PolicyDetails policyDetails)
The details of a policy finding.
|
Finding.Builder |
region(String region)
The Amazon Web Services Region that Amazon Macie created the finding in.
|
default Finding.Builder |
resourcesAffected(Consumer<ResourcesAffected.Builder> resourcesAffected)
The resources that the finding applies to.
|
Finding.Builder |
resourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
|
Finding.Builder |
sample(Boolean sample)
Specifies whether the finding is a sample finding.
|
Finding.Builder |
schemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
|
default Finding.Builder |
severity(Consumer<Severity.Builder> severity)
The severity level and score for the finding.
|
Finding.Builder |
severity(Severity severity)
The severity level and score for the finding.
|
Finding.Builder |
title(String title)
The brief description of the finding.
|
Finding.Builder |
type(FindingType type)
The type of the finding.
|
Finding.Builder |
type(String type)
The type of the finding.
|
Finding.Builder |
updatedAt(Instant updatedAt)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFinding.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.
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.Finding.Builder archived(Boolean archived)
Specifies whether the finding is archived (suppressed).
archived - Specifies whether the finding is archived (suppressed).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.
category - The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and,
POLICY, for a policy finding.FindingCategory,
FindingCategoryFinding.Builder category(FindingCategory category)
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
category - The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and,
POLICY, for a policy finding.FindingCategory,
FindingCategoryFinding.Builder classificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding. This value is null for a policy finding.
classificationDetails - The details of a sensitive data finding. This value is null for a policy finding.default Finding.Builder classificationDetails(Consumer<ClassificationDetails.Builder> classificationDetails)
The details of a sensitive data finding. This value is null for a policy finding.
This is a convenience method that creates an instance of theClassificationDetails.Builder avoiding
the need to create one manually via ClassificationDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to classificationDetails(ClassificationDetails).
classificationDetails - a consumer that will call methods on ClassificationDetails.BuilderclassificationDetails(ClassificationDetails)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.
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.Finding.Builder createdAt(Instant createdAt)
The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
createdAt - The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.Finding.Builder description(String description)
The description of the finding.
description - The description of the finding.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.
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.Finding.Builder partition(String partition)
The Amazon Web Services partition that Amazon Macie created the finding in.
partition - The Amazon Web Services partition that Amazon Macie created the finding in.Finding.Builder policyDetails(PolicyDetails policyDetails)
The details of a policy finding. This value is null for a sensitive data finding.
policyDetails - The details of a policy finding. This value is null for a sensitive data finding.default Finding.Builder policyDetails(Consumer<PolicyDetails.Builder> policyDetails)
The details of a policy finding. This value is null for a sensitive data finding.
This is a convenience method that creates an instance of thePolicyDetails.Builder avoiding the need
to create one manually via PolicyDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policyDetails(PolicyDetails).
policyDetails - a consumer that will call methods on PolicyDetails.BuilderpolicyDetails(PolicyDetails)Finding.Builder region(String region)
The Amazon Web Services Region that Amazon Macie created the finding in.
region - The Amazon Web Services Region that Amazon Macie created the finding in.Finding.Builder resourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
resourcesAffected - The resources that the finding applies to.default Finding.Builder resourcesAffected(Consumer<ResourcesAffected.Builder> resourcesAffected)
The resources that the finding applies to.
This is a convenience method that creates an instance of theResourcesAffected.Builder avoiding the
need to create one manually via ResourcesAffected.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to resourcesAffected(ResourcesAffected).
resourcesAffected - a consumer that will call methods on ResourcesAffected.BuilderresourcesAffected(ResourcesAffected)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.
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.Finding.Builder schemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
schemaVersion - The version of the schema that was used to define the data structures in the finding.Finding.Builder severity(Severity severity)
The severity level and score for the finding.
severity - The severity level and score for the finding.default Finding.Builder severity(Consumer<Severity.Builder> severity)
The severity level and score for the finding.
This is a convenience method that creates an instance of theSeverity.Builder avoiding the need to
create one manually via Severity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to severity(Severity).
severity - a consumer that will call methods on Severity.Builderseverity(Severity)Finding.Builder title(String title)
The brief description of the finding.
title - The brief description of the finding.Finding.Builder type(String type)
The type of the finding.
type - The type of the finding.FindingType,
FindingTypeFinding.Builder type(FindingType type)
The type of the finding.
type - The type of the finding.FindingType,
FindingTypeFinding.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.
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.Copyright © 2023. All rights reserved.