Interface Finding.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Finding.Builder,
,Finding> SdkBuilder<Finding.Builder,
,Finding> SdkPojo
- Enclosing class:
Finding
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the Amazon Web Services account that the finding applies to.Specifies whether the finding is archived (suppressed).The category of the finding.category
(FindingCategory category) The category of the finding.default Finding.Builder
classificationDetails
(Consumer<ClassificationDetails.Builder> classificationDetails) The details of a sensitive data finding.classificationDetails
(ClassificationDetails classificationDetails) The details of a sensitive data finding.The total number of occurrences of the finding.The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.description
(String description) The description of the finding.The unique identifier for the finding.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.policyDetails
(PolicyDetails policyDetails) The details of a policy finding.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.resourcesAffected
(ResourcesAffected resourcesAffected) The resources that the finding applies to.Specifies whether the finding is a sample finding.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.The severity level and score for the finding.The brief description of the finding.The type of the finding.type
(FindingType type) The type of the finding.The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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:
-
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:
-
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.
-
classificationDetails
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 viaClassificationDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclassificationDetails(ClassificationDetails)
.- Parameters:
classificationDetails
- a consumer that will call methods onClassificationDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
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
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.
-
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 viaPolicyDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topolicyDetails(PolicyDetails)
.- Parameters:
policyDetails
- a consumer that will call methods onPolicyDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-
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 viaResourcesAffected.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesAffected(ResourcesAffected)
.- Parameters:
resourcesAffected
- a consumer that will call methods onResourcesAffected.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.
-
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 viaSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toseverity(Severity)
.- Parameters:
severity
- a consumer that will call methods onSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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:
-
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.
-