@Generated(value="software.amazon.awssdk:codegen") public final class AuditFinding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuditFinding.Builder,AuditFinding>
The findings (results) of the audit.
Modifier and Type | Class and Description |
---|---|
static interface |
AuditFinding.Builder |
Modifier and Type | Method and Description |
---|---|
static AuditFinding.Builder |
builder() |
String |
checkName()
The audit check that generated this result.
|
boolean |
equals(Object obj) |
Instant |
findingTime()
The time the result (finding) was discovered.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NonCompliantResource |
nonCompliantResource()
The resource that was found to be non-compliant with the audit check.
|
String |
reasonForNonCompliance()
The reason the resource was non-compliant.
|
String |
reasonForNonComplianceCode()
A code which indicates the reason that the resource was non-compliant.
|
List<RelatedResource> |
relatedResources()
The list of related resources.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditFinding.Builder> |
serializableBuilderClass() |
AuditFindingSeverity |
severity()
The severity of the result (finding).
|
String |
severityAsString()
The severity of the result (finding).
|
String |
taskId()
The ID of the audit that generated this result (finding)
|
Instant |
taskStartTime()
The time the audit started.
|
AuditFinding.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String taskId()
The ID of the audit that generated this result (finding)
public String checkName()
The audit check that generated this result.
public Instant taskStartTime()
The time the audit started.
public Instant findingTime()
The time the result (finding) was discovered.
public AuditFindingSeverity severity()
The severity of the result (finding).
If the service returns an enum value that is not available in the current SDK version, severity
will
return AuditFindingSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from severityAsString()
.
AuditFindingSeverity
public String severityAsString()
The severity of the result (finding).
If the service returns an enum value that is not available in the current SDK version, severity
will
return AuditFindingSeverity.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from severityAsString()
.
AuditFindingSeverity
public NonCompliantResource nonCompliantResource()
The resource that was found to be non-compliant with the audit check.
public List<RelatedResource> relatedResources()
The list of related resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String reasonForNonCompliance()
The reason the resource was non-compliant.
public String reasonForNonComplianceCode()
A code which indicates the reason that the resource was non-compliant.
public AuditFinding.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AuditFinding.Builder,AuditFinding>
public static AuditFinding.Builder builder()
public static Class<? extends AuditFinding.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.