@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 control or a custom control in an 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 that's attached to the control.
|
String |
getDescription()
The description of the control.
|
Integer |
getEvidenceCount()
The amount of evidence that's generated for the control.
|
List<String> |
getEvidenceSources()
The list of data sources for the evidence.
|
String |
getId()
The identifier for the control.
|
String |
getName()
The name of the control.
|
String |
getResponse()
The response of the control.
|
String |
getStatus()
The status of the 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 that's attached to the control.
|
void |
setDescription(String description)
The description of the control.
|
void |
setEvidenceCount(Integer evidenceCount)
The amount of evidence that's generated for the control.
|
void |
setEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the evidence.
|
void |
setId(String id)
The identifier for the control.
|
void |
setName(String name)
The name of the control.
|
void |
setResponse(String response)
The response of the control.
|
void |
setStatus(String status)
The status of the 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 that's attached to the control.
|
AssessmentControl |
withComments(ControlComment... comments)
The list of comments that's attached to the control.
|
AssessmentControl |
withDescription(String description)
The description of the control.
|
AssessmentControl |
withEvidenceCount(Integer evidenceCount)
The amount of evidence that's generated for the control.
|
AssessmentControl |
withEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the evidence.
|
AssessmentControl |
withEvidenceSources(String... evidenceSources)
The list of data sources for the evidence.
|
AssessmentControl |
withId(String id)
The identifier for the control.
|
AssessmentControl |
withName(String name)
The name of the control.
|
AssessmentControl |
withResponse(ControlResponse response)
The response of the control.
|
AssessmentControl |
withResponse(String response)
The response of the control.
|
AssessmentControl |
withStatus(ControlStatus status)
The status of the control.
|
AssessmentControl |
withStatus(String status)
The status of the control.
|
public void setId(String id)
The identifier for the control.
id - The identifier for the control.public String getId()
The identifier for the control.
public AssessmentControl withId(String id)
The identifier for the control.
id - The identifier for the control.public void setName(String name)
The name of the control.
name - The name of the control.public String getName()
The name of the control.
public AssessmentControl withName(String name)
The name of the control.
name - The name of the control.public void setDescription(String description)
The description of the control.
description - The description of the control.public String getDescription()
The description of the control.
public AssessmentControl withDescription(String description)
The description of the control.
description - The description of the control.public void setStatus(String status)
The status of the control.
status - The status of the control.ControlStatuspublic String getStatus()
The status of the control.
ControlStatuspublic AssessmentControl withStatus(String status)
The status of the control.
status - The status of the control.ControlStatuspublic AssessmentControl withStatus(ControlStatus status)
The status of the control.
status - The status of the control.ControlStatuspublic void setResponse(String response)
The response of the control.
response - The response of the control.ControlResponsepublic String getResponse()
The response of the control.
ControlResponsepublic AssessmentControl withResponse(String response)
The response of the control.
response - The response of the control.ControlResponsepublic AssessmentControl withResponse(ControlResponse response)
The response of the control.
response - The response of the control.ControlResponsepublic List<ControlComment> getComments()
The list of comments that's attached to the control.
public void setComments(Collection<ControlComment> comments)
The list of comments that's attached to the control.
comments - The list of comments that's attached to the control.public AssessmentControl withComments(ControlComment... comments)
The list of comments that's attached to the 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 that's attached to the control.public AssessmentControl withComments(Collection<ControlComment> comments)
The list of comments that's attached to the control.
comments - The list of comments that's attached to the control.public List<String> getEvidenceSources()
The list of data sources for the evidence.
public void setEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the evidence.
evidenceSources - The list of data sources for the evidence.public AssessmentControl withEvidenceSources(String... evidenceSources)
The list of data sources for the 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 evidence.public AssessmentControl withEvidenceSources(Collection<String> evidenceSources)
The list of data sources for the evidence.
evidenceSources - The list of data sources for the evidence.public void setEvidenceCount(Integer evidenceCount)
The amount of evidence that's generated for the control.
evidenceCount - The amount of evidence that's generated for the control.public Integer getEvidenceCount()
The amount of evidence that's generated for the control.
public AssessmentControl withEvidenceCount(Integer evidenceCount)
The amount of evidence that's generated for the control.
evidenceCount - The amount of evidence that's 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.