Interface AssessmentTemplateFilter.Builder

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

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

    • namePattern

      AssessmentTemplateFilter.Builder namePattern(String namePattern)

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

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

      AssessmentTemplateFilter.Builder durationRange(DurationRange durationRange)

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

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

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

      For a record to match a filter, the value specified for this data type property must inclusively match any value between the specified minimum and maximum values of the durationInSeconds property of the AssessmentTemplate 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

      AssessmentTemplateFilter.Builder rulesPackageArns(Collection<String> rulesPackageArns)

      For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.

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

      AssessmentTemplateFilter.Builder rulesPackageArns(String... rulesPackageArns)

      For a record to match a filter, the values that are specified for this data type property must be contained in the list of values of the rulesPackageArns property of the AssessmentTemplate data type.

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