Class GetFindingHistoryRequest

    • Method Detail

      • findingIdentifier

        public final AwsSecurityFindingIdentifier findingIdentifier()
        Returns the value of the FindingIdentifier property for this object.
        Returns:
        The value of the FindingIdentifier property for this object.
      • startTime

        public final Instant startTime()

        A timestamp that indicates the start time of the requested finding history.

        If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.

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

        Returns:
        A timestamp that indicates the start time of the requested finding history.

        If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.

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

      • endTime

        public final Instant endTime()

        An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.

        If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.

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

        Returns:
        An ISO 8601-formatted timestamp that indicates the end time of the requested finding history.

        If you provide values for both StartTime and EndTime, Security Hub returns finding history for the specified time period. If you provide a value for StartTime but not for EndTime, Security Hub returns finding history from the StartTime to the time at which the API is called. If you provide a value for EndTime but not for StartTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the EndTime. If you provide neither StartTime nor EndTime, Security Hub returns finding history from the CreatedAt timestamp of the finding to the time at which the API is called. In all of these scenarios, the response is limited to 100 results, and the maximum time period is limited to 90 days.

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

      • nextToken

        public final String nextToken()

        A token for pagination purposes. Provide NULL as the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provide NextToken, Security Hub returns up to 100 results of finding history for each request.

        Returns:
        A token for pagination purposes. Provide NULL as the initial value. In subsequent requests, provide the token included in the response to get up to an additional 100 results of finding history. If you don’t provide NextToken, Security Hub returns up to 100 results of finding history for each request.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.

        Returns:
        The maximum number of results to be returned. If you don’t provide it, Security Hub returns up to 100 results of finding history.
      • 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.
        Overrides:
        toString in class Object