@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentReportEvidenceError extends Object implements Serializable, Cloneable, StructuredPojo
An error entity for the AssessmentReportEvidence API. This is used to provide more meaningful errors
than a simple string message.
| Constructor and Description |
|---|
AssessmentReportEvidenceError() |
| Modifier and Type | Method and Description |
|---|---|
AssessmentReportEvidenceError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code that the
AssessmentReportEvidence API returned. |
String |
getErrorMessage()
The error message that the
AssessmentReportEvidence API returned. |
String |
getEvidenceId()
The identifier for the evidence.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setErrorCode(String errorCode)
The error code that the
AssessmentReportEvidence API returned. |
void |
setErrorMessage(String errorMessage)
The error message that the
AssessmentReportEvidence API returned. |
void |
setEvidenceId(String evidenceId)
The identifier for the evidence.
|
String |
toString()
Returns a string representation of this object.
|
AssessmentReportEvidenceError |
withErrorCode(String errorCode)
The error code that the
AssessmentReportEvidence API returned. |
AssessmentReportEvidenceError |
withErrorMessage(String errorMessage)
The error message that the
AssessmentReportEvidence API returned. |
AssessmentReportEvidenceError |
withEvidenceId(String evidenceId)
The identifier for the evidence.
|
public void setEvidenceId(String evidenceId)
The identifier for the evidence.
evidenceId - The identifier for the evidence.public String getEvidenceId()
The identifier for the evidence.
public AssessmentReportEvidenceError withEvidenceId(String evidenceId)
The identifier for the evidence.
evidenceId - The identifier for the evidence.public void setErrorCode(String errorCode)
The error code that the AssessmentReportEvidence API returned.
errorCode - The error code that the AssessmentReportEvidence API returned.public String getErrorCode()
The error code that the AssessmentReportEvidence API returned.
AssessmentReportEvidence API returned.public AssessmentReportEvidenceError withErrorCode(String errorCode)
The error code that the AssessmentReportEvidence API returned.
errorCode - The error code that the AssessmentReportEvidence API returned.public void setErrorMessage(String errorMessage)
The error message that the AssessmentReportEvidence API returned.
errorMessage - The error message that the AssessmentReportEvidence API returned.public String getErrorMessage()
The error message that the AssessmentReportEvidence API returned.
AssessmentReportEvidence API returned.public AssessmentReportEvidenceError withErrorMessage(String errorMessage)
The error message that the AssessmentReportEvidence API returned.
errorMessage - The error message that the AssessmentReportEvidence API returned.public String toString()
toString in class ObjectObject.toString()public AssessmentReportEvidenceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.