public static interface FindingHistoryRecord.Builder extends SdkPojo, CopyableBuilder<FindingHistoryRecord.Builder,FindingHistoryRecord>
| Modifier and Type | Method and Description |
|---|---|
FindingHistoryRecord.Builder |
findingCreated(Boolean findingCreated)
Identifies whether the event marks the creation of a new finding.
|
FindingHistoryRecord.Builder |
findingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
Sets the value of the FindingIdentifier property for this object.
|
default FindingHistoryRecord.Builder |
findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
Sets the value of the FindingIdentifier property for this object.
|
FindingHistoryRecord.Builder |
nextToken(String nextToken)
A token for pagination purposes.
|
FindingHistoryRecord.Builder |
updates(Collection<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.
|
FindingHistoryRecord.Builder |
updates(Consumer<FindingHistoryUpdate.Builder>... 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.
|
FindingHistoryRecord.Builder |
updates(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.
|
default FindingHistoryRecord.Builder |
updateSource(Consumer<FindingHistoryUpdateSource.Builder> updateSource)
Identifies the source of the event that changed the finding.
|
FindingHistoryRecord.Builder |
updateSource(FindingHistoryUpdateSource updateSource)
Identifies the source of the event that changed the finding.
|
FindingHistoryRecord.Builder |
updateTime(Instant updateTime)
An ISO 8601-formatted timestamp that indicates when Security Hub processed the updated finding record.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFindingHistoryRecord.Builder findingIdentifier(AwsSecurityFindingIdentifier findingIdentifier)
findingIdentifier - The new value for the FindingIdentifier property for this object.default FindingHistoryRecord.Builder findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
AwsSecurityFindingIdentifier.Builder
avoiding the need to create one manually via AwsSecurityFindingIdentifier.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to findingIdentifier(AwsSecurityFindingIdentifier).
findingIdentifier - a consumer that will call methods on AwsSecurityFindingIdentifier.BuilderfindingIdentifier(AwsSecurityFindingIdentifier)FindingHistoryRecord.Builder updateTime(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.
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.
FindingHistoryRecord.Builder findingCreated(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.
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.FindingHistoryRecord.Builder updateSource(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 .
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 .default FindingHistoryRecord.Builder updateSource(Consumer<FindingHistoryUpdateSource.Builder> 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 .
FindingHistoryUpdateSource.Builder
avoiding the need to create one manually via FindingHistoryUpdateSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to updateSource(FindingHistoryUpdateSource).
updateSource - a consumer that will call methods on FindingHistoryUpdateSource.BuilderupdateSource(FindingHistoryUpdateSource)FindingHistoryRecord.Builder updates(Collection<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.
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.FindingHistoryRecord.Builder updates(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.
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.FindingHistoryRecord.Builder updates(Consumer<FindingHistoryUpdate.Builder>... 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.
This is a convenience method that creates an instance of theFindingHistoryUpdate.Builder avoiding the need to
create one manually via
FindingHistoryUpdate.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #updates(List.
updates - a consumer that will call methods on
FindingHistoryUpdate.Builder#updates(java.util.Collection) FindingHistoryRecord.Builder nextToken(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.
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.Copyright © 2023. All rights reserved.