Interface GetFindingHistoryRequest.Builder

  • Method Details

    • findingIdentifier

      GetFindingHistoryRequest.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.
    • findingIdentifier

      default GetFindingHistoryRequest.Builder findingIdentifier(Consumer<AwsSecurityFindingIdentifier.Builder> findingIdentifier)
      Sets the value of the FindingIdentifier property for this object. This is a convenience method that creates an instance of the 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).

      Parameters:
      findingIdentifier - a consumer that will call methods on AwsSecurityFindingIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.

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

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

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

      GetFindingHistoryRequest.Builder maxResults(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.

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

      GetFindingHistoryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.