@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.
|
Date |
getFindingTime()
The time the result (finding) was discovered.
|
NonCompliantResource |
getNonCompliantResource()
The resource that was found to be non-compliant with the audit check.
|
String |
getReasonForNonCompliance()
The reason the resource was non-compliant.
|
String |
getReasonForNonComplianceCode()
A code which indicates the reason that the resource was non-compliant.
|
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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckName(String checkName)
The audit check that generated this result.
|
void |
setFindingTime(Date findingTime)
The time the result (finding) was discovered.
|
void |
setNonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
|
void |
setReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was non-compliant.
|
void |
setReasonForNonComplianceCode(String reasonForNonComplianceCode)
A code which indicates the reason that the resource was non-compliant.
|
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; useful for testing and debugging.
|
AuditFinding |
withCheckName(String checkName)
The audit check that generated this result.
|
AuditFinding |
withFindingTime(Date findingTime)
The time the result (finding) was discovered.
|
AuditFinding |
withNonCompliantResource(NonCompliantResource nonCompliantResource)
The resource that was found to be non-compliant with the audit check.
|
AuditFinding |
withReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was non-compliant.
|
AuditFinding |
withReasonForNonComplianceCode(String reasonForNonComplianceCode)
A code which indicates the reason that the resource was non-compliant.
|
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 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 non-compliant with the audit check.
nonCompliantResource
- The resource that was found to be non-compliant with the audit check.public NonCompliantResource getNonCompliantResource()
The resource that was found to be non-compliant with the audit check.
public AuditFinding withNonCompliantResource(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.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 non-compliant.
reasonForNonCompliance
- The reason the resource was non-compliant.public String getReasonForNonCompliance()
The reason the resource was non-compliant.
public AuditFinding withReasonForNonCompliance(String reasonForNonCompliance)
The reason the resource was non-compliant.
reasonForNonCompliance
- The reason the resource was non-compliant.public void setReasonForNonComplianceCode(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.public String getReasonForNonComplianceCode()
A code which indicates the reason that the resource was non-compliant.
public AuditFinding withReasonForNonComplianceCode(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.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.