@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentControl extends Object implements Serializable, Cloneable, StructuredPojo
The control entity that represents a standard or custom control used in an AWS Audit Manager assessment.
| Constructor and Description | 
|---|
| AssessmentControl() | 
| Modifier and Type | Method and Description | 
|---|---|
| AssessmentControl | clone() | 
| boolean | equals(Object obj) | 
| Integer | getAssessmentReportEvidenceCount()
 The amount of evidence in the assessment report. | 
| List<ControlComment> | getComments()
 The list of comments attached to the specified control. | 
| String | getDescription()
 The description of the specified control. | 
| Integer | getEvidenceCount()
 The amount of evidence generated for the control. | 
| List<String> | getEvidenceSources()
 The list of data sources for the specified evidence. | 
| String | getId()
 The identifier for the specified control. | 
| String | getName()
 The name of the specified control. | 
| String | getResponse()
 The response of the specified control. | 
| String | getStatus()
 The status of the specified control. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setAssessmentReportEvidenceCount(Integer assessmentReportEvidenceCount)
 The amount of evidence in the assessment report. | 
| void | setComments(Collection<ControlComment> comments)
 The list of comments attached to the specified control. | 
| void | setDescription(String description)
 The description of the specified control. | 
| void | setEvidenceCount(Integer evidenceCount)
 The amount of evidence generated for the control. | 
| void | setEvidenceSources(Collection<String> evidenceSources)
 The list of data sources for the specified evidence. | 
| void | setId(String id)
 The identifier for the specified control. | 
| void | setName(String name)
 The name of the specified control. | 
| void | setResponse(String response)
 The response of the specified control. | 
| void | setStatus(String status)
 The status of the specified control. | 
| String | toString()Returns a string representation of this object. | 
| AssessmentControl | withAssessmentReportEvidenceCount(Integer assessmentReportEvidenceCount)
 The amount of evidence in the assessment report. | 
| AssessmentControl | withComments(Collection<ControlComment> comments)
 The list of comments attached to the specified control. | 
| AssessmentControl | withComments(ControlComment... comments)
 The list of comments attached to the specified control. | 
| AssessmentControl | withDescription(String description)
 The description of the specified control. | 
| AssessmentControl | withEvidenceCount(Integer evidenceCount)
 The amount of evidence generated for the control. | 
| AssessmentControl | withEvidenceSources(Collection<String> evidenceSources)
 The list of data sources for the specified evidence. | 
| AssessmentControl | withEvidenceSources(String... evidenceSources)
 The list of data sources for the specified evidence. | 
| AssessmentControl | withId(String id)
 The identifier for the specified control. | 
| AssessmentControl | withName(String name)
 The name of the specified control. | 
| AssessmentControl | withResponse(ControlResponse response)
 The response of the specified control. | 
| AssessmentControl | withResponse(String response)
 The response of the specified control. | 
| AssessmentControl | withStatus(ControlStatus status)
 The status of the specified control. | 
| AssessmentControl | withStatus(String status)
 The status of the specified control. | 
public void setId(String id)
The identifier for the specified control.
id - The identifier for the specified control.public String getId()
The identifier for the specified control.
public AssessmentControl withId(String id)
The identifier for the specified control.
id - The identifier for the specified control.public void setName(String name)
The name of the specified control.
name - The name of the specified control.public String getName()
The name of the specified control.
public AssessmentControl withName(String name)
The name of the specified control.
name - The name of the specified control.public void setDescription(String description)
The description of the specified control.
description - The description of the specified control.public String getDescription()
The description of the specified control.
public AssessmentControl withDescription(String description)
The description of the specified control.
description - The description of the specified control.public void setStatus(String status)
The status of the specified control.
status - The status of the specified control.ControlStatuspublic String getStatus()
The status of the specified control.
ControlStatuspublic AssessmentControl withStatus(String status)
The status of the specified control.
status - The status of the specified control.ControlStatuspublic AssessmentControl withStatus(ControlStatus status)
The status of the specified control.
status - The status of the specified control.ControlStatuspublic void setResponse(String response)
The response of the specified control.
response - The response of the specified control.ControlResponsepublic String getResponse()
The response of the specified control.
ControlResponsepublic AssessmentControl withResponse(String response)
The response of the specified control.
response - The response of the specified control.ControlResponsepublic AssessmentControl withResponse(ControlResponse response)
The response of the specified control.
response - The response of the specified control.ControlResponsepublic List<ControlComment> getComments()
The list of comments attached to the specified control.
public void setComments(Collection<ControlComment> comments)
The list of comments attached to the specified control.
comments - The list of comments attached to the specified control.public AssessmentControl withComments(ControlComment... comments)
The list of comments attached to the specified control.
 NOTE: This method appends the values to the existing list (if any). Use
 setComments(java.util.Collection) or withComments(java.util.Collection) if you want to override
 the existing values.
 
comments - The list of comments attached to the specified control.public AssessmentControl withComments(Collection<ControlComment> comments)
The list of comments attached to the specified control.
comments - The list of comments attached to the specified control.public List<String> getEvidenceSources()
The list of data sources for the specified evidence.
public void setEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the specified evidence.
evidenceSources - The list of data sources for the specified evidence.public AssessmentControl withEvidenceSources(String... evidenceSources)
The list of data sources for the specified evidence.
 NOTE: This method appends the values to the existing list (if any). Use
 setEvidenceSources(java.util.Collection) or withEvidenceSources(java.util.Collection) if you
 want to override the existing values.
 
evidenceSources - The list of data sources for the specified evidence.public AssessmentControl withEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the specified evidence.
evidenceSources - The list of data sources for the specified evidence.public void setEvidenceCount(Integer evidenceCount)
The amount of evidence generated for the control.
evidenceCount - The amount of evidence generated for the control.public Integer getEvidenceCount()
The amount of evidence generated for the control.
public AssessmentControl withEvidenceCount(Integer evidenceCount)
The amount of evidence generated for the control.
evidenceCount - The amount of evidence generated for the control.public void setAssessmentReportEvidenceCount(Integer assessmentReportEvidenceCount)
The amount of evidence in the assessment report.
assessmentReportEvidenceCount - The amount of evidence in the assessment report.public Integer getAssessmentReportEvidenceCount()
The amount of evidence in the assessment report.
public AssessmentControl withAssessmentReportEvidenceCount(Integer assessmentReportEvidenceCount)
The amount of evidence in the assessment report.
assessmentReportEvidenceCount - The amount of evidence in the assessment report.public String toString()
toString in class ObjectObject.toString()public AssessmentControl clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.