@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchUpdateFindingsUnprocessedFinding extends Object implements Serializable, Cloneable, StructuredPojo
A finding from a BatchUpdateFindings
request that Security Hub was unable to update.
Constructor and Description |
---|
BatchUpdateFindingsUnprocessedFinding() |
Modifier and Type | Method and Description |
---|---|
BatchUpdateFindingsUnprocessedFinding |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The code associated with the error.
|
String |
getErrorMessage()
The message associated with the error.
|
AwsSecurityFindingIdentifier |
getFindingIdentifier()
The identifier of the finding that was not updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The code associated with the error.
|
void |
setErrorMessage(String errorMessage)
The message associated with the error.
|
void |
setFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
The identifier of the finding that was not updated.
|
String |
toString()
Returns a string representation of this object.
|
BatchUpdateFindingsUnprocessedFinding |
withErrorCode(String errorCode)
The code associated with the error.
|
BatchUpdateFindingsUnprocessedFinding |
withErrorMessage(String errorMessage)
The message associated with the error.
|
BatchUpdateFindingsUnprocessedFinding |
withFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
The identifier of the finding that was not updated.
|
public BatchUpdateFindingsUnprocessedFinding()
public void setFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
The identifier of the finding that was not updated.
findingIdentifier
- The identifier of the finding that was not updated.public AwsSecurityFindingIdentifier getFindingIdentifier()
The identifier of the finding that was not updated.
public BatchUpdateFindingsUnprocessedFinding withFindingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
The identifier of the finding that was not updated.
findingIdentifier
- The identifier of the finding that was not updated.public void setErrorCode(String errorCode)
The code associated with the error. Possible values are:
ConcurrentUpdateError
- Another request attempted to update the finding while this request was being
processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match an
existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon Web
Services Security Finding Format syntax.
errorCode
- The code associated with the error. Possible values are:
ConcurrentUpdateError
- Another request attempted to update the finding while this request
was being processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match an
existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon
Web Services Security Finding Format syntax.
public String getErrorCode()
The code associated with the error. Possible values are:
ConcurrentUpdateError
- Another request attempted to update the finding while this request was being
processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match an
existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon Web
Services Security Finding Format syntax.
ConcurrentUpdateError
- Another request attempted to update the finding while this request
was being processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match
an existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon
Web Services Security Finding Format syntax.
public BatchUpdateFindingsUnprocessedFinding withErrorCode(String errorCode)
The code associated with the error. Possible values are:
ConcurrentUpdateError
- Another request attempted to update the finding while this request was being
processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match an
existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon Web
Services Security Finding Format syntax.
errorCode
- The code associated with the error. Possible values are:
ConcurrentUpdateError
- Another request attempted to update the finding while this request
was being processed. This error may also occur if you call
BatchUpdateFindings
and
BatchImportFindings
at the same time.
DuplicatedFindingIdentifier
- The request included two or more findings with the same
FindingIdentifier
.
FindingNotFound
- The FindingIdentifier
included in the request did not match an
existing finding.
FindingSizeExceeded
- The finding size was greater than the permissible value of 240 KB.
InternalFailure
- An internal service failure occurred when updating the finding.
InvalidInput
- The finding update contained an invalid value that did not satisfy the Amazon
Web Services Security Finding Format syntax.
public void setErrorMessage(String errorMessage)
The message associated with the error. Possible values are:
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
errorMessage
- The message associated with the error. Possible values are:
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
public String getErrorMessage()
The message associated with the error. Possible values are:
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
public BatchUpdateFindingsUnprocessedFinding withErrorMessage(String errorMessage)
The message associated with the error. Possible values are:
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
errorMessage
- The message associated with the error. Possible values are:
Concurrent finding updates detected
Finding Identifier is duplicated
Finding Not Found
Finding size exceeded 240 KB
Internal service failure
Invalid Input
public String toString()
toString
in class Object
Object.toString()
public BatchUpdateFindingsUnprocessedFinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.