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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3KeyFilter.BuilderfilterRules(Collection<FilterRule> filterRules)Sets the value of the FilterRules property for this object.S3KeyFilter.BuilderfilterRules(Consumer<FilterRule.Builder>... filterRules)Sets the value of the FilterRules property for this object.S3KeyFilter.BuilderfilterRules(FilterRule... filterRules)Sets the value of the FilterRules property for this object.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
filterRules
S3KeyFilter.Builder filterRules(Collection<FilterRule> 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
S3KeyFilter.Builder filterRules(FilterRule... 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
S3KeyFilter.Builder filterRules(Consumer<FilterRule.Builder>... 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 to#filterRules(List.) - 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:
#filterRules(java.util.Collection)
-
-