@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetFindingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
BatchGetFindingsResult() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetFindingsResult |
clone() |
boolean |
equals(Object obj) |
List<BatchGetFindingsError> |
getFailedFindings()
A list of errors for individual findings which were not fetched.
|
List<Finding> |
getFindings()
A list of all findings which were successfully fetched.
|
int |
hashCode() |
void |
setFailedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched.
|
void |
setFindings(Collection<Finding> findings)
A list of all findings which were successfully fetched.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetFindingsResult |
withFailedFindings(BatchGetFindingsError... failedFindings)
A list of errors for individual findings which were not fetched.
|
BatchGetFindingsResult |
withFailedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched.
|
BatchGetFindingsResult |
withFindings(Collection<Finding> findings)
A list of all findings which were successfully fetched.
|
BatchGetFindingsResult |
withFindings(Finding... findings)
A list of all findings which were successfully fetched.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<BatchGetFindingsError> getFailedFindings()
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
scanName, findingId, errorCode and error message.public void setFailedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.public BatchGetFindingsResult withFailedFindings(BatchGetFindingsError... failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
NOTE: This method appends the values to the existing list (if any). Use
setFailedFindings(java.util.Collection) or withFailedFindings(java.util.Collection) if you want
to override the existing values.
failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.public BatchGetFindingsResult withFailedFindings(Collection<BatchGetFindingsError> failedFindings)
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.
failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
scanName, findingId, errorCode and error message.public List<Finding> getFindings()
A list of all findings which were successfully fetched.
public void setFindings(Collection<Finding> findings)
A list of all findings which were successfully fetched.
findings - A list of all findings which were successfully fetched.public BatchGetFindingsResult withFindings(Finding... findings)
A list of all findings which were successfully fetched.
NOTE: This method appends the values to the existing list (if any). Use
setFindings(java.util.Collection) or withFindings(java.util.Collection) if you want to override
the existing values.
findings - A list of all findings which were successfully fetched.public BatchGetFindingsResult withFindings(Collection<Finding> findings)
A list of all findings which were successfully fetched.
findings - A list of all findings which were successfully fetched.public String toString()
toString in class ObjectObject.toString()public BatchGetFindingsResult clone()