Interface AssessmentRunFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AssessmentRunFilter.Builder,AssessmentRunFilter>, SdkBuilder<AssessmentRunFilter.Builder,AssessmentRunFilter>, SdkPojo
Enclosing class:
AssessmentRunFilter

public static interface AssessmentRunFilter.Builder extends SdkPojo, CopyableBuilder<AssessmentRunFilter.Builder,AssessmentRunFilter>
  • Method Details

    • namePattern

      AssessmentRunFilter.Builder namePattern(String namePattern)

      For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.

      Parameters:
      namePattern - For a record to match a filter, an explicit value or a string containing a wildcard that is specified for this data type property must match the value of the assessmentRunName property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesWithStrings

      AssessmentRunFilter.Builder statesWithStrings(Collection<String> states)

      For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

      Parameters:
      states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statesWithStrings

      AssessmentRunFilter.Builder statesWithStrings(String... states)

      For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

      Parameters:
      states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • states

      For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

      Parameters:
      states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • states

      For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.

      Parameters:
      states - For a record to match a filter, one of the values specified for this data type property must be the exact match of the value of the assessmentRunState property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationRange

      AssessmentRunFilter.Builder durationRange(DurationRange durationRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

      Parameters:
      durationRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationRange

      default AssessmentRunFilter.Builder durationRange(Consumer<DurationRange.Builder> durationRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentRun data type.

      This is a convenience method that creates an instance of the DurationRange.Builder avoiding the need to create one manually via DurationRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to durationRange(DurationRange).

      Parameters:
      durationRange - a consumer that will call methods on DurationRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • rulesPackageArns

      AssessmentRunFilter.Builder rulesPackageArns(Collection<String> rulesPackageArns)

      For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

      Parameters:
      rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rulesPackageArns

      AssessmentRunFilter.Builder rulesPackageArns(String... rulesPackageArns)

      For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.

      Parameters:
      rulesPackageArns - For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the rulesPackages property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeRange

      AssessmentRunFilter.Builder startTimeRange(TimestampRange startTimeRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

      Parameters:
      startTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTimeRange

      default AssessmentRunFilter.Builder startTimeRange(Consumer<TimestampRange.Builder> startTimeRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the startTime property of the AssessmentRun data type.

      This is a convenience method that creates an instance of the TimestampRange.Builder avoiding the need to create one manually via TimestampRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to startTimeRange(TimestampRange).

      Parameters:
      startTimeRange - a consumer that will call methods on TimestampRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • completionTimeRange

      AssessmentRunFilter.Builder completionTimeRange(TimestampRange completionTimeRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

      Parameters:
      completionTimeRange - For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completionTimeRange

      default AssessmentRunFilter.Builder completionTimeRange(Consumer<TimestampRange.Builder> completionTimeRange)

      For a record to match a filter, the value that is specified for this data type property must inclusively match any value between the specified minimum and maximum values of the completedAt property of the AssessmentRun data type.

      This is a convenience method that creates an instance of the TimestampRange.Builder avoiding the need to create one manually via TimestampRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to completionTimeRange(TimestampRange).

      Parameters:
      completionTimeRange - a consumer that will call methods on TimestampRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateChangeTimeRange

      AssessmentRunFilter.Builder stateChangeTimeRange(TimestampRange stateChangeTimeRange)

      For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

      Parameters:
      stateChangeTimeRange - For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateChangeTimeRange

      default AssessmentRunFilter.Builder stateChangeTimeRange(Consumer<TimestampRange.Builder> stateChangeTimeRange)

      For a record to match a filter, the value that is specified for this data type property must match the stateChangedAt property of the AssessmentRun data type.

      This is a convenience method that creates an instance of the TimestampRange.Builder avoiding the need to create one manually via TimestampRange.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stateChangeTimeRange(TimestampRange).

      Parameters:
      stateChangeTimeRange - a consumer that will call methods on TimestampRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: