Interface Filter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Filter.Builder,
,Filter> SdkBuilder<Filter.Builder,
,Filter> SdkPojo
- Enclosing class:
Filter
-
Method Summary
Modifier and TypeMethodDescriptiondefault Filter.Builder
condition
(Consumer<Condition.Builder> condition) The condition accepts before or after a specified time, equal to a string, or equal to an integer.The condition accepts before or after a specified time, equal to a string, or equal to an integer.The key that you're filtering on.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
-
condition
The condition accepts before or after a specified time, equal to a string, or equal to an integer.
- Parameters:
condition
- The condition accepts before or after a specified time, equal to a string, or equal to an integer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
condition
The condition accepts before or after a specified time, equal to a string, or equal to an integer.
This is a convenience method that creates an instance of theCondition.Builder
avoiding the need to create one manually viaCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocondition(Condition)
.- Parameters:
condition
- a consumer that will call methods onCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
key
The key that you're filtering on.
- Parameters:
key
- The key that you're filtering on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-