public void setFilter(Filter filter) {
        this.filter = filter;
    }
Sets the filter criteria for this {@link NotificationConfiguration}.

@param filter
           New {@link Filter}
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/NotificationConfiguration.java