@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchImportEvidenceToAssessmentControlResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchImportEvidenceToAssessmentControlResult() |
Modifier and Type | Method and Description |
---|---|
BatchImportEvidenceToAssessmentControlResult |
clone() |
boolean |
equals(Object obj) |
List<BatchImportEvidenceToAssessmentControlError> |
getErrors()
A list of errors that the
BatchImportEvidenceToAssessmentControl API returned. |
int |
hashCode() |
void |
setErrors(Collection<BatchImportEvidenceToAssessmentControlError> errors)
A list of errors that the
BatchImportEvidenceToAssessmentControl API returned. |
String |
toString()
Returns a string representation of this object.
|
BatchImportEvidenceToAssessmentControlResult |
withErrors(BatchImportEvidenceToAssessmentControlError... errors)
A list of errors that the
BatchImportEvidenceToAssessmentControl API returned. |
BatchImportEvidenceToAssessmentControlResult |
withErrors(Collection<BatchImportEvidenceToAssessmentControlError> errors)
A list of errors that the
BatchImportEvidenceToAssessmentControl API returned. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchImportEvidenceToAssessmentControlResult()
public List<BatchImportEvidenceToAssessmentControlError> getErrors()
A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.
BatchImportEvidenceToAssessmentControl
API returned.public void setErrors(Collection<BatchImportEvidenceToAssessmentControlError> errors)
A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.
errors
- A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.public BatchImportEvidenceToAssessmentControlResult withErrors(BatchImportEvidenceToAssessmentControlError... errors)
A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.public BatchImportEvidenceToAssessmentControlResult withErrors(Collection<BatchImportEvidenceToAssessmentControlError> errors)
A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.
errors
- A list of errors that the BatchImportEvidenceToAssessmentControl
API returned.public String toString()
toString
in class Object
Object.toString()
public BatchImportEvidenceToAssessmentControlResult clone()