@Generated(value="software.amazon.awssdk:codegen") public final class FindingHistoryRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingHistoryRecord.Builder,FindingHistoryRecord>
A list of events that changed the specified finding during the specified time period. Each record represents a single finding change event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FindingHistoryRecord.Builder |
| Modifier and Type | Method and Description |
|---|---|
static FindingHistoryRecord.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
findingCreated()
Identifies whether the event marks the creation of a new finding.
|
AwsSecurityFindingIdentifier |
findingIdentifier()
Returns the value of the FindingIdentifier property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasUpdates()
For responses, this returns true if the service returned a value for the Updates property.
|
String |
nextToken()
A token for pagination purposes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FindingHistoryRecord.Builder> |
serializableBuilderClass() |
FindingHistoryRecord.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<FindingHistoryUpdate> |
updates()
An array of objects that provides details about the finding change event, including the Amazon Web Services
Security Finding Format (ASFF) field that changed, the value of the field before the change, and the value of the
field after the change.
|
FindingHistoryUpdateSource |
updateSource()
Identifies the source of the event that changed the finding.
|
Instant |
updateTime()
An ISO 8601-formatted timestamp that indicates when Security Hub processed the updated finding record.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsSecurityFindingIdentifier findingIdentifier()
public final Instant updateTime()
An ISO 8601-formatted timestamp that indicates when Security Hub processed the updated finding record.
A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces, and date
and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
A correctly formatted example is 2020-05-21T20:16:34.724Z. The value cannot contain spaces,
and date and time should be separated by T. For more information, see RFC 3339 section 5.6, Internet Date/Time
Format.
public final Boolean findingCreated()
Identifies whether the event marks the creation of a new finding. A value of True means that the
finding is newly created. A value of False means that the finding isn’t newly created.
True means that
the finding is newly created. A value of False means that the finding isn’t newly created.public final FindingHistoryUpdateSource updateSource()
Identifies the source of the event that changed the finding. For example, an integrated Amazon Web Service or
third-party partner integration may call
BatchImportFindings , or an Security Hub customer may call
BatchUpdateFindings .
BatchImportFindings , or an Security Hub customer may call
BatchUpdateFindings .public final boolean hasUpdates()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<FindingHistoryUpdate> updates()
An array of objects that provides details about the finding change event, including the Amazon Web Services Security Finding Format (ASFF) field that changed, the value of the field before the change, and the value of the field after the change.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUpdates() method.
public final String nextToken()
A token for pagination purposes. Provide this token in the subsequent request to
GetFindingsHistory to get up to an additional 100 results of history for the same finding that
you specified in your initial request.
GetFindingsHistory to get up to an additional 100 results of history for the same
finding that you specified in your initial request.public FindingHistoryRecord.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FindingHistoryRecord.Builder,FindingHistoryRecord>public static FindingHistoryRecord.Builder builder()
public static Class<? extends FindingHistoryRecord.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.