Class S3KeyFilter
java.lang.Object
com.amazonaws.services.s3.model.S3KeyFilter
- All Implemented Interfaces:
Serializable
Filter criteria that allows for event notification filtering based on an S3 Object's key name
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAllowable values for the name of aFilterRulefor anS3KeyFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilterRule(FilterRule filterRule) voidsetFilterRules(List<FilterRule> filterRules) Set the list ofFilterRules for thisS3KeyFilterwithFilterRules(FilterRule... filterRules) Convenience varargs method to set the list ofFilterRules for thisS3KeyFilterand returns this object for method chainingwithFilterRules(List<FilterRule> filterRules) Set the list ofFilterRules for thisS3KeyFilterand returns this object for method chaining
-
Constructor Details
-
S3KeyFilter
public S3KeyFilter()
-
-
Method Details
-
getFilterRules
- Returns:
- The list of
FilterRules for thisS3KeyFilter
-
setFilterRules
Set the list ofFilterRules for thisS3KeyFilter- Parameters:
filterRules- New list ofFilterRules
-
withFilterRules
Set the list ofFilterRules for thisS3KeyFilterand returns this object for method chaining- Parameters:
filterRules- New List ofFilterRules- Returns:
- This object for method chaining
-
withFilterRules
Convenience varargs method to set the list ofFilterRules for thisS3KeyFilterand returns this object for method chaining- Parameters:
filterRules- NewFilterRules for thisS3KeyFilter- Returns:
- This object for method chaining
-
addFilterRule
- Parameters:
filterRule- NewFilterRuleto append
-