@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportFindingsError extends Object implements Serializable, Cloneable, StructuredPojo
The list of the findings that cannot be imported. For each finding, the list provides the error.
Constructor and Description |
---|
ImportFindingsError() |
Modifier and Type | Method and Description |
---|---|
ImportFindingsError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The code of the error returned by the
BatchImportFindings operation. |
String |
getErrorMessage()
The message of the error returned by the
BatchImportFindings operation. |
String |
getId()
The identifier of the finding that could not be updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The code of the error returned by the
BatchImportFindings operation. |
void |
setErrorMessage(String errorMessage)
The message of the error returned by the
BatchImportFindings operation. |
void |
setId(String id)
The identifier of the finding that could not be updated.
|
String |
toString()
Returns a string representation of this object.
|
ImportFindingsError |
withErrorCode(String errorCode)
The code of the error returned by the
BatchImportFindings operation. |
ImportFindingsError |
withErrorMessage(String errorMessage)
The message of the error returned by the
BatchImportFindings operation. |
ImportFindingsError |
withId(String id)
The identifier of the finding that could not be updated.
|
public void setId(String id)
The identifier of the finding that could not be updated.
id
- The identifier of the finding that could not be updated.public String getId()
The identifier of the finding that could not be updated.
public ImportFindingsError withId(String id)
The identifier of the finding that could not be updated.
id
- The identifier of the finding that could not be updated.public void setErrorCode(String errorCode)
The code of the error returned by the BatchImportFindings
operation.
errorCode
- The code of the error returned by the BatchImportFindings
operation.public String getErrorCode()
The code of the error returned by the BatchImportFindings
operation.
BatchImportFindings
operation.public ImportFindingsError withErrorCode(String errorCode)
The code of the error returned by the BatchImportFindings
operation.
errorCode
- The code of the error returned by the BatchImportFindings
operation.public void setErrorMessage(String errorMessage)
The message of the error returned by the BatchImportFindings
operation.
errorMessage
- The message of the error returned by the BatchImportFindings
operation.public String getErrorMessage()
The message of the error returned by the BatchImportFindings
operation.
BatchImportFindings
operation.public ImportFindingsError withErrorMessage(String errorMessage)
The message of the error returned by the BatchImportFindings
operation.
errorMessage
- The message of the error returned by the BatchImportFindings
operation.public String toString()
toString
in class Object
Object.toString()
public ImportFindingsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.