Class BatchUpdateFindingsUnprocessedFinding
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.BatchUpdateFindingsUnprocessedFinding
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchUpdateFindingsUnprocessedFinding.Builder,BatchUpdateFindingsUnprocessedFinding>
@Generated("software.amazon.awssdk:codegen") public final class BatchUpdateFindingsUnprocessedFinding extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchUpdateFindingsUnprocessedFinding.Builder,BatchUpdateFindingsUnprocessedFinding>
A finding from a
BatchUpdateFindingsrequest that Security Hub was unable to update.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchUpdateFindingsUnprocessedFinding.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BatchUpdateFindingsUnprocessedFinding.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()The code associated with the error.StringerrorMessage()The message associated with the error.AwsSecurityFindingIdentifierfindingIdentifier()The identifier of the finding that was not updated.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends BatchUpdateFindingsUnprocessedFinding.Builder>serializableBuilderClass()BatchUpdateFindingsUnprocessedFinding.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
findingIdentifier
public final AwsSecurityFindingIdentifier findingIdentifier()
The identifier of the finding that was not updated.
- Returns:
- The identifier of the finding that was not updated.
-
errorCode
public final 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 callBatchUpdateFindingsandBatchImportFindingsat the same time. -
DuplicatedFindingIdentifier- The request included two or more findings with the sameFindingIdentifier. -
FindingNotFound- TheFindingIdentifierincluded 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.
- Returns:
- 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 callBatchUpdateFindingsandBatchImportFindingsat the same time. -
DuplicatedFindingIdentifier- The request included two or more findings with the sameFindingIdentifier. -
FindingNotFound- TheFindingIdentifierincluded 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.
-
-
-
errorMessage
public final 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
- Returns:
- 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
-
-
-
toBuilder
public BatchUpdateFindingsUnprocessedFinding.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchUpdateFindingsUnprocessedFinding.Builder,BatchUpdateFindingsUnprocessedFinding>
-
builder
public static BatchUpdateFindingsUnprocessedFinding.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchUpdateFindingsUnprocessedFinding.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-