@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditFinding extends Object implements Serializable, Cloneable, StructuredPojo
The findings (results) of the audit.
Constructor and Description |
---|
AuditFinding() |
Modifier and Type | Method and Description |
---|---|
AuditFinding |
clone() |
boolean |
equals(Object obj) |
String |
getCheckName()
The audit check that generated this result.
|
String |
getFindingId()
A unique identifier for this set of audit findings.
|
Date |
getFindingTime()
The time the result (finding) was discovered.
|
Boolean |
getIsSuppressed()
Indicates whether the audit finding was suppressed or not during reporting.
|
NonCompliantResource |
getNonCompliantResource()
The resource that was found to be noncompliant with the audit check.
|
String |
getReasonForNonCompliance()
The reason the resource was noncompliant.
|
String |
getReasonForNonComplianceCode()
A code that indicates the reason that the resource was noncompliant.
|
List<RelatedResource> |
getRelatedResources()
The list of related resources.
|
String |
getSeverity()
The severity of the result (finding).
|
String |
getTaskId()
The ID of the audit that generated this result (finding).
|
Date |
getTaskStartTime()
The time the audit started.
|
int |
hashCode() |
Boolean |
isSuppressed()
Indicates whether the audit finding was suppressed or not during reporting.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckName(String checkName)
The audit check that generated this result.
|
void |
setFindingId(String findingId)
A unique identifier for this set of audit findings.
|
void |
setFindingTime(Date findingTime)
The time the result (finding) was discovered.
|
void |
setIsSuppressed(Boolean isSuppressed)
Indicates whether the audit finding was suppressed or not during reporting.
|
void |
setNonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
|
void |
setReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
|
void |
setReasonForNonComplianceCode(String reasonForNonComplianceCode)
A code that indicates the reason that the resource was noncompliant.
|
void |
setRelatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
|
void |
setSeverity(String severity)
The severity of the result (finding).
|
void |
setTaskId(String taskId)
The ID of the audit that generated this result (finding).
|
void |
setTaskStartTime(Date taskStartTime)
The time the audit started.
|
String |
toString()
Returns a string representation of this object.
|
AuditFinding |
withCheckName(String checkName)
The audit check that generated this result.
|
AuditFinding |
withFindingId(String findingId)
A unique identifier for this set of audit findings.
|
AuditFinding |
withFindingTime(Date findingTime)
The time the result (finding) was discovered.
|
AuditFinding |
withIsSuppressed(Boolean isSuppressed)
Indicates whether the audit finding was suppressed or not during reporting.
|
AuditFinding |
withNonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be noncompliant with the audit check.
|
AuditFinding |
withReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
|
AuditFinding |
withReasonForNonComplianceCode(String reasonForNonComplianceCode)
A code that indicates the reason that the resource was noncompliant.
|
AuditFinding |
withRelatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
|
AuditFinding |
withRelatedResources(RelatedResource... relatedResources)
The list of related resources.
|
AuditFinding |
withSeverity(AuditFindingSeverity severity)
The severity of the result (finding).
|
AuditFinding |
withSeverity(String severity)
The severity of the result (finding).
|
AuditFinding |
withTaskId(String taskId)
The ID of the audit that generated this result (finding).
|
AuditFinding |
withTaskStartTime(Date taskStartTime)
The time the audit started.
|
public void setFindingId(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.public String getFindingId()
A unique identifier for this set of audit findings. This identifier is used to apply mitigation tasks to one or more sets of findings.
public AuditFinding withFindingId(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.public void setTaskId(String taskId)
The ID of the audit that generated this result (finding).
taskId
- The ID of the audit that generated this result (finding).public String getTaskId()
The ID of the audit that generated this result (finding).
public AuditFinding withTaskId(String taskId)
The ID of the audit that generated this result (finding).
taskId
- The ID of the audit that generated this result (finding).public void setCheckName(String checkName)
The audit check that generated this result.
checkName
- The audit check that generated this result.public String getCheckName()
The audit check that generated this result.
public AuditFinding withCheckName(String checkName)
The audit check that generated this result.
checkName
- The audit check that generated this result.public void setTaskStartTime(Date taskStartTime)
The time the audit started.
taskStartTime
- The time the audit started.public Date getTaskStartTime()
The time the audit started.
public AuditFinding withTaskStartTime(Date taskStartTime)
The time the audit started.
taskStartTime
- The time the audit started.public void setFindingTime(Date findingTime)
The time the result (finding) was discovered.
findingTime
- The time the result (finding) was discovered.public Date getFindingTime()
The time the result (finding) was discovered.
public AuditFinding withFindingTime(Date findingTime)
The time the result (finding) was discovered.
findingTime
- The time the result (finding) was discovered.public void setSeverity(String severity)
The severity of the result (finding).
severity
- The severity of the result (finding).AuditFindingSeverity
public String getSeverity()
The severity of the result (finding).
AuditFindingSeverity
public AuditFinding withSeverity(String severity)
The severity of the result (finding).
severity
- The severity of the result (finding).AuditFindingSeverity
public AuditFinding withSeverity(AuditFindingSeverity severity)
The severity of the result (finding).
severity
- The severity of the result (finding).AuditFindingSeverity
public void setNonCompliantResource(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.public NonCompliantResource getNonCompliantResource()
The resource that was found to be noncompliant with the audit check.
public AuditFinding withNonCompliantResource(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.public List<RelatedResource> getRelatedResources()
The list of related resources.
public void setRelatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
relatedResources
- The list of related resources.public AuditFinding withRelatedResources(RelatedResource... relatedResources)
The list of related resources.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedResources(java.util.Collection)
or withRelatedResources(java.util.Collection)
if you
want to override the existing values.
relatedResources
- The list of related resources.public AuditFinding withRelatedResources(Collection<RelatedResource> relatedResources)
The list of related resources.
relatedResources
- The list of related resources.public void setReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
reasonForNonCompliance
- The reason the resource was noncompliant.public String getReasonForNonCompliance()
The reason the resource was noncompliant.
public AuditFinding withReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was noncompliant.
reasonForNonCompliance
- The reason the resource was noncompliant.public void setReasonForNonComplianceCode(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.public String getReasonForNonComplianceCode()
A code that indicates the reason that the resource was noncompliant.
public AuditFinding withReasonForNonComplianceCode(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.public void setIsSuppressed(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.public Boolean getIsSuppressed()
Indicates whether the audit finding was suppressed or not during reporting.
public AuditFinding withIsSuppressed(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.public Boolean isSuppressed()
Indicates whether the audit finding was suppressed or not during reporting.
public String toString()
toString
in class Object
Object.toString()
public AuditFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.