@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssessmentReportEvidenceError extends Object implements Serializable, Cloneable, StructuredPojo
An error entity for assessment report evidence errors. 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 was returned.
|
String |
getErrorMessage()
The error message that was returned.
|
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 that was returned.
|
void |
setErrorMessage(String errorMessage)
The error message that was 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 was returned.
|
AssessmentReportEvidenceError |
withErrorMessage(String errorMessage)
The error message that was 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 was returned.
errorCode
- The error code that was returned.public String getErrorCode()
The error code that was returned.
public AssessmentReportEvidenceError withErrorCode(String errorCode)
The error code that was returned.
errorCode
- The error code that was returned.public void setErrorMessage(String errorMessage)
The error message that was returned.
errorMessage
- The error message that was returned.public String getErrorMessage()
The error message that was returned.
public AssessmentReportEvidenceError withErrorMessage(String errorMessage)
The error message that was returned.
errorMessage
- The error message that was returned.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.