Interface S3KeyFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3KeyFilter.Builder,,S3KeyFilter> SdkBuilder<S3KeyFilter.Builder,,S3KeyFilter> SdkPojo
- Enclosing class:
- S3KeyFilter
@Mutable
@NotThreadSafe
public static interface S3KeyFilter.Builder
extends SdkPojo, CopyableBuilder<S3KeyFilter.Builder,S3KeyFilter>
-
Method Summary
Modifier and TypeMethodDescriptionfilterRules(Collection<FilterRule> filterRules) Sets the value of the FilterRules property for this object.filterRules(Consumer<FilterRule.Builder>... filterRules) Sets the value of the FilterRules property for this object.filterRules(FilterRule... filterRules) Sets the value of the FilterRules property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filterRules
Sets the value of the FilterRules property for this object.- Parameters:
filterRules- The new value for the FilterRules property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterRules
Sets the value of the FilterRules property for this object.- Parameters:
filterRules- The new value for the FilterRules property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterRules
Sets the value of the FilterRules property for this object. This is a convenience method that creates an instance of theFilterRule.Builderavoiding the need to create one manually viaFilterRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterRules(List<FilterRule>).- Parameters:
filterRules- a consumer that will call methods onFilterRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-