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 |
findingTime(Instant findingTime)
The time the result (finding) was discovered.
|
default AuditFinding.Builder |
nonCompliantResource(Consumer<NonCompliantResource.Builder> nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
|
AuditFinding.Builder |
nonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
|
AuditFinding.Builder |
reasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was non-compliant.
|
AuditFinding.Builder |
reasonForNonComplianceCode(String reasonForNonComplianceCode)
A code which indicates the reason that the resource was non-compliant.
|
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.
|
copy
applyMutation, build
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
,
AuditFindingSeverity
AuditFinding.Builder severity(AuditFindingSeverity severity)
The severity of the result (finding).
severity
- The severity of the result (finding).AuditFindingSeverity
,
AuditFindingSeverity
AuditFinding.Builder nonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
nonCompliantResource
- The resource that was found to be non-compliant with the audit check.default AuditFinding.Builder nonCompliantResource(Consumer<NonCompliantResource.Builder> nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
This is a convenience 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.Builder
nonCompliantResource(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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #relatedResources(List)
.relatedResources
- a consumer that will call methods on List.Builder
#relatedResources(List)
AuditFinding.Builder reasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was non-compliant.
reasonForNonCompliance
- The reason the resource was non-compliant.AuditFinding.Builder reasonForNonComplianceCode(String reasonForNonComplianceCode)
A code which indicates the reason that the resource was non-compliant.
reasonForNonComplianceCode
- A code which indicates the reason that the resource was non-compliant.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.