@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 returned by the
AssessmentReportEvidence API. |
String |
getErrorMessage()
The error message returned by the
AssessmentReportEvidence API. |
String |
getEvidenceId()
The identifier for the evidence.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code returned by the
AssessmentReportEvidence API. |
void |
setErrorMessage(String errorMessage)
The error message returned by the
AssessmentReportEvidence API. |
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 returned by the
AssessmentReportEvidence API. |
AssessmentReportEvidenceError |
withErrorMessage(String errorMessage)
The error message returned by the
AssessmentReportEvidence API. |
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 returned by the AssessmentReportEvidence
API.
errorCode
- The error code returned by the AssessmentReportEvidence
API.public String getErrorCode()
The error code returned by the AssessmentReportEvidence
API.
AssessmentReportEvidence
API.public AssessmentReportEvidenceError withErrorCode(String errorCode)
The error code returned by the AssessmentReportEvidence
API.
errorCode
- The error code returned by the AssessmentReportEvidence
API.public void setErrorMessage(String errorMessage)
The error message returned by the AssessmentReportEvidence
API.
errorMessage
- The error message returned by the AssessmentReportEvidence
API.public String getErrorMessage()
The error message returned by the AssessmentReportEvidence
API.
AssessmentReportEvidence
API.public AssessmentReportEvidenceError withErrorMessage(String errorMessage)
The error message returned by the AssessmentReportEvidence
API.
errorMessage
- The error message returned by the AssessmentReportEvidence
API.public String toString()
toString
in class Object
Object.toString()
public AssessmentReportEvidenceError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.