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