Interface FindingHistoryRecord.Builder

    • Method Detail

      • findingIdentifier

        FindingHistoryRecord.Builder findingIdentifier​(AwsSecurityFindingIdentifier findingIdentifier)
        Sets the value of the FindingIdentifier property for this object.
        Parameters:
        findingIdentifier - The new value for the FindingIdentifier property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateTime

        FindingHistoryRecord.Builder updateTime​(Instant updateTime)

        A timestamp that indicates when Security Hub processed the updated finding record.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        updateTime - A timestamp that indicates when Security Hub processed the updated finding record.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingCreated

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updateSource

        FindingHistoryRecord.Builder updateSource​(FindingHistoryUpdateSource updateSource)

        Identifies the source of the event that changed the finding. For example, an integrated Amazon Web Services service or third-party partner integration may call BatchImportFindings , or an Security Hub customer may call BatchUpdateFindings .

        Parameters:
        updateSource - Identifies the source of the event that changed the finding. For example, an integrated Amazon Web Services service or third-party partner integration may call BatchImportFindings , or an Security Hub customer may call BatchUpdateFindings .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updates

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updates

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.