@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingDetailsError extends Object implements Serializable, Cloneable, StructuredPojo
Details about an error encountered when trying to return vulnerability data for a finding.
Constructor and Description |
---|
FindingDetailsError() |
Modifier and Type | Method and Description |
---|---|
FindingDetailsError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message.
|
String |
getFindingArn()
The finding ARN that returned an error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message.
|
void |
setFindingArn(String findingArn)
The finding ARN that returned an error.
|
String |
toString()
Returns a string representation of this object.
|
FindingDetailsError |
withErrorCode(FindingDetailsErrorCode errorCode)
The error code.
|
FindingDetailsError |
withErrorCode(String errorCode)
The error code.
|
FindingDetailsError |
withErrorMessage(String errorMessage)
The error message.
|
FindingDetailsError |
withFindingArn(String findingArn)
The finding ARN that returned an error.
|
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.FindingDetailsErrorCode
public String getErrorCode()
The error code.
FindingDetailsErrorCode
public FindingDetailsError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.FindingDetailsErrorCode
public FindingDetailsError withErrorCode(FindingDetailsErrorCode errorCode)
The error code.
errorCode
- The error code.FindingDetailsErrorCode
public void setErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public String getErrorMessage()
The error message.
public FindingDetailsError withErrorMessage(String errorMessage)
The error message.
errorMessage
- The error message.public void setFindingArn(String findingArn)
The finding ARN that returned an error.
findingArn
- The finding ARN that returned an error.public String getFindingArn()
The finding ARN that returned an error.
public FindingDetailsError withFindingArn(String findingArn)
The finding ARN that returned an error.
findingArn
- The finding ARN that returned an error.public String toString()
toString
in class Object
Object.toString()
public FindingDetailsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.