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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssessmentRunFilter.BuildercompletionTimeRange(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.AssessmentRunFilter.BuildercompletionTimeRange(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.BuilderdurationRange(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.AssessmentRunFilter.BuilderdurationRange(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.AssessmentRunFilter.BuildernamePattern(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.AssessmentRunFilter.BuilderrulesPackageArns(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.AssessmentRunFilter.BuilderrulesPackageArns(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.BuilderstartTimeRange(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.AssessmentRunFilter.BuilderstartTimeRange(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.BuilderstateChangeTimeRange(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.AssessmentRunFilter.BuilderstateChangeTimeRange(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.AssessmentRunFilter.Builderstates(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.AssessmentRunFilter.Builderstates(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.AssessmentRunFilter.BuilderstatesWithStrings(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.AssessmentRunFilter.BuilderstatesWithStrings(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 Detail
-
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
AssessmentRunFilter.Builder 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.
- 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
AssessmentRunFilter.Builder 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.
- 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 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
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 theTimestampRange.Builderavoiding the need to create one manually viaTimestampRange.builder().When the
Consumercompletes,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:
startTimeRange(TimestampRange)
-
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 theTimestampRange.Builderavoiding the need to create one manually viaTimestampRange.builder().When the
Consumercompletes,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:
completionTimeRange(TimestampRange)
-
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 theTimestampRange.Builderavoiding the need to create one manually viaTimestampRange.builder().When the
Consumercompletes,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:
stateChangeTimeRange(TimestampRange)
-
-