@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetFindingsError extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the error that caused a finding to fail to be retrieved.
| Constructor and Description |
|---|
BatchGetFindingsError() |
| Modifier and Type | Method and Description |
|---|---|
BatchGetFindingsError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
A code associated with the type of error.
|
String |
getFindingId()
The finding ID of the finding that was not fetched.
|
String |
getMessage()
Describes the error.
|
String |
getScanName()
The name of the scan that generated the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorCode(String errorCode)
A code associated with the type of error.
|
void |
setFindingId(String findingId)
The finding ID of the finding that was not fetched.
|
void |
setMessage(String message)
Describes the error.
|
void |
setScanName(String scanName)
The name of the scan that generated the finding.
|
String |
toString()
Returns a string representation of this object.
|
BatchGetFindingsError |
withErrorCode(ErrorCode errorCode)
A code associated with the type of error.
|
BatchGetFindingsError |
withErrorCode(String errorCode)
A code associated with the type of error.
|
BatchGetFindingsError |
withFindingId(String findingId)
The finding ID of the finding that was not fetched.
|
BatchGetFindingsError |
withMessage(String message)
Describes the error.
|
BatchGetFindingsError |
withScanName(String scanName)
The name of the scan that generated the finding.
|
public void setErrorCode(String errorCode)
A code associated with the type of error.
errorCode - A code associated with the type of error.ErrorCodepublic String getErrorCode()
A code associated with the type of error.
ErrorCodepublic BatchGetFindingsError withErrorCode(String errorCode)
A code associated with the type of error.
errorCode - A code associated with the type of error.ErrorCodepublic BatchGetFindingsError withErrorCode(ErrorCode errorCode)
A code associated with the type of error.
errorCode - A code associated with the type of error.ErrorCodepublic void setFindingId(String findingId)
The finding ID of the finding that was not fetched.
findingId - The finding ID of the finding that was not fetched.public String getFindingId()
The finding ID of the finding that was not fetched.
public BatchGetFindingsError withFindingId(String findingId)
The finding ID of the finding that was not fetched.
findingId - The finding ID of the finding that was not fetched.public void setMessage(String message)
Describes the error.
message - Describes the error.public String getMessage()
Describes the error.
public BatchGetFindingsError withMessage(String message)
Describes the error.
message - Describes the error.public void setScanName(String scanName)
The name of the scan that generated the finding.
scanName - The name of the scan that generated the finding.public String getScanName()
The name of the scan that generated the finding.
public BatchGetFindingsError withScanName(String scanName)
The name of the scan that generated the finding.
scanName - The name of the scan that generated the finding.public String toString()
toString in class ObjectObject.toString()public BatchGetFindingsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.