@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchImportEvidenceToAssessmentControlError extends Object implements Serializable, Cloneable, StructuredPojo
An error entity for the BatchImportEvidenceToAssessmentControl
API. This is used to provide more
meaningful errors than a simple string message.
Constructor and Description |
---|
BatchImportEvidenceToAssessmentControlError() |
Modifier and Type | Method and Description |
---|---|
BatchImportEvidenceToAssessmentControlError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code returned by the
BatchImportEvidenceToAssessmentControl API. |
String |
getErrorMessage()
The error message returned by the
BatchImportEvidenceToAssessmentControl API. |
ManualEvidence |
getManualEvidence()
Manual evidence that cannot be collected automatically by AWS Audit Manager.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code returned by the
BatchImportEvidenceToAssessmentControl API. |
void |
setErrorMessage(String errorMessage)
The error message returned by the
BatchImportEvidenceToAssessmentControl API. |
void |
setManualEvidence(ManualEvidence manualEvidence)
Manual evidence that cannot be collected automatically by AWS Audit Manager.
|
String |
toString()
Returns a string representation of this object.
|
BatchImportEvidenceToAssessmentControlError |
withErrorCode(String errorCode)
The error code returned by the
BatchImportEvidenceToAssessmentControl API. |
BatchImportEvidenceToAssessmentControlError |
withErrorMessage(String errorMessage)
The error message returned by the
BatchImportEvidenceToAssessmentControl API. |
BatchImportEvidenceToAssessmentControlError |
withManualEvidence(ManualEvidence manualEvidence)
Manual evidence that cannot be collected automatically by AWS Audit Manager.
|
public BatchImportEvidenceToAssessmentControlError()
public void setManualEvidence(ManualEvidence manualEvidence)
Manual evidence that cannot be collected automatically by AWS Audit Manager.
manualEvidence
- Manual evidence that cannot be collected automatically by AWS Audit Manager.public ManualEvidence getManualEvidence()
Manual evidence that cannot be collected automatically by AWS Audit Manager.
public BatchImportEvidenceToAssessmentControlError withManualEvidence(ManualEvidence manualEvidence)
Manual evidence that cannot be collected automatically by AWS Audit Manager.
manualEvidence
- Manual evidence that cannot be collected automatically by AWS Audit Manager.public void setErrorCode(String errorCode)
The error code returned by the BatchImportEvidenceToAssessmentControl
API.
errorCode
- The error code returned by the BatchImportEvidenceToAssessmentControl
API.public String getErrorCode()
The error code returned by the BatchImportEvidenceToAssessmentControl
API.
BatchImportEvidenceToAssessmentControl
API.public BatchImportEvidenceToAssessmentControlError withErrorCode(String errorCode)
The error code returned by the BatchImportEvidenceToAssessmentControl
API.
errorCode
- The error code returned by the BatchImportEvidenceToAssessmentControl
API.public void setErrorMessage(String errorMessage)
The error message returned by the BatchImportEvidenceToAssessmentControl
API.
errorMessage
- The error message returned by the BatchImportEvidenceToAssessmentControl
API.public String getErrorMessage()
The error message returned by the BatchImportEvidenceToAssessmentControl
API.
BatchImportEvidenceToAssessmentControl
API.public BatchImportEvidenceToAssessmentControlError withErrorMessage(String errorMessage)
The error message returned by the BatchImportEvidenceToAssessmentControl
API.
errorMessage
- The error message returned by the BatchImportEvidenceToAssessmentControl
API.public String toString()
toString
in class Object
Object.toString()
public BatchImportEvidenceToAssessmentControlError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.