public static interface AuditFinding.Builder extends SdkPojo, CopyableBuilder<AuditFinding.Builder,AuditFinding>
| Modifier and Type | Method and Description |
|---|---|
AuditFinding.Builder |
checkName(String checkName)
The audit check that generated this result.
|
AuditFinding.Builder |
findingId(String findingId)
A unique identifier for this set of audit findings.
|
AuditFinding.Builder |
findingTime(Instant findingTime)
The time the result (finding) was discovered.
|
AuditFinding.Builder |
isSuppressed(Boolean isSuppressed)
Indicates whether the audit finding was suppressed or not during reporting.
|
default AuditFinding.Builder |
nonCompliantResource(Consumer<NonCompliantResource.Builder> nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
|
AuditFinding.Builder |
nonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
|
AuditFinding.Builder |
reasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
|
AuditFinding.Builder |
reasonForNonComplianceCode(String reasonForNonComplianceCode)
A code that indicates the reason that the resource was noncompliant.
|
AuditFinding.Builder |
relatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
|
AuditFinding.Builder |
relatedResources(Consumer<RelatedResource.Builder>... relatedResources)
The list of related resources.
|
AuditFinding.Builder |
relatedResources(RelatedResource... relatedResources)
The list of related resources.
|
AuditFinding.Builder |
severity(AuditFindingSeverity severity)
The severity of the result (finding).
|
AuditFinding.Builder |
severity(String severity)
The severity of the result (finding).
|
AuditFinding.Builder |
taskId(String taskId)
The ID of the audit that generated this result (finding).
|
AuditFinding.Builder |
taskStartTime(Instant taskStartTime)
The time the audit started.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAuditFinding.Builder findingId(String findingId)
A unique identifier for this set of audit findings. This identifier is used to apply mitigation tasks to one or more sets of findings.
findingId - A unique identifier for this set of audit findings. This identifier is used to apply mitigation tasks
to one or more sets of findings.AuditFinding.Builder taskId(String taskId)
The ID of the audit that generated this result (finding).
taskId - The ID of the audit that generated this result (finding).AuditFinding.Builder checkName(String checkName)
The audit check that generated this result.
checkName - The audit check that generated this result.AuditFinding.Builder taskStartTime(Instant taskStartTime)
The time the audit started.
taskStartTime - The time the audit started.AuditFinding.Builder findingTime(Instant findingTime)
The time the result (finding) was discovered.
findingTime - The time the result (finding) was discovered.AuditFinding.Builder severity(String severity)
The severity of the result (finding).
severity - The severity of the result (finding).AuditFindingSeverity,
AuditFindingSeverityAuditFinding.Builder severity(AuditFindingSeverity severity)
The severity of the result (finding).
severity - The severity of the result (finding).AuditFindingSeverity,
AuditFindingSeverityAuditFinding.Builder nonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
nonCompliantResource - The resource that was found to be noncompliant with the audit check.default AuditFinding.Builder nonCompliantResource(Consumer<NonCompliantResource.Builder> nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
This is a convenience method that creates an instance of theNonCompliantResource.Builder avoiding
the need to create one manually via NonCompliantResource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to nonCompliantResource(NonCompliantResource).
nonCompliantResource - a consumer that will call methods on NonCompliantResource.BuildernonCompliantResource(NonCompliantResource)AuditFinding.Builder relatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
relatedResources - The list of related resources.AuditFinding.Builder relatedResources(RelatedResource... relatedResources)
The list of related resources.
relatedResources - The list of related resources.AuditFinding.Builder relatedResources(Consumer<RelatedResource.Builder>... relatedResources)
The list of related resources.
This is a convenience method that creates an instance of theRelatedResource.Builder avoiding the need to create one
manually via RelatedResource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #relatedResources(List.
relatedResources - a consumer that will call methods on
RelatedResource.Builder#relatedResources(java.util.Collection) AuditFinding.Builder reasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
reasonForNonCompliance - The reason the resource was noncompliant.AuditFinding.Builder reasonForNonComplianceCode(String reasonForNonComplianceCode)
A code that indicates the reason that the resource was noncompliant.
reasonForNonComplianceCode - A code that indicates the reason that the resource was noncompliant.AuditFinding.Builder isSuppressed(Boolean isSuppressed)
Indicates whether the audit finding was suppressed or not during reporting.
isSuppressed - Indicates whether the audit finding was suppressed or not during reporting.Copyright © 2023. All rights reserved.