Interface AssessmentRunFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssessmentRunFilter.Builder,
,AssessmentRunFilter> SdkBuilder<AssessmentRunFilter.Builder,
,AssessmentRunFilter> SdkPojo
- Enclosing class:
AssessmentRunFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.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.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.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.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.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.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.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.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.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.states
(Collection<AssessmentRunState> 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.states
(AssessmentRunState... 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.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.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.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 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
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
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
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
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 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 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
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
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
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 theTimestampRange.Builder
avoiding the need to create one manually viaTimestampRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTimeRange(TimestampRange)
.- Parameters:
startTimeRange
- a consumer that will call methods onTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theTimestampRange.Builder
avoiding the need to create one manually viaTimestampRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompletionTimeRange(TimestampRange)
.- Parameters:
completionTimeRange
- a consumer that will call methods onTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theTimestampRange.Builder
avoiding the need to create one manually viaTimestampRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateChangeTimeRange(TimestampRange)
.- Parameters:
stateChangeTimeRange
- a consumer that will call methods onTimestampRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-