Interface AssessmentTemplateFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssessmentTemplateFilter.Builder,
,AssessmentTemplateFilter> SdkBuilder<AssessmentTemplateFilter.Builder,
,AssessmentTemplateFilter> SdkPojo
- Enclosing class:
AssessmentTemplateFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.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.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.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 theDurationRange.Builder
avoiding the need to create one manually viaDurationRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todurationRange(DurationRange)
.- Parameters:
durationRange
- a consumer that will call methods onDurationRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-