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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssessmentTemplateFilter.BuilderdurationRange(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.AssessmentTemplateFilter.BuilderdurationRange(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.AssessmentTemplateFilter.BuildernamePattern(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.AssessmentTemplateFilter.BuilderrulesPackageArns(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.AssessmentTemplateFilter.BuilderrulesPackageArns(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 Detail
-
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 theDurationRange.Builderavoiding the need to create one manually viaDurationRange.builder().When the
Consumercompletes,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:
durationRange(DurationRange)
-
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.
-
-